diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2020-08-09 19:07:12 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-08-13 08:18:40 +0200 |
commit | 3101fa6862e4f849cbbea3fd817914a89eab403b (patch) | |
tree | b01ba4624269ee3442c9e6f08a9ecca918ed81aa /chart2 | |
parent | 8143a2023fc28e3694dd884ddd64d297eb1ce71c (diff) |
use OUStringLiteral in SfxItemPropertyMapEntry
Change-Id: I4f05b6a35010e661ea77f3e4b83302d2ec74d227
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100405
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/tools/ErrorBar.cxx | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/chart2/source/tools/ErrorBar.cxx b/chart2/source/tools/ErrorBar.cxx index 77dd69705211..32fa6c39ec52 100644 --- a/chart2/source/tools/ErrorBar.cxx +++ b/chart2/source/tools/ErrorBar.cxx @@ -53,22 +53,22 @@ const SfxItemPropertySet* GetErrorBarPropertySet() { static const SfxItemPropertyMapEntry aErrorBarPropertyMap_Impl[] = { - {OUString("ShowPositiveError"),0,cppu::UnoType<bool>::get(), 0, 0}, - {OUString("ShowNegativeError"),1,cppu::UnoType<bool>::get(), 0, 0}, - {OUString("PositiveError"),2,cppu::UnoType<double>::get(),0,0}, - {OUString("NegativeError"),3,cppu::UnoType<double>::get(), 0, 0}, - {OUString("PercentageError"),4,cppu::UnoType<double>::get(), 0, 0}, - {OUString("ErrorBarStyle"),5,cppu::UnoType<sal_Int32>::get(),0,0}, - {OUString("ErrorBarRangePositive"),6,cppu::UnoType<OUString>::get(),0,0}, // read-only for export - {OUString("ErrorBarRangeNegative"),7,cppu::UnoType<OUString>::get(),0,0}, // read-only for export - {OUString("Weight"),8,cppu::UnoType<double>::get(),0,0}, - {OUString("LineStyle"),9,cppu::UnoType<css::drawing::LineStyle>::get(),0,0}, - {OUString("LineDash"),10,cppu::UnoType<drawing::LineDash>::get(),0,0}, - {OUString("LineWidth"),11,cppu::UnoType<sal_Int32>::get(),0,0}, - {OUString("LineColor"),12,cppu::UnoType<css::util::Color>::get(),0,0}, - {OUString("LineTransparence"),13,cppu::UnoType<sal_Int16>::get(),0,0}, - {OUString("LineJoint"),14,cppu::UnoType<css::drawing::LineJoint>::get(),0,0}, - { OUString(), 0, css::uno::Type(), 0, 0 } + {"ShowPositiveError",0,cppu::UnoType<bool>::get(), 0, 0}, + {"ShowNegativeError",1,cppu::UnoType<bool>::get(), 0, 0}, + {"PositiveError",2,cppu::UnoType<double>::get(),0,0}, + {"NegativeError",3,cppu::UnoType<double>::get(), 0, 0}, + {"PercentageError",4,cppu::UnoType<double>::get(), 0, 0}, + {"ErrorBarStyle",5,cppu::UnoType<sal_Int32>::get(),0,0}, + {"ErrorBarRangePositive",6,cppu::UnoType<OUString>::get(),0,0}, // read-only for export + {"ErrorBarRangeNegative",7,cppu::UnoType<OUString>::get(),0,0}, // read-only for export + {"Weight",8,cppu::UnoType<double>::get(),0,0}, + {"LineStyle",9,cppu::UnoType<css::drawing::LineStyle>::get(),0,0}, + {"LineDash",10,cppu::UnoType<drawing::LineDash>::get(),0,0}, + {"LineWidth",11,cppu::UnoType<sal_Int32>::get(),0,0}, + {"LineColor",12,cppu::UnoType<css::util::Color>::get(),0,0}, + {"LineTransparence",13,cppu::UnoType<sal_Int16>::get(),0,0}, + {"LineJoint",14,cppu::UnoType<css::drawing::LineJoint>::get(),0,0}, + { "", 0, css::uno::Type(), 0, 0 } }; static SfxItemPropertySet aPropSet( aErrorBarPropertyMap_Impl ); return &aPropSet; |