summaryrefslogtreecommitdiff
path: root/vcl/source/control/field2.cxx
diff options
context:
space:
mode:
authorChr. Rossmanith <ChrRossmanith@gmx.de>2013-01-12 09:57:37 +0100
committerChr. Rossmanith <ChrRossmanith@gmx.de>2013-01-12 10:00:01 +0100
commit08def320062ad7c5cf98e577a2af1fad7c8eb267 (patch)
tree249e0e4c17fea0d9fc9c56d6ea823e564923090f /vcl/source/control/field2.cxx
parent8cfc269842792b014ad53206706e7103b12e0b30 (diff)
RTL_CONSTASCII_(U)STRINGPARAM removed in vcl/[source,null]
Change-Id: Icedb5ad5c1023829689d56367043451b8fe95eed
Diffstat (limited to 'vcl/source/control/field2.cxx')
-rw-r--r--vcl/source/control/field2.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/vcl/source/control/field2.cxx b/vcl/source/control/field2.cxx
index cdc358a598bb..4193b1416d2a 100644
--- a/vcl/source/control/field2.cxx
+++ b/vcl/source/control/field2.cxx
@@ -2479,9 +2479,9 @@ sal_Bool TimeFormatter::ImplTimeReformat( const XubString& rStr, XubString& rOut
}
// Don't use LocaleDataWrapper, we want AM/PM
if ( aTempTime.GetHour() < 12 )
- rOutStr += String( RTL_CONSTASCII_USTRINGPARAM( "AM" ) ); // ImplGetLocaleDataWrapper().getTimeAM();
+ rOutStr += "AM"; // ImplGetLocaleDataWrapper().getTimeAM();
else
- rOutStr += String( RTL_CONSTASCII_USTRINGPARAM( "PM" ) ); // ImplGetLocaleDataWrapper().getTimePM();
+ rOutStr += "PM"; // ImplGetLocaleDataWrapper().getTimePM();
}
}
@@ -2777,9 +2777,9 @@ void TimeFormatter::ImplSetUserTime( const Time& rNewTime, Selection* pNewSelect
}
// Don't use LocaleDataWrapper, we want AM/PM
if ( aNewTime.GetHour() < 12 )
- aStr += String( RTL_CONSTASCII_USTRINGPARAM( "AM" ) ); // ImplGetLocaleDataWrapper().getTimeAM();
+ aStr += "AM"; // ImplGetLocaleDataWrapper().getTimeAM();
else
- aStr += String( RTL_CONSTASCII_USTRINGPARAM( "PM" ) ); // ImplGetLocaleDataWrapper().getTimePM();
+ aStr += "PM"; // ImplGetLocaleDataWrapper().getTimePM();
}
}