summaryrefslogtreecommitdiff
path: root/svx/source/dialog/imapwnd.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/dialog/imapwnd.cxx')
-rw-r--r--svx/source/dialog/imapwnd.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/svx/source/dialog/imapwnd.cxx b/svx/source/dialog/imapwnd.cxx
index 3b62e39595af..67fe824c34b2 100644
--- a/svx/source/dialog/imapwnd.cxx
+++ b/svx/source/dialog/imapwnd.cxx
@@ -75,6 +75,11 @@ IMapWindow::~IMapWindow()
delete[] pItemInfo;
}
+Size IMapWindow::GetOptimalSize() const
+{
+ return LogicToPixel(Size(270, 170), MAP_APPFONT);
+}
+
void IMapWindow::SetImageMap( const ImageMap& rImageMap )
{
ReplaceImageMap( rImageMap, false );