summaryrefslogtreecommitdiff
path: root/sfx2/source/dialog/titledockwin.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/dialog/titledockwin.cxx')
-rw-r--r--sfx2/source/dialog/titledockwin.cxx7
1 files changed, 1 insertions, 6 deletions
diff --git a/sfx2/source/dialog/titledockwin.cxx b/sfx2/source/dialog/titledockwin.cxx
index 642aabbb0d68..ed5940cace31 100644
--- a/sfx2/source/dialog/titledockwin.cxx
+++ b/sfx2/source/dialog/titledockwin.cxx
@@ -251,12 +251,7 @@ namespace sfx2
// Get the closer bitmap and set it as right most button.
Image aImage( SfxResId( SFX_IMG_CLOSE_DOC ) );
- Image aImageHC( SfxResId( SFX_IMG_CLOSE_DOC_HC ) );
- m_aToolbox.InsertItem( 1,
- GetSettings().GetStyleSettings().GetHighContrastMode()
- ? aImageHC
- : aImage
- );
+ m_aToolbox.InsertItem( 1, aImage );
m_aToolbox.ShowItem( 1 );
}