summaryrefslogtreecommitdiff
path: root/chart2/source/controller/itemsetwrapper
diff options
context:
space:
mode:
authorKrisztian Pinter <pin.terminator@gmail.com>2013-02-18 18:45:17 +0100
committerMichael Stahl <mstahl@redhat.com>2013-02-20 22:58:20 +0000
commitd05287a9f1bd1aa82d4485013248bb24e692c6b6 (patch)
tree78657726b483bc276a54ce15e055896101349cbd /chart2/source/controller/itemsetwrapper
parentb0e42ed2985a5a00d8523139b1ffd1e72c747304 (diff)
RTL_CONSTASCII_USTRINGPARAM removals
Removed all occurences of RTL_CONSTASCII_USTRINGPARAM in chart2. Change-Id: I0ab188e2d67a5fc17a3653e5213031f6e2c2581d Reviewed-on: https://gerrit.libreoffice.org/2244 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'chart2/source/controller/itemsetwrapper')
-rw-r--r--chart2/source/controller/itemsetwrapper/ItemConverter.cxx10
1 files changed, 4 insertions, 6 deletions
diff --git a/chart2/source/controller/itemsetwrapper/ItemConverter.cxx b/chart2/source/controller/itemsetwrapper/ItemConverter.cxx
index ef10d58524fe..72cdcf714e54 100644
--- a/chart2/source/controller/itemsetwrapper/ItemConverter.cxx
+++ b/chart2/source/controller/itemsetwrapper/ItemConverter.cxx
@@ -134,10 +134,9 @@ void ItemConverter::FillItemSet( SfxItemSet & rOutItemSet ) const
delete pItem;
(void)ex;
OSL_FAIL(
- ::rtl::OUStringToOString(
+ OUStringToOString(
ex.Message +
- ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM(
- " - unknown Property: " )) + aProperty.first,
+ " - unknown Property: " + aProperty.first,
RTL_TEXTENCODING_ASCII_US ).getStr());
}
catch( const uno::Exception &ex )
@@ -206,10 +205,9 @@ bool ItemConverter::ApplyItemSet( const SfxItemSet & rItemSet )
{
(void)ex;
OSL_FAIL(
- ::rtl::OUStringToOString(
+ OUStringToOString(
ex.Message +
- ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM(
- " - unknown Property: " )) + aProperty.first,
+ " - unknown Property: " + aProperty.first,
RTL_TEXTENCODING_ASCII_US).getStr());
}
catch( const uno::Exception &ex )