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 /svx | |
parent | 6d21d95f2d24a4f1fd0be5e754953f6cf718e56a (diff) |
stash rather arbitrary widget sizes in one place
Change-Id: I26cc3185d6abbce516f7c7d9243962b873587859
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/dialog/dlgctrl.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/svx/source/dialog/dlgctrl.cxx b/svx/source/dialog/dlgctrl.cxx index cc88c154356f..00c0b5081778 100644 --- a/svx/source/dialog/dlgctrl.cxx +++ b/svx/source/dialog/dlgctrl.cxx @@ -96,6 +96,10 @@ SvxRectCtl::SvxRectCtl(Window* pParent, RECT_POINT eRpt, Resize_Impl(); } +Size SvxRectCtl::GetOptimalSize() const +{ + return LogicToPixel(Size(39, 39), MAP_APPFONT); +} extern "C" SAL_DLLPUBLIC_EXPORT Window* SAL_CALL makeSvxRectCtl(Window *pParent, VclBuilder::stringmap &) { |