summaryrefslogtreecommitdiff
path: root/svx/source/engine3d/float3d.cxx
diff options
context:
space:
mode:
authorArmin Weiss <aw@openoffice.org>2001-02-16 09:28:45 +0000
committerArmin Weiss <aw@openoffice.org>2001-02-16 09:28:45 +0000
commitb1620e2293fe02a434e04a1b698104fde131be7d (patch)
tree35abfbdded29d2f1d94aab8558949c26a48301ca /svx/source/engine3d/float3d.cxx
parent467204178351d6e7ee6dcdd277881f595d0f67ab (diff)
#83951# Added DocumentReload() to 3D flyer. The flyer needs to throw
away it's latest buffered ItemSet which uses the ItemPool of the document when the doc is (re)loaded.
Diffstat (limited to 'svx/source/engine3d/float3d.cxx')
-rw-r--r--svx/source/engine3d/float3d.cxx13
1 files changed, 11 insertions, 2 deletions
diff --git a/svx/source/engine3d/float3d.cxx b/svx/source/engine3d/float3d.cxx
index 651fbd6cbea3..41918926fb36 100644
--- a/svx/source/engine3d/float3d.cxx
+++ b/svx/source/engine3d/float3d.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: float3d.cxx,v $
*
- * $Revision: 1.9 $
+ * $Revision: 1.10 $
*
- * last change: $Author: aw $ $Date: 2001-02-07 13:33:09 $
+ * last change: $Author: aw $ $Date: 2001-02-16 10:28:44 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -3510,6 +3510,15 @@ void Svx3DWin::UpdatePreview()
aCtlFavorites.SetNoSelection();
}
+//////////////////////////////////////////////////////////////////////////////
+// document is to be reloaded, destroy remembered ItemSet (#83951#)
+void Svx3DWin::DocumentReload()
+{
+ if(mpRemember2DAttributes)
+ delete mpRemember2DAttributes;
+ mpRemember2DAttributes = 0L;
+}
+
// -----------------------------------------------------------------------
void Svx3DWin::InitColorLB( const SdrModel* pDoc )
{