summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2017-08-06 16:34:46 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2017-08-15 04:04:10 +0200
commitbebaac5eb6ebd2db3e1ea22b1630111343a9c25c (patch)
tree1787d37ef88f90c82c023cd374927ea249257d06 /sfx2
parent46aba1db9a8e43da03f4db580b8dc9de7b850b00 (diff)
tdf#100864 Assign a tooltip to the button to close pane
which appears at the top-right corner of both Impress's Slide Pane and Draw's Page Pane. Change-Id: Ida52ccc35e42546cd6260001e22335b04608034d Reviewed-on: https://gerrit.libreoffice.org/40803 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Takeshi Abe <tabe@fixedpoint.jp>
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/dialog/titledockwin.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sfx2/source/dialog/titledockwin.cxx b/sfx2/source/dialog/titledockwin.cxx
index 8b43c8c23fb4..f7ba40f5311a 100644
--- a/sfx2/source/dialog/titledockwin.cxx
+++ b/sfx2/source/dialog/titledockwin.cxx
@@ -217,6 +217,7 @@ namespace sfx2
// Get the closer bitmap and set it as right most button.
BitmapEx aBitmapEx(SFX_BMP_CLOSE_DOC);
m_aToolbox->InsertItem(1, Image(aBitmapEx));
+ m_aToolbox->SetQuickHelpText(1, SfxResId(STR_CLOSE_PANE));
m_aToolbox->ShowItem( 1 );
}