summaryrefslogtreecommitdiff
path: root/desktop/source/deployment/gui/dp_gui_extlistbox.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-06-13 09:44:26 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-06-13 09:50:53 +0100
commite88c019fba743999c7b5f31adc5ff5946649734b (patch)
treece006e4e44ac45f87391de5393e5d82fee6ad45c /desktop/source/deployment/gui/dp_gui_extlistbox.cxx
parent2278e8f80e3d06829a120e57c38e36118f8778f1 (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.cxx9
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 )
{