[Libreoffice-commits] core.git: sw/source
Thomas Arnhold
thomas at arnhold.org
Mon May 26 00:55:51 PDT 2014
sw/source/filter/xml/xmltexte.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 2e457e2ee54844ea80c1058dabcc3f3a0bd86d54
Author: Thomas Arnhold <thomas at arnhold.org>
Date: Mon May 26 09:50:51 2014 +0200
cppcheck: uninitvar
Change-Id: Id33b7d2dc6250545168b5462edfa84516c740c93
diff --git a/sw/source/filter/xml/xmltexte.cxx b/sw/source/filter/xml/xmltexte.cxx
index 9b184af..d2e2617 100644
--- a/sw/source/filter/xml/xmltexte.cxx
+++ b/sw/source/filter/xml/xmltexte.cxx
@@ -296,7 +296,7 @@ static void lcl_addFrameProperties(
aAny = xSet->getPropertyValue("FrameName");
aAny >>= aName;
- bool bIsAutoScroll = false, bIsScrollingMode;
+ bool bIsAutoScroll = false, bIsScrollingMode = false;
aAny = xSet->getPropertyValue("FrameIsAutoScroll");
aAny >>= bIsAutoScroll;
if ( !bIsAutoScroll )
@@ -305,7 +305,7 @@ static void lcl_addFrameProperties(
aAny >>= bIsScrollingMode;
}
- bool bIsBorderSet, bIsAutoBorder = false;
+ bool bIsBorderSet = false, bIsAutoBorder = false;
aAny = xSet->getPropertyValue("FrameIsAutoBorder");
aAny >>= bIsAutoBorder;
if ( !bIsAutoBorder )
More information about the Libreoffice-commits
mailing list