summaryrefslogtreecommitdiff
path: root/vcl/unx/kde/kdedata.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/unx/kde/kdedata.cxx')
-rw-r--r--vcl/unx/kde/kdedata.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/unx/kde/kdedata.cxx b/vcl/unx/kde/kdedata.cxx
index d1086b8ee04d..d66e22719784 100644
--- a/vcl/unx/kde/kdedata.cxx
+++ b/vcl/unx/kde/kdedata.cxx
@@ -143,7 +143,7 @@ void KDEXLib::Init()
for ( nIdx = 0; nIdx < nParams; ++nIdx )
{
osl_getCommandArg( nIdx, &aParam.pData );
- if ( !m_pFreeCmdLineArgs && aParam.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "-display" ) ) && nIdx + 1 < nParams )
+ if ( !m_pFreeCmdLineArgs && aParam == "-display" && nIdx + 1 < nParams )
{
osl_getCommandArg( nIdx + 1, &aParam.pData );
aDisplay = rtl::OUStringToOString( aParam, osl_getThreadTextEncoding() );