diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2014-05-26 09:50:51 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2014-05-26 09:50:51 +0200 |
commit | 2e457e2ee54844ea80c1058dabcc3f3a0bd86d54 (patch) | |
tree | 7d6986f934df6fd79fa35678a69369ef7a7f998e | |
parent | a38de875151df829e40e6672b8318e2baa6e54c1 (diff) |
cppcheck: uninitvar
Change-Id: Id33b7d2dc6250545168b5462edfa84516c740c93
-rw-r--r-- | sw/source/filter/xml/xmltexte.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/xml/xmltexte.cxx b/sw/source/filter/xml/xmltexte.cxx index 9b184afd8220..d2e26177a6ac 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 ) |