summaryrefslogtreecommitdiff
path: root/sc/source/ui/dbgui/csvruler.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-12-18 13:29:00 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-12-18 14:12:30 +0100
commit9ba13265e3ea2a204a45c54acbbf8a1bca11a55c (patch)
tree8d90c9fa4296ad9c3d9a0f1909f1c686c5bb193d /sc/source/ui/dbgui/csvruler.cxx
parentf4fbcef061fbd3786a42d98573aa6073d5c684bf (diff)
sc: Use appropriate OUString functions on string constants
Change-Id: Ifc00b2045de0d356e175733b0f03ab0c90083039
Diffstat (limited to 'sc/source/ui/dbgui/csvruler.cxx')
-rw-r--r--sc/source/ui/dbgui/csvruler.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/dbgui/csvruler.cxx b/sc/source/ui/dbgui/csvruler.cxx
index 24eb276672c0..ae6edcebd416 100644
--- a/sc/source/ui/dbgui/csvruler.cxx
+++ b/sc/source/ui/dbgui/csvruler.cxx
@@ -43,7 +43,7 @@ static void load_FixedWidthList(ScCsvSplits &aSplits)
OUString* pNames = aNames.getArray();
ScLinkConfigItem aItem( OUString( SEP_PATH ) );
- pNames[0] = OUString( FIXED_WIDTH_LIST );
+ pNames[0] = FIXED_WIDTH_LIST;
aValues = aItem.GetProperties( aNames );
pProperties = aValues.getConstArray();
@@ -78,7 +78,7 @@ static void save_FixedWidthList(ScCsvSplits aSplits)
OUString* pNames = aNames.getArray();
ScLinkConfigItem aItem( OUString( SEP_PATH ) );
- pNames[0] = OUString( FIXED_WIDTH_LIST );
+ pNames[0] = FIXED_WIDTH_LIST;
aValues = aItem.GetProperties( aNames );
pProperties = aValues.getArray();
pProperties[0] <<= sFixedWidthLists;