summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-12-12 12:25:01 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-12-12 12:25:01 +0100
commit554ba09f76ca1b7b29c0fc19aa4df443840b02d3 (patch)
tree2b934e7121815d7e9556b2a8c21e80da987e4080 /vcl
parent6088eb600bf68b65b4fe6eb89224d3cf66361cbf (diff)
vcl: Use appropriate OUString functions on string constants
Change-Id: Ie230115d71bffeb08fc13380648e8216c43f3a5d
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/gdi/jobset.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/vcl/source/gdi/jobset.cxx b/vcl/source/gdi/jobset.cxx
index ec1f44f6eb8b..d9fca2276d57 100644
--- a/vcl/source/gdi/jobset.cxx
+++ b/vcl/source/gdi/jobset.cxx
@@ -277,15 +277,15 @@ SvStream& ReadJobSetup( SvStream& rIStream, JobSetup& rJobSetup )
{
OUString aKey = read_uInt16_lenPrefixed_uInt8s_ToOUString(rIStream, RTL_TEXTENCODING_UTF8);
OUString aValue = read_uInt16_lenPrefixed_uInt8s_ToOUString(rIStream, RTL_TEXTENCODING_UTF8);
- if( aKey.equalsAscii( "COMPAT_DUPLEX_MODE" ) )
+ if( aKey == "COMPAT_DUPLEX_MODE" )
{
- if( aValue.equalsAscii( "DUPLEX_UNKNOWN" ) )
+ if( aValue == "DUPLEX_UNKNOWN" )
pJobData->meDuplexMode = DUPLEX_UNKNOWN;
- else if( aValue.equalsAscii( "DUPLEX_OFF" ) )
+ else if( aValue == "DUPLEX_OFF" )
pJobData->meDuplexMode = DUPLEX_OFF;
- else if( aValue.equalsAscii( "DUPLEX_SHORTEDGE" ) )
+ else if( aValue == "DUPLEX_SHORTEDGE" )
pJobData->meDuplexMode = DUPLEX_SHORTEDGE;
- else if( aValue.equalsAscii( "DUPLEX_LONGEDGE" ) )
+ else if( aValue == "DUPLEX_LONGEDGE" )
pJobData->meDuplexMode = DUPLEX_LONGEDGE;
}
else