diff options
author | Thorsten Behrens <Thorsten.Behrens@CIB.de> | 2016-09-08 08:21:05 +0200 |
---|---|---|
committer | Thorsten Behrens <Thorsten.Behrens@CIB.de> | 2016-09-08 08:21:05 +0200 |
commit | 8be0e5071dc90006f938b55b646dd29966a34a40 (patch) | |
tree | 2e50fc00b22d19ccfabf8e352d3d4e9c23243dbc | |
parent | cc046697174c878d184e183a1aa28a1167ede6f9 (diff) |
-werrorfeature/change-tracking
Change-Id: I01085b75d618e1d2f57017832ecb82570b39d095
-rw-r--r-- | sw/source/filter/xml/XMLRedlineImportHelper.cxx | 4 | ||||
-rw-r--r-- | xmloff/source/text/XMLRedlineExport.cxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/filter/xml/XMLRedlineImportHelper.cxx b/sw/source/filter/xml/XMLRedlineImportHelper.cxx index f95d944bc579..0b7a4b24589b 100644 --- a/sw/source/filter/xml/XMLRedlineImportHelper.cxx +++ b/sw/source/filter/xml/XMLRedlineImportHelper.cxx @@ -503,8 +503,8 @@ bool XMLRedlineImportHelper::Check( return false; } -void XMLRedlineImportHelper::InsertWithinParagraph(const OUString& rParaPos, bool bStart, - Reference<XTextRange> & rRange, bool bIsOutsideOfParagraph) +void XMLRedlineImportHelper::InsertWithinParagraph(const OUString& rParaPos, bool /*bStart*/, + Reference<XTextRange> & rRange, bool /*bIsOutsideOfParagraph*/) { ::std::map<OUString, RedlineInfo*>::iterator aFind = aRedlineMap[rParaPos].begin(); for( ; aRedlineMap[rParaPos].end() != aFind; ++aFind ) diff --git a/xmloff/source/text/XMLRedlineExport.cxx b/xmloff/source/text/XMLRedlineExport.cxx index 731260c9b374..bfb0c8cbb3f0 100644 --- a/xmloff/source/text/XMLRedlineExport.cxx +++ b/xmloff/source/text/XMLRedlineExport.cxx @@ -149,7 +149,7 @@ void XMLRedlineExport::ExportUndoChangedRegion( OUString sType; aAny >>= sType; - sal_uInt32 nCharStart, nCharEnd; + sal_uInt32 nCharStart=0, nCharEnd=0; sal_uInt32 nTextDelCount = rExport.GetTextParagraphExport()->getTextDelCount(); rPropSet->getPropertyValue(sRedlineUndoStart) >>= nCharStart; rPropSet->getPropertyValue(sRedlineUndoEnd) >>= nCharEnd; |