WaE: 'bOn' may be used uninitialized in this function

Change-Id: I6f715ffa264a4642c9a4470988383a18ddd9432b
This commit is contained in:
Tor Lillqvist
2014-04-15 10:43:03 +03:00
parent 9d101a302c
commit b1b18894ca

View File

@@ -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;