summaryrefslogtreecommitdiff
path: root/connectivity/source/commontools/DateConversion.cxx
diff options
context:
space:
mode:
authorKevin Hunter <hunteke@earlham.edu>2010-11-09 14:55:22 -0500
committerDavid Tardon <dtardon@redhat.com>2010-11-10 08:19:12 +0100
commit601bfe023f5aeb9b10f4c17d50d18f9b7455f229 (patch)
tree22fa377c3b0de213eda4d616600749c5e1ccad31 /connectivity/source/commontools/DateConversion.cxx
parente30c45f22519a413f6fb08adb5307b2b610e5c28 (diff)
EasyHack: Convert to RTL macro from FromAscii
Diffstat (limited to 'connectivity/source/commontools/DateConversion.cxx')
-rw-r--r--connectivity/source/commontools/DateConversion.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/commontools/DateConversion.cxx b/connectivity/source/commontools/DateConversion.cxx
index 3f5093c3a225..d3515a33a2fa 100644
--- a/connectivity/source/commontools/DateConversion.cxx
+++ b/connectivity/source/commontools/DateConversion.cxx
@@ -274,7 +274,7 @@ void DBTypeConversion::setValue(const Reference<XColumnUpdate>& xVariant,
{ // die Formatierung soll eigentlich als Prozent erfolgen, aber der String stellt nur eine
// einfache Nummer dar -> anpassen
::rtl::OUString sExpanded(rString);
- static ::rtl::OUString s_sPercentSymbol = ::rtl::OUString::createFromAscii("%");
+ static ::rtl::OUString s_sPercentSymbol( RTL_CONSTASCII_USTRINGPARAM( "%" ));
// need a method to add a sal_Unicode to a string, 'til then we use a static string
sExpanded += s_sPercentSymbol;
fValue = xFormatter->convertStringToNumber(nKeyToUse, sExpanded);