summaryrefslogtreecommitdiff
path: root/chart2/source/tools
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-12-11 15:37:26 +0100
committerStephan Bergmann <sbergman@redhat.com>2013-12-11 15:38:30 +0100
commit123e2c3e9350463fde38fbcbb522e3d6d8340ee6 (patch)
treec0f9350733d93f6a906cfe2f19b5dac66a655283 /chart2/source/tools
parent90f91088d238469b4a2262c91de3117ba40f5bde (diff)
Revert "Don't hold css::uno::Type instances by pointer"
This reverts commit 90f91088d238469b4a2262c91de3117ba40f5bde for now: Ach, old GCC doesn't like plain string literals to initialize members of OUString type... Change-Id: I50563a00406259bb5d41831e2a2796762450d097
Diffstat (limited to 'chart2/source/tools')
-rw-r--r--chart2/source/tools/ErrorBar.cxx32
1 files changed, 16 insertions, 16 deletions
diff --git a/chart2/source/tools/ErrorBar.cxx b/chart2/source/tools/ErrorBar.cxx
index 24eb6d9c78d6..3e305b94506a 100644
--- a/chart2/source/tools/ErrorBar.cxx
+++ b/chart2/source/tools/ErrorBar.cxx
@@ -55,22 +55,22 @@ const SfxItemPropertySet* GetErrorBarPropertySet()
{
static const SfxItemPropertyMapEntry aErrorBarPropertyMap_Impl[] =
{
- {"ShowPositiveError",0,getBooleanCppuType(), 0, 0},
- {"ShowNegativeError",1,getBooleanCppuType(), 0, 0},
- {"PositiveError",2,getCppuType((const double*)0),0,0},
- {"NegativeError",3,getCppuType((const double*)0), 0, 0},
- {"PercentageError",4,getCppuType((const double*)0), 0, 0},
- {"ErrorBarStyle",5,getCppuType((sal_Int32*)0),0,0},
- {"ErrorBarRangePositive",6,getCppuType((OUString*)0),0,0}, // read-only for export
- {"ErrorBarRangeNegative",7,getCppuType((OUString*)0),0,0}, // read-only for export
- {"Weight",8,getCppuType((const double*)0),0,0},
- {"LineStyle",9,getCppuType((com::sun::star::drawing::LineStyle*)0),0,0},
- {"LineDash",10,getCppuType((drawing::LineDash*)0),0,0},
- {"LineWidth",11,getCppuType((sal_Int32*)0),0,0},
- {"LineColor",12,getCppuType((com::sun::star::util::Color*)0),0,0},
- {"LineTransparence",13,getCppuType((sal_Int16*)0),0,0},
- {"LineJoint",14,getCppuType((com::sun::star::drawing::LineJoint*)0),0,0},
- {}
+ {MAP_CHAR_LEN("ShowPositiveError"),0,&getBooleanCppuType(), 0, 0},
+ {MAP_CHAR_LEN("ShowNegativeError"),1,&getBooleanCppuType(), 0, 0},
+ {MAP_CHAR_LEN("PositiveError"),2,&getCppuType((const double*)0),0,0},
+ {MAP_CHAR_LEN("NegativeError"),3,&getCppuType((const double*)0), 0, 0},
+ {MAP_CHAR_LEN("PercentageError"),4,&getCppuType((const double*)0), 0, 0},
+ {MAP_CHAR_LEN("ErrorBarStyle"),5,&getCppuType((sal_Int32*)0),0,0},
+ {MAP_CHAR_LEN("ErrorBarRangePositive"),6,&getCppuType((OUString*)0),0,0}, // read-only for export
+ {MAP_CHAR_LEN("ErrorBarRangeNegative"),7,&getCppuType((OUString*)0),0,0}, // read-only for export
+ {MAP_CHAR_LEN("Weight"),8,&getCppuType((const double*)0),0,0},
+ {MAP_CHAR_LEN("LineStyle"),9,&getCppuType((com::sun::star::drawing::LineStyle*)0),0,0},
+ {MAP_CHAR_LEN("LineDash"),10,&getCppuType((drawing::LineDash*)0),0,0},
+ {MAP_CHAR_LEN("LineWidth"),11,&getCppuType((sal_Int32*)0),0,0},
+ {MAP_CHAR_LEN("LineColor"),12,&getCppuType((com::sun::star::util::Color*)0),0,0},
+ {MAP_CHAR_LEN("LineTransparence"),13,&getCppuType((sal_Int16*)0),0,0},
+ {MAP_CHAR_LEN("LineJoint"),14,&getCppuType((com::sun::star::drawing::LineJoint*)0),0,0},
+ {0,0,0,0,0,0}
};
static SfxItemPropertySet aPropSet( aErrorBarPropertyMap_Impl );
return &aPropSet;