summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorIvo Hinkelmann <ihi@openoffice.org>2011-02-16 16:55:03 +0100
committerIvo Hinkelmann <ihi@openoffice.org>2011-02-16 16:55:03 +0100
commit7b37b8ec77f1311a737c32bfc58d08553786155d (patch)
tree2f1dc7e19a82055d398799d36253c1fc0e19f47b /chart2
parent208b435604765e8b14d956f5d7112d9983a39166 (diff)
masterfix: #i10000# TRUE -> sal_True
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/controller/itemsetwrapper/LegendItemConverter.cxx4
-rw-r--r--chart2/source/view/main/ChartItemPool.cxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/chart2/source/controller/itemsetwrapper/LegendItemConverter.cxx b/chart2/source/controller/itemsetwrapper/LegendItemConverter.cxx
index c9ce4dc7bff1..6fdf16bb73af 100644
--- a/chart2/source/controller/itemsetwrapper/LegendItemConverter.cxx
+++ b/chart2/source/controller/itemsetwrapper/LegendItemConverter.cxx
@@ -116,7 +116,7 @@ bool LegendItemConverter::ApplySpecialItem( sal_uInt16 nWhichId, const SfxItemSe
case SCHATTR_LEGEND_SHOW:
{
const SfxPoolItem* pPoolItem = NULL;
- if( rInItemSet.GetItemState( SCHATTR_LEGEND_SHOW, TRUE, &pPoolItem ) == SFX_ITEM_SET )
+ if( rInItemSet.GetItemState( SCHATTR_LEGEND_SHOW, sal_True, &pPoolItem ) == SFX_ITEM_SET )
{
sal_Bool bShow = static_cast< const SfxBoolItem * >( pPoolItem )->GetValue();
sal_Bool bWasShown = sal_True;
@@ -133,7 +133,7 @@ bool LegendItemConverter::ApplySpecialItem( sal_uInt16 nWhichId, const SfxItemSe
case SCHATTR_LEGEND_POS:
{
const SfxPoolItem* pPoolItem = NULL;
- if( rInItemSet.GetItemState( SCHATTR_LEGEND_POS, TRUE, &pPoolItem ) == SFX_ITEM_SET )
+ if( rInItemSet.GetItemState( SCHATTR_LEGEND_POS, sal_True, &pPoolItem ) == SFX_ITEM_SET )
{
chart2::LegendPosition eNewPos = static_cast<chart2::LegendPosition>(((const SfxInt32Item*)pPoolItem)->GetValue());
diff --git a/chart2/source/view/main/ChartItemPool.cxx b/chart2/source/view/main/ChartItemPool.cxx
index 873e7829b7ac..c66044b9aa0d 100644
--- a/chart2/source/view/main/ChartItemPool.cxx
+++ b/chart2/source/view/main/ChartItemPool.cxx
@@ -72,7 +72,7 @@ ChartItemPool::ChartItemPool():
//legend
ppPoolDefaults[SCHATTR_LEGEND_POS - SCHATTR_START] = new SfxInt32Item(SCHATTR_LEGEND_POS, ::com::sun::star::chart2::LegendPosition_LINE_END );
- ppPoolDefaults[SCHATTR_LEGEND_SHOW - SCHATTR_START] = new SfxBoolItem(SCHATTR_LEGEND_SHOW, TRUE);
+ ppPoolDefaults[SCHATTR_LEGEND_SHOW - SCHATTR_START] = new SfxBoolItem(SCHATTR_LEGEND_SHOW, sal_True);
//text
ppPoolDefaults[SCHATTR_TEXT_DEGREES - SCHATTR_START] = new SfxInt32Item(SCHATTR_TEXT_DEGREES, 0);