[Libreoffice-commits] core.git: sfx2/source
Stephan Bergmann
sbergman at redhat.com
Mon Jan 11 14:39:05 PST 2016
sfx2/source/bastyp/fltfnc.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit d1a6c708968327be134cbfd422a3467752546f64
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Mon Jan 11 23:38:38 2016 +0100
loplugin:defaultparams
Change-Id: I919f9f5f9ccb1429624f9c8e75574fec71a2b370
diff --git a/sfx2/source/bastyp/fltfnc.cxx b/sfx2/source/bastyp/fltfnc.cxx
index 6edc51d..863b736 100644
--- a/sfx2/source/bastyp/fltfnc.cxx
+++ b/sfx2/source/bastyp/fltfnc.cxx
@@ -1069,7 +1069,7 @@ void SfxFilterContainer::ReadSingleFilter_Impl(
// register SfxFilter
// first erase module name from old filter names!
// e.g: "scalc: DIF" => "DIF"
- sal_Int32 nStartRealName = sFilterName.indexOf( ": ", 0 );
+ sal_Int32 nStartRealName = sFilterName.indexOf( ": " );
if( nStartRealName != -1 )
{
SAL_WARN( "sfx.bastyp", "Old format, not supported!");
More information about the Libreoffice-commits
mailing list