summaryrefslogtreecommitdiff
path: root/cui/source/options
diff options
context:
space:
mode:
Diffstat (limited to 'cui/source/options')
-rw-r--r--cui/source/options/cfgchart.cxx3
-rw-r--r--cui/source/options/optchart.cxx4
2 files changed, 3 insertions, 4 deletions
diff --git a/cui/source/options/cfgchart.cxx b/cui/source/options/cfgchart.cxx
index 2556df1da48a..41c9f59a419d 100644
--- a/cui/source/options/cfgchart.cxx
+++ b/cui/source/options/cfgchart.cxx
@@ -28,7 +28,6 @@
#include <com/sun/star/uno/Sequence.hxx>
#include <tools/stream.hxx> // header for SvStream
-#include <sal/types.h> // header for SAL_STATIC_CAST
#include "cfgchart.hxx"
#include <dialmgr.hxx>
#include <cuires.hrc>
@@ -242,7 +241,7 @@ sal_Bool SvxChartOptions::RetrieveOptions()
// set color values
for( sal_Int32 i=0; i < nCount; i++ )
{
- aCol.SetColor( SAL_STATIC_CAST( ColorData, aColorSeq[ i ] ));
+ aCol.SetColor( (static_cast< ColorData >(aColorSeq[ i ] )));
aName = aPrefix;
aName.Append( String::CreateFromInt32( i + 1 ));
diff --git a/cui/source/options/optchart.cxx b/cui/source/options/optchart.cxx
index da24c88a08e7..e188ca08e7d7 100644
--- a/cui/source/options/optchart.cxx
+++ b/cui/source/options/optchart.cxx
@@ -86,7 +86,7 @@ SvxDefaultColorOptPage::SvxDefaultColorOptPage( Window* pParent, const SfxItemSe
const SfxPoolItem* pItem = NULL;
if ( rInAttrs.GetItemState( SID_SCH_EDITOPTIONS, sal_False, &pItem ) == SFX_ITEM_SET )
{
- pColorConfig = SAL_STATIC_CAST( SvxChartColorTableItem*, pItem->Clone() );
+ pColorConfig = (static_cast< SvxChartColorTableItem* >(pItem->Clone()) );
}
else
{
@@ -129,7 +129,7 @@ SfxTabPage* SvxDefaultColorOptPage::Create( Window* pParent, const SfxItemSet& r
sal_Bool SvxDefaultColorOptPage::FillItemSet( SfxItemSet& rOutAttrs )
{
if( pColorConfig )
- rOutAttrs.Put( *SAL_STATIC_CAST( SfxPoolItem*, pColorConfig ));
+ rOutAttrs.Put( *(static_cast< SfxPoolItem* >(pColorConfig)));
return sal_True;
}