diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-05-25 01:39:52 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-05-25 02:04:19 -0400 |
commit | f0cb3e97d2f9b5592837903d8d8ed8aaeb130c55 (patch) | |
tree | a49374b9d156fdaddce66750a84753364edac10c /sc/source/ui | |
parent | d6b68db264930528cf7ba3111f6f664fca10cfe3 (diff) |
Removed writer_Text type; combined it with generic_Text.
Change-Id: Id7d5744af4800ef5ac6bd70b97f79a76299a2e6b
Diffstat (limited to 'sc/source/ui')
-rw-r--r-- | sc/source/ui/vba/vbaworkbooks.cxx | 5 |
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 |