summaryrefslogtreecommitdiff
path: root/toolkit
diff options
context:
space:
mode:
authorJoachim Tremouroux <joachim.tremouroux@gmail.com>2010-12-09 19:15:20 +0000
committerMichael Meeks <michael.meeks@novell.com>2010-12-09 19:17:24 +0000
commit21586bef356833d882eeb37004af5bc99c3a27ed (patch)
tree28be76bbbc69cc6245fe4478a98346f6a081084a /toolkit
parent63b6b6d852d934ac3e83bb8490a57f2d516ca57d (diff)
finish cleanup of missing icon handling code
Diffstat (limited to 'toolkit')
-rw-r--r--toolkit/source/layout/core/helper.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolkit/source/layout/core/helper.cxx b/toolkit/source/layout/core/helper.cxx
index 99957e955459..8a196e6bda7b 100644
--- a/toolkit/source/layout/core/helper.cxx
+++ b/toolkit/source/layout/core/helper.cxx
@@ -595,7 +595,7 @@ uno::Reference< graphic::XGraphic > loadGraphic( const char *pName )
if ( aStr.compareToAscii( ".uno:" ) == 0 )
aStr = aStr.copy( 5 ).toAsciiLowerCase();
- if ( !vcl::ImageRepository::loadImage( OUString::createFromAscii( pName ), aBmp, true ) )
+ if ( !vcl::ImageRepository::loadImage( OUString::createFromAscii( pName ), aBmp, true, true ) )
return uno::Reference< graphic::XGraphic >();
return Graphic( aBmp ).GetXGraphic();