summaryrefslogtreecommitdiff
path: root/vcl/aqua
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-11-14 13:13:19 +0200
committerNoel Grandin <noel@peralex.com>2013-11-19 10:29:30 +0200
commit2c35fff7eca3a143d28dc75e6a73fe1101d2af77 (patch)
treefb31b64880b06b0e2bd867aa6216ae0259c7c091 /vcl/aqua
parentccc297097891e62489e5d281a4ea128ec6b71361 (diff)
remove most use of RTL_CONSTASCII_USTRINGPARAM macro
This is largely unnecessary when working with OUString Change-Id: I3cf4d68357a43665d01162ef4a2d5346a45da9be
Diffstat (limited to 'vcl/aqua')
-rw-r--r--vcl/aqua/source/gdi/aquaprintaccessoryview.mm12
1 files changed, 6 insertions, 6 deletions
diff --git a/vcl/aqua/source/gdi/aquaprintaccessoryview.mm b/vcl/aqua/source/gdi/aquaprintaccessoryview.mm
index d1dee34bee36..0ba51e5bb115 100644
--- a/vcl/aqua/source/gdi/aquaprintaccessoryview.mm
+++ b/vcl/aqua/source/gdi/aquaprintaccessoryview.mm
@@ -111,15 +111,15 @@ class ControllerProperties
rtl::OUString getMoreString()
{
return maLocalizedStrings.Count() >= 4
- ? rtl::OUString( maLocalizedStrings.GetString( 3 ) )
- : rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "More" ) );
+ ? OUString( maLocalizedStrings.GetString( 3 ) )
+ : OUString( "More" );
}
rtl::OUString getPrintSelectionString()
{
return maLocalizedStrings.Count() >= 5
- ? rtl::OUString( maLocalizedStrings.GetString( 4 ) )
- : rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "Print selection only" ) );
+ ? OUString( maLocalizedStrings.GetString( 4 ) )
+ : OUString( "Print selection only" );
}
void updatePrintJob()
@@ -1267,7 +1267,7 @@ static void addEdit( NSView* pCurParent, long& rCurX, long& rCurY, long nAttachO
// new tab item
if( ! aText.getLength() )
- aText = rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "OOo" ) );
+ aText = OUString( "OOo" );
NSString* pLabel = CreateNSString( aGroupTitle );
NSTabViewItem* pItem = [[NSTabViewItem alloc] initWithIdentifier: pLabel ];
[pItem setLabel: pLabel];
@@ -1288,7 +1288,7 @@ static void addEdit( NSView* pCurParent, long& rCurX, long& rCurY, long nAttachO
{
addBool( pCurParent, nCurX, nCurY, 0,
pControllerProperties->getPrintSelectionString(), bSelectionBoxEnabled,
- rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "PrintContent" ) ), bSelectionBoxChecked,
+ OUString( "PrintContent" ), bSelectionBoxChecked,
aRightColumn, pControllerProperties, pCtrlTarget );
bAddSelectionCheckBox = false;
}