diff options
author | Rüdiger Timm <rt@openoffice.org> | 2003-06-12 06:34:57 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2003-06-12 06:34:57 +0000 |
commit | f39537b17a44ae543c6ad6ffd2e354f0ed9a1d9a (patch) | |
tree | 52d44c66c07b227d4c801e7c4b2b19870ffc003c /xmloff/source/text/XMLChangeImportContext.cxx | |
parent | 20638fb3a228002105a1657a6bfbed2a0684f0f8 (diff) |
INTEGRATION: CWS sw016 (1.5.130); FILE MERGED
2003/05/27 13:46:26 dvo 1.5.130.1: #i14863# fixed references to stack-allocated objects
Diffstat (limited to 'xmloff/source/text/XMLChangeImportContext.cxx')
-rw-r--r-- | xmloff/source/text/XMLChangeImportContext.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/xmloff/source/text/XMLChangeImportContext.cxx b/xmloff/source/text/XMLChangeImportContext.cxx index 1270f58f876e..67719a319fde 100644 --- a/xmloff/source/text/XMLChangeImportContext.cxx +++ b/xmloff/source/text/XMLChangeImportContext.cxx @@ -2,9 +2,9 @@ * * $RCSfile: XMLChangeImportContext.cxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: dvo $ $Date: 2001-11-30 17:43:02 $ + * last change: $Author: rt $ $Date: 2003-06-12 07:34:57 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -133,18 +133,18 @@ void XMLChangeImportContext::StartElement( // prepare parameters UniReference<XMLTextImportHelper> rHelper = GetImport().GetTextImport(); - OUString& rID = xAttrList->getValueByIndex(nAttr); + OUString sID = xAttrList->getValueByIndex(nAttr); // call for bStart and bEnd (may both be true) if (bIsStart) - rHelper->RedlineSetCursor(rID,sal_True,bIsOutsideOfParagraph); + rHelper->RedlineSetCursor(sID,sal_True,bIsOutsideOfParagraph); if (bIsEnd) - rHelper->RedlineSetCursor(rID,sal_False,bIsOutsideOfParagraph); + rHelper->RedlineSetCursor(sID,sal_False,bIsOutsideOfParagraph); // outside of paragraph and still open? set open redline ID if (bIsOutsideOfParagraph) { - rHelper->SetOpenRedlineId(rID); + rHelper->SetOpenRedlineId(sID); } } // else: ignore |