Kaydet (Commit) 91b5e86d authored tarafından Matteo Casalin's avatar Matteo Casalin

Improve 1a2ee0ec

Change-Id: I50f369f28c3b97ba7fed494cb238b7756920abc6
üst 3c78a19e
......@@ -2439,8 +2439,9 @@ ErrCode GraphicFilter::ExportGraphic( const Graphic& rGraphic, const OUString& r
}
else
{
sal_Int32 nIdx{0};
do {
sal_Int32 nIdx {aFilterPath.isEmpty() ? -1 : 0};
while (nIdx>=0)
{
#ifndef DISABLE_DYNLOADING
OUString aPhysicalName( ImpCreateFullFilterPath( aFilterPath.getToken(0, ';', nIdx), aFilterName ) );
osl::Module aLibrary( aPhysicalName );
......@@ -2471,7 +2472,7 @@ ErrCode GraphicFilter::ExportGraphic( const Graphic& rGraphic, const OUString& r
}
else
nStatus = ERRCODE_GRFILTER_FILTERERROR;
} while (nIdx>=0);
}
}
}
if( nStatus != ERRCODE_NONE )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment