summaryrefslogtreecommitdiff
path: root/svx/source
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source')
-rw-r--r--svx/source/dialog/connctrl.cxx10
1 files changed, 7 insertions, 3 deletions
diff --git a/svx/source/dialog/connctrl.cxx b/svx/source/dialog/connctrl.cxx
index 4cf1d4723378..b2e6d3432d87 100644
--- a/svx/source/dialog/connctrl.cxx
+++ b/svx/source/dialog/connctrl.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: connctrl.cxx,v $
*
- * $Revision: 1.10 $
+ * $Revision: 1.11 $
*
- * last change: $Author: obo $ $Date: 2006-09-17 04:12:21 $
+ * last change: $Author: ihi $ $Date: 2006-11-14 13:14:44 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -66,6 +66,10 @@
#include <svx/sdr/contact/displayinfo.hxx>
#endif
+#ifndef _SV_SVAPP_HXX
+#include <vcl/svapp.hxx>
+#endif
+
/*************************************************************************
|*
|* Ctor SvxXConnectionPreview
@@ -169,7 +173,7 @@ void SvxXConnectionPreview::Construct()
// Groesse anpassen
if( pObjList )
{
- OutputDevice* pOD = pView->GetWin( 0 );
+ OutputDevice* pOD = pView->GetFirstOutputDevice(); // GetWin( 0 );
Rectangle aRect = pObjList->GetAllObjBoundRect();
MapMode aMapMode = GetMapMode();