summaryrefslogtreecommitdiff
path: root/sw/source/uibase/inc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-10-09 10:38:34 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-10-09 10:39:13 +0100
commit912ecaf565e68d2ca3fb9584712313e712749f75 (patch)
tree62bad4b127b1f97e1e639d2c87a62663eb0126b5 /sw/source/uibase/inc
parentfcf953b8ec8ef9652f12a2cc91e9edc6153c1bb1 (diff)
Resolves: fdo#55546 center ellipsis tooltips that don't fit on screen
Change-Id: Ic44c9032878892fa33c839e5aaac1996e7bed943
Diffstat (limited to 'sw/source/uibase/inc')
-rw-r--r--sw/source/uibase/inc/edtwin.hxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/sw/source/uibase/inc/edtwin.hxx b/sw/source/uibase/inc/edtwin.hxx
index 9871a5cf9ca0..92e758d46569 100644
--- a/sw/source/uibase/inc/edtwin.hxx
+++ b/sw/source/uibase/inc/edtwin.hxx
@@ -286,6 +286,11 @@ public:
void SetUseInputLanguage( bool bNew );
bool IsUseInputLanguage() const { return m_bUseInputLanguage; }
+ /** fdo#55546 cut very long tooltips to 2/3 of the width of the screen
+ via center ellipsis
+ */
+ OUString ClipLongToolTip(const OUString& rTxt);
+
SwFrameControlsManager& GetFrameControlsManager() { return m_aFrameControlsManager; }
SwEditWin(vcl::Window *pParent, SwView &);