From b1b18894cae8fc080331ef2020a48c581d113746 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Tue, 15 Apr 2014 10:43:03 +0300 Subject: [PATCH] WaE: 'bOn' may be used uninitialized in this function Change-Id: I6f715ffa264a4642c9a4470988383a18ddd9432b --- svx/source/toolbars/fontworkbar.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;