summaryrefslogtreecommitdiff
path: root/sfx2/source/dialog/titledockwin.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-01-19 11:23:54 +0000
committerCaolán McNamara <caolanm@redhat.com>2017-01-19 15:13:28 +0000
commit9db8c85f75f1d0bc76aa1a77cd118b72d188e8b1 (patch)
treea1e35c3ebb79f52c363ce3894f73afa29d1470d3 /sfx2/source/dialog/titledockwin.cxx
parentaa347e360c87651da647c12d444429a3c401c37d (diff)
sfx2: load BitmapEx resources instead of Image ones
Change-Id: I9c5a0f1b23eadf15fee3ff78e5061474214fcc35
Diffstat (limited to 'sfx2/source/dialog/titledockwin.cxx')
-rw-r--r--sfx2/source/dialog/titledockwin.cxx4
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 );
}