[Libreoffice-commits] core.git: Branch 'private/swe/libreoffice-5-2+backports' - xmloff/source

Thorsten Behrens Thorsten.Behrens at CIB.de
Fri Mar 2 14:46:34 UTC 2018


 xmloff/source/text/txtparae.cxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit a78c7ab7c57b2d00b188051fad78e68a1016611f
Author: Thorsten Behrens <Thorsten.Behrens at CIB.de>
Date:   Fri Mar 2 15:43:45 2018 +0100

    xmloff: fix -Werror=shadow
    
    Change-Id: I2313452d05a53f9cc7218ab223c0108f6e95f33c

diff --git a/xmloff/source/text/txtparae.cxx b/xmloff/source/text/txtparae.cxx
index 3251391ff20a..de374d21265f 100644
--- a/xmloff/source/text/txtparae.cxx
+++ b/xmloff/source/text/txtparae.cxx
@@ -2547,9 +2547,9 @@ void XMLTextParagraphExport::exportTextMark(
                     OUString sCondition("BookmarkCondition");
                     if (bkmkPropInfo->hasPropertyByName(sCondition))
                     {
-                        OUString sBookmarkCondition;
-                        bkmkProps->getPropertyValue(sCondition) >>= sBookmarkCondition;
-                        GetExport().AddAttribute(XML_NAMESPACE_LO_EXT, "condition", sBookmarkCondition);
+                        OUString _sBookmarkCondition;
+                        bkmkProps->getPropertyValue(sCondition) >>= _sBookmarkCondition;
+                        GetExport().AddAttribute(XML_NAMESPACE_LO_EXT, "condition", _sBookmarkCondition);
                     }
                 }
             }


More information about the Libreoffice-commits mailing list