summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-04-15 10:43:03 +0300
committerTor Lillqvist <tml@collabora.com>2014-04-15 10:43:53 +0300
commitb1b18894cae8fc080331ef2020a48c581d113746 (patch)
tree523ccdc56b73a66c69929205eaef0a315d7da3a9 /svx
parent9d101a302caca8271ce3d93e0d7f31129a61224e (diff)
WaE: 'bOn' may be used uninitialized in this function
Change-Id: I6f715ffa264a4642c9a4470988383a18ddd9432b
Diffstat (limited to 'svx')
-rw-r--r--svx/source/toolbars/fontworkbar.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/toolbars/fontworkbar.cxx b/svx/source/toolbars/fontworkbar.cxx
index b838520dee25..83a1ee11f791 100644
--- a/svx/source/toolbars/fontworkbar.cxx
+++ b/svx/source/toolbars/fontworkbar.cxx
@@ -275,7 +275,7 @@ static void impl_execute( SdrView*, SfxRequest& rReq, SdrCustomShapeGeometryItem
com::sun::star::uno::Any* pAny = rGeometryItem.GetPropertyValueByName( sTextPath, sSameLetterHeights );
if( pAny )
{
- bool bOn;
+ bool bOn = false;
(*pAny) >>= bOn;
bOn = !bOn;
(*pAny) <<= bOn;