summaryrefslogtreecommitdiff
path: root/svx/source/svdraw
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2008-11-19 17:43:08 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2008-11-19 17:43:08 +0000
commitc41efc6d0b2740be4243fd696385f8dbcec0aefe (patch)
tree2caf4d37a6cfe59a14f2ac565aca279c8cdb981c /svx/source/svdraw
parenta29935a32d0daddde35a60c853f7606b61c86262 (diff)
CWS-TOOLING: integrate CWS dba301a_DEV300
Diffstat (limited to 'svx/source/svdraw')
-rw-r--r--svx/source/svdraw/svdpntv.cxx15
1 files changed, 15 insertions, 0 deletions
diff --git a/svx/source/svdraw/svdpntv.cxx b/svx/source/svdraw/svdpntv.cxx
index da0f28cce54c..80419733749b 100644
--- a/svx/source/svdraw/svdpntv.cxx
+++ b/svx/source/svdraw/svdpntv.cxx
@@ -36,6 +36,7 @@
#include <sdrpaintwindow.hxx>
#include <goodies/grfmgr.hxx>
#include <svx/svdmodel.hxx>
+#include <svx/fmview.hxx>
#ifdef DBG_UTIL
#include <svdibrow.hxx>
@@ -867,6 +868,13 @@ SdrPaintWindow* SdrPaintView::BeginCompleteRedraw(OutputDevice* pOut)
pPaintWindow->setTemporaryTarget(true);
}
+ // the following is a hack, only to be used on the 3.0.1 branch, to prevent becoming
+ // incompatible there
+ // #i94033# / 2008-10-16 / frank.schoenheit@sun.com
+ FmFormView* pMeAsFormView = dynamic_cast< FmFormView* >( this );
+ if ( pMeAsFormView )
+ pMeAsFormView->onBeginCompleteRedraw();
+
return pPaintWindow;
}
@@ -927,6 +935,13 @@ void SdrPaintView::EndCompleteRedraw(SdrPaintWindow& rPaintWindow)
rPaintWindow.OutputPreRenderDevice(rPaintWindow.GetRedrawRegion());
}
}
+
+ // the following is a hack, only to be used on the 3.0.1 branch, to prevent becoming
+ // incompatible there
+ // #i94033# / 2008-10-16 / frank.schoenheit@sun.com
+ FmFormView* pMeAsFormView = dynamic_cast< FmFormView* >( this );
+ if ( pMeAsFormView )
+ pMeAsFormView->onEndCompleteRedraw();
}
////////////////////////////////////////////////////////////////////////////////////////////////////