[Libreoffice-commits] core.git: Branch 'feature/change-tracking' - sw/source xmloff/source

Thorsten Behrens Thorsten.Behrens at CIB.de
Thu Sep 8 06:21:50 UTC 2016


 sw/source/filter/xml/XMLRedlineImportHelper.cxx |    4 ++--
 xmloff/source/text/XMLRedlineExport.cxx         |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 8be0e5071dc90006f938b55b646dd29966a34a40
Author: Thorsten Behrens <Thorsten.Behrens at CIB.de>
Date:   Thu Sep 8 08:21:05 2016 +0200

    -werror
    
    Change-Id: I01085b75d618e1d2f57017832ecb82570b39d095

diff --git a/sw/source/filter/xml/XMLRedlineImportHelper.cxx b/sw/source/filter/xml/XMLRedlineImportHelper.cxx
index f95d944..0b7a4b2 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 731260c..bfb0c8c 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;


More information about the Libreoffice-commits mailing list