svx/source/toolbars/extrusionbar.cxx | 2 +- svx/source/toolbars/fontworkbar.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
New commits: commit b1b18894cae8fc080331ef2020a48c581d113746 Author: Tor Lillqvist <t...@collabora.com> Date: Tue Apr 15 10:43:03 2014 +0300 WaE: 'bOn' may be used uninitialized in this function Change-Id: I6f715ffa264a4642c9a4470988383a18ddd9432b diff --git a/svx/source/toolbars/fontworkbar.cxx b/svx/source/toolbars/fontworkbar.cxx index b838520..83a1ee1 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; commit 9d101a302caca8271ce3d93e0d7f31129a61224e Author: Tor Lillqvist <t...@collabora.com> Date: Tue Apr 15 10:42:13 2014 +0300 WaE: 'bHarsh2' may be used uninitialized in this function Change-Id: I900545e1556ddf8b76453d7fb189a2fc79f8744c diff --git a/svx/source/toolbars/extrusionbar.cxx b/svx/source/toolbars/extrusionbar.cxx index 06169c7..2ad2b3b 100644 --- a/svx/source/toolbars/extrusionbar.cxx +++ b/svx/source/toolbars/extrusionbar.cxx @@ -407,7 +407,7 @@ static void impl_execute( SdrView*, SfxRequest& rReq, SdrCustomShapeGeometryItem sal_Int32 nLevel = ((const SfxInt32Item*)rReq.GetArgs()->GetItem(SID_EXTRUSION_LIGHTING_INTENSITY))->GetValue(); double fBrightness; - bool bHarsh2; + bool bHarsh2 = false; double fLevel1; double fLevel2; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits