summaryrefslogtreecommitdiff
path: root/sw/inc
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2013-06-19 20:52:11 +0200
committerMichael Stahl <mstahl@redhat.com>2013-06-20 00:34:38 +0200
commite012f326c1c32c053304998a6826cb322f2c7728 (patch)
tree6738393ea746d4407a013d4e4feebe7ca8346edc /sw/inc
parente3e2cf30373446e5511b12467e3b8008311c81c2 (diff)
sw: implement proper Undo for SwDoc::UpdateRsid
This is annoying because it's not possible to use StartUndo/EndUndo because that would break grouping via SwUndoInsert::CanGrouping(); also SwUndoAttr is somehow incapable of removing the inserted hints of a grouped insert (it seems to leave no-length hints behind); so add an explicit call to DeleteAttributes which should avoid the no-length hints. Change-Id: I1533daed9b2cf59886f380141b4eace4b22c15e0
Diffstat (limited to 'sw/inc')
-rw-r--r--sw/inc/doc.hxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/sw/inc/doc.hxx b/sw/inc/doc.hxx
index ee667453cabe..e3eeb61f9f5a 100644
--- a/sw/inc/doc.hxx
+++ b/sw/inc/doc.hxx
@@ -866,7 +866,6 @@ public:
virtual bool Overwrite(const SwPaM &rRg, const String& rStr);
virtual bool InsertString(const SwPaM &rRg, const String&,
const enum InsertFlags nInsertMode = INS_EMPTYEXPAND );
- virtual bool UpdateRsid( SwTxtNode *pTxtNode, xub_StrLen nStt, xub_StrLen nEnd );
virtual bool UpdateParRsid( SwTxtNode *pTxtNode, sal_uInt32 nVal = 0 );
virtual bool UpdateRsid( const SwPaM &rRg, xub_StrLen nLen );
virtual SwFlyFrmFmt* Insert(const SwPaM &rRg, const String& rGrfName, const String& rFltName, const Graphic* pGraphic,