diff options
Diffstat (limited to 'sfx2/source/dialog/titledockwin.cxx')
-rw-r--r-- | sfx2/source/dialog/titledockwin.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/dialog/titledockwin.cxx b/sfx2/source/dialog/titledockwin.cxx index c084cbcd267c..5299973e9705 100644 --- a/sfx2/source/dialog/titledockwin.cxx +++ b/sfx2/source/dialog/titledockwin.cxx @@ -214,8 +214,8 @@ namespace sfx2 m_aToolbox->Clear(); // Get the closer bitmap and set it as right most button. - Image aImage( SfxResId( SFX_IMG_CLOSE_DOC ) ); - m_aToolbox->InsertItem( 1, aImage ); + BitmapEx aBitmapEx(SfxResId(SFX_BMP_CLOSE_DOC)); + m_aToolbox->InsertItem(1, Image(aBitmapEx)); m_aToolbox->ShowItem( 1 ); } |