From 5aa1307df6da9f8c17fa01d54be4d4184a31b299 Mon Sep 17 00:00:00 2001 From: Ivan Timofeev Date: Fri, 22 Feb 2013 23:57:57 +0400 Subject: fix Search->indexOf change Change-Id: I64eb8128c5719a5e7601f15367342e98140e0789 --- sd/source/filter/ppt/pptin.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sd') diff --git a/sd/source/filter/ppt/pptin.cxx b/sd/source/filter/ppt/pptin.cxx index 9226f01f4f91..0925969cca51 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; } -- cgit v1.2.3