diff options
Diffstat (limited to 'forms')
-rw-r--r-- | forms/source/component/formcontrolfont.cxx | 4 | ||||
-rw-r--r-- | forms/source/component/imgprod.cxx | 4 | ||||
-rw-r--r-- | forms/source/richtext/richtextcontrol.cxx | 2 | ||||
-rw-r--r-- | forms/source/solar/component/navbarcontrol.cxx | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/forms/source/component/formcontrolfont.cxx b/forms/source/component/formcontrolfont.cxx index d2c63d077193..c23f598e3976 100644 --- a/forms/source/component/formcontrolfont.cxx +++ b/forms/source/component/formcontrolfont.cxx @@ -172,7 +172,7 @@ namespace frm sal_Int32 FontControlModel::getTextColor( ) const { - sal_Int32 nColor = COL_TRANSPARENT; + sal_Int32 nColor(COL_TRANSPARENT); m_aTextColor >>= nColor; return nColor; } @@ -180,7 +180,7 @@ namespace frm sal_Int32 FontControlModel::getTextLineColor( ) const { - sal_Int32 nColor = COL_TRANSPARENT; + sal_Int32 nColor(COL_TRANSPARENT); m_aTextLineColor >>= nColor; return nColor; } diff --git a/forms/source/component/imgprod.cxx b/forms/source/component/imgprod.cxx index 3985351032a1..3b161e3d6d2c 100644 --- a/forms/source/component/imgprod.cxx +++ b/forms/source/component/imgprod.cxx @@ -428,7 +428,7 @@ void ImageProducer::ImplUpdateConsumer( const Graphic& rGraphic ) if( pBmpAcc->HasPalette() ) { - const BitmapColor aWhite( pMskAcc->GetBestMatchingColor( Color(COL_WHITE) ) ); + const BitmapColor aWhite( pMskAcc->GetBestMatchingColor( COL_WHITE ) ); if( mnTransIndex < 256 ) { @@ -479,7 +479,7 @@ void ImageProducer::ImplUpdateConsumer( const Graphic& rGraphic ) else { css::uno::Sequence<sal_Int32> aData( nPartWidth * nPartHeight ); - const BitmapColor aWhite( pMskAcc->GetBestMatchingColor( Color(COL_WHITE) ) ); + const BitmapColor aWhite( pMskAcc->GetBestMatchingColor( COL_WHITE ) ); sal_Int32* pTmp = aData.getArray(); for( long nY = nStartY; nY <= nEndY; nY++ ) diff --git a/forms/source/richtext/richtextcontrol.cxx b/forms/source/richtext/richtextcontrol.cxx index 08238d452db8..3939e1778160 100644 --- a/forms/source/richtext/richtextcontrol.cxx +++ b/forms/source/richtext/richtextcontrol.cxx @@ -357,7 +357,7 @@ namespace frm } else { - sal_Int32 nColor = COL_TRANSPARENT; + sal_Int32 nColor(COL_TRANSPARENT); _rValue >>= nColor; pControl->SetBackgroundColor( Color( nColor ) ); } diff --git a/forms/source/solar/component/navbarcontrol.cxx b/forms/source/solar/component/navbarcontrol.cxx index 9c3d538340cb..e74d921a4b82 100644 --- a/forms/source/solar/component/navbarcontrol.cxx +++ b/forms/source/solar/component/navbarcontrol.cxx @@ -271,7 +271,7 @@ namespace frm bool bVoid = !_rValue.hasValue(); bool bBoolValue = false; - sal_Int32 nColor = COL_TRANSPARENT; + sal_Int32 nColor(COL_TRANSPARENT); // TODO: more generic mechanisms for this (the grid control implementation, // when used herein, will do the same stuff for lot of these) |