From 8be0e5071dc90006f938b55b646dd29966a34a40 Mon Sep 17 00:00:00 2001 From: Thorsten Behrens Date: Thu, 8 Sep 2016 08:21:05 +0200 Subject: -werror Change-Id: I01085b75d618e1d2f57017832ecb82570b39d095 --- sw/source/filter/xml/XMLRedlineImportHelper.cxx | 4 ++-- 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 & rRange, bool bIsOutsideOfParagraph) +void XMLRedlineImportHelper::InsertWithinParagraph(const OUString& rParaPos, bool /*bStart*/, + Reference & rRange, bool /*bIsOutsideOfParagraph*/) { ::std::map::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; -- cgit v1.2.3