summaryrefslogtreecommitdiff
path: root/sw/source/core/view/vdraw.cxx
diff options
context:
space:
mode:
authorOliver-Rainer Wittmann <od@openoffice.org>2011-03-16 11:02:32 +0100
committerOliver-Rainer Wittmann <od@openoffice.org>2011-03-16 11:02:32 +0100
commit970ab411dd018c7c6159f073aca5927de8c52980 (patch)
tree3f48689f19523a1230207a30c5623b666e10a3c2 /sw/source/core/view/vdraw.cxx
parent53155997b9d8b8c1043e0e81a30542c5dae495dc (diff)
sw34bf05: #i76669# - reestablish call-back DrawingLayer to Writer in order to let the Writer decide, if a certain draing object should be drawn or not.
Diffstat (limited to 'sw/source/core/view/vdraw.cxx')
-rwxr-xr-x[-rw-r--r--]sw/source/core/view/vdraw.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/sw/source/core/view/vdraw.cxx b/sw/source/core/view/vdraw.cxx
index c9581d26251f..cec333d0397d 100644..100755
--- a/sw/source/core/view/vdraw.cxx
+++ b/sw/source/core/view/vdraw.cxx
@@ -182,7 +182,8 @@ void SwViewImp::PaintLayer( const SdrLayerID _nLayerID,
SwPrintData const*const pPrintData,
const SwRect& ,
const Color* _pPageBackgrdColor,
- const bool _bIsPageRightToLeft ) const
+ const bool _bIsPageRightToLeft,
+ sdr::contact::ViewObjectContactRedirector* pRedirector ) const
{
if ( HasDrawView() )
{
@@ -232,7 +233,7 @@ void SwViewImp::PaintLayer( const SdrLayerID _nLayerID,
SdrView &rSdrView = const_cast< SdrView & >(GetPageView()->GetView());
rSdrView.setHideDraw( !pPrintData->IsPrintDraw() );
}
- GetPageView()->DrawLayer(_nLayerID, pOutDev);
+ GetPageView()->DrawLayer( _nLayerID, pOutDev, pRedirector );
pOutDev->Pop();
// OD 29.08.2002 #102450#