diff options
author | Rüdiger Timm <rt@openoffice.org> | 2007-07-25 07:41:14 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2007-07-25 07:41:14 +0000 |
commit | f4f6750d7e840d82a389ab9734f5ebc6a252ec79 (patch) | |
tree | 5903a7d132aa6bcbe0f56a223b04519f086fa754 /chart2/source/controller/itemsetwrapper/LegendItemConverter.cxx | |
parent | 19b33c7c29234c9ad895bfb48f78086b187467af (diff) |
INTEGRATION: CWS chart07 (1.14.12); FILE MERGED
2007/07/10 11:57:29 bm 1.14.12.1: #i69281# warnings removed
Diffstat (limited to 'chart2/source/controller/itemsetwrapper/LegendItemConverter.cxx')
-rw-r--r-- | chart2/source/controller/itemsetwrapper/LegendItemConverter.cxx | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/chart2/source/controller/itemsetwrapper/LegendItemConverter.cxx b/chart2/source/controller/itemsetwrapper/LegendItemConverter.cxx index 8da8a4ba5c370..eb9276969627d 100644 --- a/chart2/source/controller/itemsetwrapper/LegendItemConverter.cxx +++ b/chart2/source/controller/itemsetwrapper/LegendItemConverter.cxx @@ -4,9 +4,9 @@ * * $RCSfile: LegendItemConverter.cxx,v $ * - * $Revision: 1.14 $ + * $Revision: 1.15 $ * - * last change: $Author: vg $ $Date: 2007-05-22 18:01:06 $ + * last change: $Author: rt $ $Date: 2007-07-25 08:41:14 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -115,7 +115,7 @@ const USHORT * LegendItemConverter::GetWhichPairs() const return nLegendWhichPairs; } -bool LegendItemConverter::GetItemProperty( tWhichIdType nWhichId, tPropertyNameWithMemberId & rOutProperty ) const +bool LegendItemConverter::GetItemProperty( tWhichIdType /*nWhichId*/, tPropertyNameWithMemberId & /*rOutProperty*/ ) const { // No own (non-special) properties return false; @@ -132,12 +132,13 @@ bool LegendItemConverter::ApplySpecialItem( { case SCHATTR_LEGEND_POS: { - chart2::LegendPosition eNewPos, eOldPos; + chart2::LegendPosition eNewPos = chart2::LegendPosition_LINE_END; + chart2::LegendPosition eOldPos; bool bIsWide = false; sal_Bool bShow = sal_True; SvxChartLegendPos eItemPos = - reinterpret_cast< const SvxChartLegendPosItem & >( + static_cast< const SvxChartLegendPosItem & >( rItemSet.Get( nWhichId )).GetValue(); switch( eItemPos ) { |