summaryrefslogtreecommitdiff
path: root/sw/source/core/fields/ddetbl.cxx
diff options
context:
space:
mode:
authorMathias Bauer <mba@openoffice.org>2010-12-21 19:33:34 +0100
committerMathias Bauer <mba@openoffice.org>2010-12-21 19:33:34 +0100
commit09d6c9a395b8849e3e09c694282a1446b786bf80 (patch)
tree2679219635044f2ce5fba49309555db74432b002 /sw/source/core/fields/ddetbl.cxx
parent3144cdca91c66439f241ba972904632900f86022 (diff)
CWS swlayoutrefactoring: #i115510#: use boost::noncopyable for SwClient; move some code from client iterations into SwClientNotify calls
Diffstat (limited to 'sw/source/core/fields/ddetbl.cxx')
-rw-r--r--sw/source/core/fields/ddetbl.cxx10
1 files changed, 9 insertions, 1 deletions
diff --git a/sw/source/core/fields/ddetbl.cxx b/sw/source/core/fields/ddetbl.cxx
index f7764ed2ebca..fb9bdaaaaeb5 100644
--- a/sw/source/core/fields/ddetbl.cxx
+++ b/sw/source/core/fields/ddetbl.cxx
@@ -39,7 +39,7 @@
#include <ndindex.hxx>
#include <fldupde.hxx>
#include <swtblfmt.hxx>
-
+#include <fieldhint.hxx>
TYPEINIT1( SwDDETable, SwTable );
@@ -101,6 +101,14 @@ void SwDDETable::Modify( const SfxPoolItem* pOld, const SfxPoolItem* pNew )
SwTable::Modify( pOld, pNew );
}
+void SwDDETable::SwClientNotify( const SwModify&, const SfxHint& rHint )
+{
+ const SwFieldHint* pHint = dynamic_cast<const SwFieldHint*>( &rHint );
+ if ( pHint )
+ // replace DDETable by real table
+ NoDDETable();
+}
+
void SwDDETable::ChangeContent()
{
ASSERT( GetFrmFmt(), "Kein FrameFormat" );