diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-06-13 09:44:26 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-06-13 09:50:53 +0100 |
commit | e88c019fba743999c7b5f31adc5ff5946649734b (patch) | |
tree | ce006e4e44ac45f87391de5393e5d82fee6ad45c /desktop/source/deployment/gui/dp_gui_extlistbox.cxx | |
parent | 2278e8f80e3d06829a120e57c38e36118f8778f1 (diff) |
convert extensions update required dialog to .ui
Change-Id: Ia3ad4032f500e95db5db520292e6c8b07b0f5c0b
Diffstat (limited to 'desktop/source/deployment/gui/dp_gui_extlistbox.cxx')
-rw-r--r-- | desktop/source/deployment/gui/dp_gui_extlistbox.cxx | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/desktop/source/deployment/gui/dp_gui_extlistbox.cxx b/desktop/source/deployment/gui/dp_gui_extlistbox.cxx index a67eb9514263..7e8a9b65ffc6 100644 --- a/desktop/source/deployment/gui/dp_gui_extlistbox.cxx +++ b/desktop/source/deployment/gui/dp_gui_extlistbox.cxx @@ -862,6 +862,15 @@ void ExtensionBox_Impl::Resize() RecalcAll(); } +Size ExtensionBox_Impl::GetOptimalSize() const +{ + return LogicToPixel(Size(250, 150), MAP_APPFONT); +} + +extern "C" SAL_DLLPUBLIC_EXPORT Window* SAL_CALL makeExtensionBox(Window *pParent, VclBuilder::stringmap &) +{ + return new ExtensionBox_Impl(pParent); +} long ExtensionBox_Impl::PointToPos( const Point& rPos ) { |