diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-09-09 11:58:29 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-09-09 11:58:54 +0100 |
commit | 7560f765b32bf9969b89b28c6733faa8098f1809 (patch) | |
tree | 36c24f5ed6c1a5446179f72d07f03edfdd642a1d /sfx2/source | |
parent | a8dd49b9fc59371ff8edb31082bbd4f1b6179b1c (diff) |
unify strip previews optimal size in one place
Change-Id: I6ae1073d013c9d9bbca39c505955436cd4950d1b
Diffstat (limited to 'sfx2/source')
-rw-r--r-- | sfx2/source/dialog/dialoghelper.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sfx2/source/dialog/dialoghelper.cxx b/sfx2/source/dialog/dialoghelper.cxx index c3440e6bf5be..cd805006de10 100644 --- a/sfx2/source/dialog/dialoghelper.cxx +++ b/sfx2/source/dialog/dialoghelper.cxx @@ -67,6 +67,11 @@ Size getDrawListBoxOptimalSize(const Window *pReference) return pReference->LogicToPixel(Size(88, 110), MAP_APPFONT); } +Size SFX2_DLLPUBLIC getPreviewStripSize(const Window *pReference) +{ + return pReference->LogicToPixel(Size(70 , 40), MapMode(MAP_APPFONT)); +} + OUString SFX2_DLLPUBLIC getWidestTime(const LocaleDataWrapper& rWrapper) { Date aDate(22, 12, 2000); |