summaryrefslogtreecommitdiff
path: root/chart2/source/controller/accessibility/AccessibleBase.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source/controller/accessibility/AccessibleBase.cxx')
-rw-r--r--chart2/source/controller/accessibility/AccessibleBase.cxx19
1 files changed, 9 insertions, 10 deletions
diff --git a/chart2/source/controller/accessibility/AccessibleBase.cxx b/chart2/source/controller/accessibility/AccessibleBase.cxx
index 526111fe5941..2c90880a0f9b 100644
--- a/chart2/source/controller/accessibility/AccessibleBase.cxx
+++ b/chart2/source/controller/accessibility/AccessibleBase.cxx
@@ -118,8 +118,7 @@ bool AccessibleBase::CheckDisposeState( bool bThrowException /* default: true */
if( bThrowException &&
m_bIsDisposed )
{
- throw lang::DisposedException(
- C2U("component has state DEFUNC" ),
+ throw lang::DisposedException("component has state DEFUNC",
static_cast< uno::XWeak * >( const_cast< AccessibleBase * >( this )));
}
return m_bIsDisposed;
@@ -861,25 +860,25 @@ sal_Int32 AccessibleBase::getColor( eColorType eColType )
case OBJECTTYPE_DATA_POINT:
if( eColType == ACC_BASE_FOREGROUND )
{
- aPropName = C2U("BorderColor");
- aStylePropName = C2U("BorderTransparency");
+ aPropName = "BorderColor";
+ aStylePropName = "BorderTransparency";
}
else
{
- aPropName = C2U("Color");
- aStylePropName = C2U("Transparency");
+ aPropName = "Color";
+ aStylePropName = "Transparency";
}
break;
default:
if( eColType == ACC_BASE_FOREGROUND )
{
- aPropName = C2U("LineColor");
- aStylePropName = C2U("LineTransparence");
+ aPropName = "LineColor";
+ aStylePropName = "LineTransparence";
}
else
{
- aPropName = C2U("FillColor");
- aStylePropName = C2U("FillTransparence");
+ aPropName = "FillColor";
+ aStylePropName = "FillTransparence";
}
break;
}