diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-07-26 17:09:20 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-07-26 17:11:56 +0100 |
commit | 902276557566bbcbcef7e8de4d119196fdcfa345 (patch) | |
tree | 845f8be0300bada6b6e3515326d853648da3939e /sfx2 | |
parent | 6d21d95f2d24a4f1fd0be5e754953f6cf718e56a (diff) |
stash rather arbitrary widget sizes in one place
Change-Id: I26cc3185d6abbce516f7c7d9243962b873587859
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/dialog/dialoghelper.cxx | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sfx2/source/dialog/dialoghelper.cxx b/sfx2/source/dialog/dialoghelper.cxx index e0ac93107780..c3440e6bf5be 100644 --- a/sfx2/source/dialog/dialoghelper.cxx +++ b/sfx2/source/dialog/dialoghelper.cxx @@ -57,6 +57,16 @@ Size getParagraphPreviewOptimalSize(const Window *pReference) return pReference->LogicToPixel(Size(68 , 112), MAP_APPFONT); } +Size getDrawPreviewOptimalSize(const Window *pReference) +{ + return pReference->LogicToPixel(Size(88, 42), MAP_APPFONT); +} + +Size getDrawListBoxOptimalSize(const Window *pReference) +{ + return pReference->LogicToPixel(Size(88, 110), MAP_APPFONT); +} + OUString SFX2_DLLPUBLIC getWidestTime(const LocaleDataWrapper& rWrapper) { Date aDate(22, 12, 2000); |