summaryrefslogtreecommitdiff
path: root/sc/source/filter/ftools/fapihelper.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-11-21 15:52:45 +0200
committerNoel Grandin <noel@peralex.com>2013-11-22 08:07:19 +0200
commit73342dbb82ba074d01962359dac50fb2aa36cbeb (patch)
treeaddab0397681725810b42ad55ab15be3fdb4c236 /sc/source/filter/ftools/fapihelper.cxx
parent071c3f3e93c4c00cf57ce3c382325cd717fed511 (diff)
remove unnecessary RTL_CONSTASCII_STRINGPARAM
A final pass through the code, converting code to use the new OUString and OString methods that can detect string literals. Change-Id: Ifa6382335e5650a1c67e52006b26354e0692c710
Diffstat (limited to 'sc/source/filter/ftools/fapihelper.cxx')
-rw-r--r--sc/source/filter/ftools/fapihelper.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sc/source/filter/ftools/fapihelper.cxx b/sc/source/filter/ftools/fapihelper.cxx
index 7868c204eb18..6a7e88ecea75 100644
--- a/sc/source/filter/ftools/fapihelper.cxx
+++ b/sc/source/filter/ftools/fapihelper.cxx
@@ -246,8 +246,7 @@ void ScfPropertySet::SetAnyProperty( const OUString& rPropName, const Any& rValu
}
catch (const Exception&)
{
- OSL_FAIL(OStringBuffer(RTL_CONSTASCII_STRINGPARAM(
- "ScfPropertySet::SetAnyProperty - cannot set property \""))
+ OSL_FAIL(OStringBuffer("ScfPropertySet::SetAnyProperty - cannot set property \"")
.append(OUStringToOString(rPropName,
RTL_TEXTENCODING_ASCII_US))
.append('"').getStr());