From 3101fa6862e4f849cbbea3fd817914a89eab403b Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Sun, 9 Aug 2020 19:07:12 +0200 Subject: use OUStringLiteral in SfxItemPropertyMapEntry Change-Id: I4f05b6a35010e661ea77f3e4b83302d2ec74d227 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100405 Tested-by: Jenkins Reviewed-by: Noel Grandin --- chart2/source/tools/ErrorBar.cxx | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'chart2') 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::get(), 0, 0}, - {OUString("ShowNegativeError"),1,cppu::UnoType::get(), 0, 0}, - {OUString("PositiveError"),2,cppu::UnoType::get(),0,0}, - {OUString("NegativeError"),3,cppu::UnoType::get(), 0, 0}, - {OUString("PercentageError"),4,cppu::UnoType::get(), 0, 0}, - {OUString("ErrorBarStyle"),5,cppu::UnoType::get(),0,0}, - {OUString("ErrorBarRangePositive"),6,cppu::UnoType::get(),0,0}, // read-only for export - {OUString("ErrorBarRangeNegative"),7,cppu::UnoType::get(),0,0}, // read-only for export - {OUString("Weight"),8,cppu::UnoType::get(),0,0}, - {OUString("LineStyle"),9,cppu::UnoType::get(),0,0}, - {OUString("LineDash"),10,cppu::UnoType::get(),0,0}, - {OUString("LineWidth"),11,cppu::UnoType::get(),0,0}, - {OUString("LineColor"),12,cppu::UnoType::get(),0,0}, - {OUString("LineTransparence"),13,cppu::UnoType::get(),0,0}, - {OUString("LineJoint"),14,cppu::UnoType::get(),0,0}, - { OUString(), 0, css::uno::Type(), 0, 0 } + {"ShowPositiveError",0,cppu::UnoType::get(), 0, 0}, + {"ShowNegativeError",1,cppu::UnoType::get(), 0, 0}, + {"PositiveError",2,cppu::UnoType::get(),0,0}, + {"NegativeError",3,cppu::UnoType::get(), 0, 0}, + {"PercentageError",4,cppu::UnoType::get(), 0, 0}, + {"ErrorBarStyle",5,cppu::UnoType::get(),0,0}, + {"ErrorBarRangePositive",6,cppu::UnoType::get(),0,0}, // read-only for export + {"ErrorBarRangeNegative",7,cppu::UnoType::get(),0,0}, // read-only for export + {"Weight",8,cppu::UnoType::get(),0,0}, + {"LineStyle",9,cppu::UnoType::get(),0,0}, + {"LineDash",10,cppu::UnoType::get(),0,0}, + {"LineWidth",11,cppu::UnoType::get(),0,0}, + {"LineColor",12,cppu::UnoType::get(),0,0}, + {"LineTransparence",13,cppu::UnoType::get(),0,0}, + {"LineJoint",14,cppu::UnoType::get(),0,0}, + { "", 0, css::uno::Type(), 0, 0 } }; static SfxItemPropertySet aPropSet( aErrorBarPropertyMap_Impl ); return &aPropSet; -- cgit