[Libreoffice-commits] core.git: sd/source

Ivan Timofeev timofeev.i.s at gmail.com
Fri Feb 22 12:00:19 PST 2013


 sd/source/filter/ppt/pptin.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 5aa1307df6da9f8c17fa01d54be4d4184a31b299
Author: Ivan Timofeev <timofeev.i.s at gmail.com>
Date:   Fri Feb 22 23:57:57 2013 +0400

    fix Search->indexOf change
    
    Change-Id: I64eb8128c5719a5e7601f15367342e98140e0789

diff --git a/sd/source/filter/ppt/pptin.cxx b/sd/source/filter/ppt/pptin.cxx
index 9226f01..0925969 100644
--- a/sd/source/filter/ppt/pptin.cxx
+++ b/sd/source/filter/ppt/pptin.cxx
@@ -115,7 +115,7 @@ SdPPTImport::SdPPTImport( SdDrawDocument* pDocument, SvStream& rDocStream, SvSto
             {
                 OUString aComment;
                 aPropItem.Read( aComment );
-                if ( aComment.indexOf( "Applixware", 0 ) != STRING_NOTFOUND )
+                if ( aComment.indexOf( "Applixware" ) >= 0 )
                 {
                     nImportFlags |= PPT_IMPORTFLAGS_NO_TEXT_ASSERT;
                 }


More information about the Libreoffice-commits mailing list