summaryrefslogtreecommitdiff
path: root/chart2/source/controller/drawinglayer
diff options
context:
space:
mode:
authorIvo Hinkelmann <ihi@openoffice.org>2006-11-14 14:30:38 +0000
committerIvo Hinkelmann <ihi@openoffice.org>2006-11-14 14:30:38 +0000
commite428877b0aa108afb701a1bbcd719ac10a856529 (patch)
tree5a87b6292f90d57ea5cf205533caa3f3d69f72cd /chart2/source/controller/drawinglayer
parentdd252e8ba8cf0128ae920f049e6a5a39b6c0cb99 (diff)
INTEGRATION: CWS aw024 (1.9.32); FILE MERGED
2006/09/22 03:58:28 aw 1.9.32.6: RESYNC: (1.11-1.12); FILE MERGED 2006/08/03 17:32:26 aw 1.9.32.5: RESYNC: (1.10-1.11); FILE MERGED 2006/07/28 15:59:49 aw 1.9.32.4: #114408# adaptions for SW 2005/09/19 14:01:39 aw 1.9.32.3: RESYNC: (1.9-1.10); FILE MERGED 2005/05/19 12:04:29 aw 1.9.32.2: #i39529# 2005/05/12 16:41:37 aw 1.9.32.1: #i39529#
Diffstat (limited to 'chart2/source/controller/drawinglayer')
-rw-r--r--chart2/source/controller/drawinglayer/DrawViewWrapper.cxx13
1 files changed, 7 insertions, 6 deletions
diff --git a/chart2/source/controller/drawinglayer/DrawViewWrapper.cxx b/chart2/source/controller/drawinglayer/DrawViewWrapper.cxx
index 14a3e5cfa..6bca3224d 100644
--- a/chart2/source/controller/drawinglayer/DrawViewWrapper.cxx
+++ b/chart2/source/controller/drawinglayer/DrawViewWrapper.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: DrawViewWrapper.cxx,v $
*
- * $Revision: 1.12 $
+ * $Revision: 1.13 $
*
- * last change: $Author: obo $ $Date: 2006-09-17 13:00:47 $
+ * last change: $Author: ihi $ $Date: 2006-11-14 15:30:38 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -116,19 +116,20 @@ DrawViewWrapper::DrawViewWrapper( SdrModel* pSdrModel, OutputDevice* pOut)
, m_apOutliner( SdrMakeOutliner( OUTLINERMODE_TEXTOBJECT, pSdrModel ) )
{
// #114898#
- SetBufferedOutputAllowed(sal_True);
+ SetBufferedOutputAllowed(true);
+ SetBufferedOverlayAllowed(true);
ReInit();
}
void DrawViewWrapper::ReInit()
{
- OutputDevice* pOutDev = this->GetWin(0);
+ OutputDevice* pOutDev = this->GetFirstOutputDevice();
Size aOutputSize(100,100);
if(pOutDev)
aOutputSize = pOutDev->GetOutputSize();
- m_pWrappedDLPageView = this->ShowPagePgNum( 0, Point(0,0) );
+ m_pWrappedDLPageView = this->ShowSdrPage(this->GetModel()->GetPage(0));
m_pWrappedDLPageView->GetPage()->SetSize( aOutputSize );
this->SetPageBorderVisible(false);
this->SetBordVisible(false);
@@ -172,7 +173,7 @@ SdrObject* DrawViewWrapper::getHitObject( const Point& rPnt ) const
short nHitTolerance = 50;
{
- OutputDevice* pOutDev = this->GetWin(0);
+ OutputDevice* pOutDev = this->GetFirstOutputDevice();
if(pOutDev)
nHitTolerance = static_cast<short>(pOutDev->PixelToLogic(Size(HITPIX,0)).Width());
}