summaryrefslogtreecommitdiff
path: root/sw/source/core
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2003-09-11 08:39:37 +0000
committerKurt Zenker <kz@openoffice.org>2003-09-11 08:39:37 +0000
commit286c350159bd924ec15495122e5a993dca5f22a6 (patch)
tree0f50d0221f2f0e6c1f35c0a17ab991d481d30cf5 /sw/source/core
parent898834e34685cbccbb58b92fdac1a03d2a662f8f (diff)
INTEGRATION: CWS OS18 (1.3.188); FILE MERGED
2003/08/29 07:59:26 os 1.3.188.3: #i11339# comment added 2003/08/29 07:57:41 os 1.3.188.2: #i11339# change footnote to endnote or vice versa -> dispose UNO wrapper 2003/08/28 09:43:24 os 1.3.188.1: #i11339# SwDoc::SetCurFtn(): call SetModified!
Diffstat (limited to 'sw/source/core')
-rw-r--r--sw/source/core/doc/docftn.cxx8
1 files changed, 6 insertions, 2 deletions
diff --git a/sw/source/core/doc/docftn.cxx b/sw/source/core/doc/docftn.cxx
index 1ec8e059ee24..51f0025544f2 100644
--- a/sw/source/core/doc/docftn.cxx
+++ b/sw/source/core/doc/docftn.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: docftn.cxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: vg $ $Date: 2003-04-17 13:50:08 $
+ * last change: $Author: kz $ $Date: 2003-09-11 09:39:37 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -491,6 +491,9 @@ BOOL SwDoc::SetCurFtn( const SwPaM& rPam, const String& rNumStr,
((SwFmtFtn&)rFtn).SetEndNote( bIsEndNote );
bTypeChgd = TRUE;
pTxtFtn->CheckCondColl();
+ //#i11339# dispose UNO wrapper when a footnote is changed to an endnote or vice versa
+ SwPtrMsgPoolItem aMsgHint( RES_FOOTNOTE_DELETED, (void*)&pTxtFtn->GetAttr() );
+ GetUnoCallBack()->Modify( &aMsgHint, &aMsgHint );
}
}
}
@@ -540,6 +543,7 @@ BOOL SwDoc::SetCurFtn( const SwPaM& rPam, const String& rNumStr,
}
else if( GetRootFrm() )
GetRootFrm()->UpdateFtnNums();
+ SetModified();
}
else
delete pUndo;