[Libreoffice-commits] .: lotuswordpro/source

Caolán McNamara caolan at kemper.freedesktop.org
Fri Apr 8 12:53:52 PDT 2011


 lotuswordpro/source/filter/LotusWordProImportFilter.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit c447c3f01862c810f0d3dca1de7c6b25c3628deb
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Fri Apr 8 16:05:19 2011 +0100

    fix typedetection for deep case

diff --git a/lotuswordpro/source/filter/LotusWordProImportFilter.cxx b/lotuswordpro/source/filter/LotusWordProImportFilter.cxx
index b32888a..374965d 100644
--- a/lotuswordpro/source/filter/LotusWordProImportFilter.cxx
+++ b/lotuswordpro/source/filter/LotusWordProImportFilter.cxx
@@ -315,7 +315,7 @@ OUString SAL_CALL LotusWordProImportFilter::detect( com::sun::star::uno::Sequenc
     throw( com::sun::star::uno::RuntimeException )
 {
 
-    OUString sTypeName = OUString( RTL_CONSTASCII_USTRINGPARAM ( "" ) );
+    OUString sTypeName(RTL_CONSTASCII_USTRINGPARAM("writer_LotusWordPro_Document"));
     sal_Int32 nLength = Descriptor.getLength();
     OUString sURL;
     const PropertyValue * pValue = Descriptor.getConstArray();


More information about the Libreoffice-commits mailing list