diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-04-27 11:22:39 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-04-27 13:29:58 +0100 |
commit | 34bdbcecf18990c8cc6830c7f8dec7078d0a6f18 (patch) | |
tree | a8a5cc1e63bd6ee6c69522101f269c0b761f75f9 /sdext/source | |
parent | 6fc5a80009d7426c30d2b9656f76549536b45bb0 (diff) |
can detangle the sdext graphic resource now
Change-Id: I2992b859bbebfa4bfae3ea5bfe76e8aa62193f69
Diffstat (limited to 'sdext/source')
-rw-r--r-- | sdext/source/minimizer/optimizerdialog.cxx | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/sdext/source/minimizer/optimizerdialog.cxx b/sdext/source/minimizer/optimizerdialog.cxx index c72b44a12ad7..43c848050386 100644 --- a/sdext/source/minimizer/optimizerdialog.cxx +++ b/sdext/source/minimizer/optimizerdialog.cxx @@ -30,7 +30,7 @@ #include <sal/macros.h> #include <osl/time.h> #include <tools/urlobj.hxx> - +#include "bitmaps.hlst" using namespace ::com::sun::star::io; using namespace ::com::sun::star::ui; @@ -112,10 +112,7 @@ void OptimizerDialog::InitRoadmap() InsertRoadmapItem( 3, getString( STR_OLE_OBJECTS ), ITEM_ID_OLE_OPTIMIZATION ); InsertRoadmapItem( 4, getString( STR_SUMMARY ), ITEM_ID_SUMMARY ); - // Well, that's messy, but the - // BMP_PRESENTATION_MINIMIZER from sd module cannot be used here directly - // that UNO wizard dialog should be converted to ui - OUString sURL( "private:graphicrepository/sd/res/minimize_presi_80.png" ); + OUString sURL("private:graphicrepository/" + OUString(BMP_PRESENTATION_MINIMIZER)); xPropertySet->setPropertyValue( "ImageURL", Any( sURL ) ); xPropertySet->setPropertyValue( "Activated", Any( true ) ); |