sw/source/filter/xml/xmltexte.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 2e457e2ee54844ea80c1058dabcc3f3a0bd86d54 Author: Thomas Arnhold <tho...@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 ) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits