diff options
author | David Ostrovsky <david@ostrovsky.org> | 2013-10-15 17:37:59 +0200 |
---|---|---|
committer | David Ostrovsky <David.Ostrovsky@gmx.de> | 2013-10-15 15:50:12 +0000 |
commit | cc2a405915e82c4b332dd25457f76704dc536d7f (patch) | |
tree | 290c6e45acd5f7a0758ed6b5ff6481ffd4ae82d2 /sdext | |
parent | 1b0f568853a04158d69e49edbc77a0f3464e5fa1 (diff) |
fdo#61950 De-extensionize presentation minimizer: post clean
Change-Id: I7d21f1d67b13fcd83792503e8c72ccf16fbda1ec
Reviewed-on: https://gerrit.libreoffice.org/6247
Reviewed-by: David Ostrovsky <David.Ostrovsky@gmx.de>
Tested-by: David Ostrovsky <David.Ostrovsky@gmx.de>
Diffstat (limited to 'sdext')
-rw-r--r-- | sdext/source/minimizer/optimizerdialog.cxx | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sdext/source/minimizer/optimizerdialog.cxx b/sdext/source/minimizer/optimizerdialog.cxx index b104de7209e4..47605277b12f 100644 --- a/sdext/source/minimizer/optimizerdialog.cxx +++ b/sdext/source/minimizer/optimizerdialog.cxx @@ -104,7 +104,7 @@ void OptimizerDialog::InitRoadmap() sal_Int32 nCount = SAL_N_ELEMENTS( pNames ); Sequence< OUString > aNames( pNames, nCount ); - Sequence< Any > aValues( pValues, nCount ); + Sequence< Any > aValues( pValues, nCount ); mxRoadmapControlModel = insertControlModel( OUString( "com.sun.star.awt.UnoControlRoadmapModel" ), "rdmNavi", aNames, aValues ); @@ -118,9 +118,10 @@ void OptimizerDialog::InitRoadmap() InsertRoadmapItem( 3, sal_True, getString( STR_OLE_OBJECTS ), ITEM_ID_OLE_OPTIMIZATION ); InsertRoadmapItem( 4, sal_True, getString( STR_SUMMARY ), ITEM_ID_SUMMARY ); - OUString sBitmapPath( getPath( "BitmapPath" ) ); - OUString sBitmap( "/minimizepresi_80.png" ); - OUString sURL( sBitmapPath += sBitmap ); + // 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" ); xPropertySet->setPropertyValue( "ImageURL", Any( sURL ) ); xPropertySet->setPropertyValue( "Activated", Any( (sal_Bool)sal_True ) ); |