summaryrefslogtreecommitdiff
path: root/vcl/source/control/field2.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-08-07 14:03:59 +0200
committerNoel Grandin <noel@peralex.com>2013-08-12 11:56:49 +0200
commitdb3f16317e0b0f931fdfcb6f19f8cc474bd70683 (patch)
treee7bde547793da27ef2861f6f051efb80c3b59207 /vcl/source/control/field2.cxx
parent8129fffd1beefbc2844fcf3912c65290ce657d79 (diff)
convert String to OUString in VCL
Change-Id: Ie5c6874298641dc6fc1b6b4e2206a704acd7cc10
Diffstat (limited to 'vcl/source/control/field2.cxx')
-rw-r--r--vcl/source/control/field2.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/control/field2.cxx b/vcl/source/control/field2.cxx
index 7891e63f5917..12d15a22aaca 100644
--- a/vcl/source/control/field2.cxx
+++ b/vcl/source/control/field2.cxx
@@ -1035,13 +1035,13 @@ static sal_uInt16 ImplCutMonthFromString( OUString& rStr, const CalendarWrapper&
// search for a month' name
for ( sal_uInt16 i=1; i <= 12; i++ )
{
- String aMonthName = rCalendarWrapper.getMonths()[i-1].FullName;
+ OUString aMonthName = rCalendarWrapper.getMonths()[i-1].FullName;
// long month name?
if ( ImplCutMonthName( rStr, aMonthName ) )
return i;
// short month name?
- String aAbbrevMonthName = rCalendarWrapper.getMonths()[i-1].AbbrevName;
+ OUString aAbbrevMonthName = rCalendarWrapper.getMonths()[i-1].AbbrevName;
if ( ImplCutMonthName( rStr, aAbbrevMonthName ) )
return i;
}