summaryrefslogtreecommitdiffstats
path: root/sc
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2012-05-25 01:39:52 -0400
committerKohei Yoshida <kohei.yoshida@gmail.com>2012-05-25 02:04:19 -0400
commitf0cb3e97d2f9b5592837903d8d8ed8aaeb130c55 (patch)
treea49374b9d156fdaddce66750a84753364edac10c /sc
parentRenamed calc_Text_text_csv_StarCalc type to generic_Text. (diff)
downloadcore-f0cb3e97d2f9b5592837903d8d8ed8aaeb130c55.tar.gz
core-f0cb3e97d2f9b5592837903d8d8ed8aaeb130c55.zip
Removed writer_Text type; combined it with generic_Text.
Change-Id: Id7d5744af4800ef5ac6bd70b97f79a76299a2e6b
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/vba/vbaworkbooks.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/sc/source/ui/vba/vbaworkbooks.cxx b/sc/source/ui/vba/vbaworkbooks.cxx
index 2d2b0424a890..00461b120865 100644
--- a/sc/source/ui/vba/vbaworkbooks.cxx
+++ b/sc/source/ui/vba/vbaworkbooks.cxx
@@ -194,10 +194,9 @@ ScVbaWorkbooks::isTextFile( const rtl::OUString& sType )
// b) a csv file
// c) unknown
// returning true basically means treat this like a csv file
- const static rtl::OUString txtType( RTL_CONSTASCII_USTRINGPARAM("writer_Text" ) );
- const static rtl::OUString csvType("generic_Text");
+ const static rtl::OUString txtType("generic_Text");
const static rtl::OUString encodedTxtType( RTL_CONSTASCII_USTRINGPARAM("writer_Text_encoded" ) );
- return sType.equals( txtType ) || sType.equals( csvType ) || sType.isEmpty() || sType.equals( encodedTxtType );
+ return sType.equals( txtType ) || sType.isEmpty() || sType.equals( encodedTxtType );
}
bool