summaryrefslogtreecommitdiff
path: root/sdext/source/minimizer/graphiccollector.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sdext/source/minimizer/graphiccollector.cxx')
-rw-r--r--sdext/source/minimizer/graphiccollector.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sdext/source/minimizer/graphiccollector.cxx b/sdext/source/minimizer/graphiccollector.cxx
index 5bed8bed9d14..5e5e5f5a7967 100644
--- a/sdext/source/minimizer/graphiccollector.cxx
+++ b/sdext/source/minimizer/graphiccollector.cxx
@@ -74,7 +74,7 @@ void ImpAddEntity( std::vector< GraphicCollector::GraphicEntity >& rGraphicEntit
const rtl::OUString aGraphicURL( rUser.maGraphicURL );
const rtl::OUString sPackageURL( RTL_CONSTASCII_USTRINGPARAM("vnd.sun.star.GraphicObject:") );
- if ( rGraphicSettings.mbEmbedLinkedGraphics || ( !aGraphicURL.getLength() || aGraphicURL.match( sPackageURL, 0 ) ) )
+ if ( rGraphicSettings.mbEmbedLinkedGraphics || (aGraphicURL.isEmpty() || aGraphicURL.match( sPackageURL, 0 ) ) )
{
std::vector< GraphicCollector::GraphicEntity >::iterator aIter( rGraphicEntities.begin() );
while( aIter != rGraphicEntities.end() )