summaryrefslogtreecommitdiff
path: root/vcl/unx/generic/desktopdetect/desktopdetector.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/unx/generic/desktopdetect/desktopdetector.cxx')
-rw-r--r--vcl/unx/generic/desktopdetect/desktopdetector.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/unx/generic/desktopdetect/desktopdetector.cxx b/vcl/unx/generic/desktopdetect/desktopdetector.cxx
index 8b7714dc030c..e98dfc2dce8f 100644
--- a/vcl/unx/generic/desktopdetect/desktopdetector.cxx
+++ b/vcl/unx/generic/desktopdetect/desktopdetector.cxx
@@ -246,7 +246,7 @@ static bool is_kde_desktop( Display* pDisplay )
return true; // does not exist => KDE3
}
- rtl::OUString aVer( RTL_CONSTASCII_USTRINGPARAM( "3" ) );
+ rtl::OUString aVer( "3" );
if ( aVer.equalsIgnoreAsciiCaseAscii( pVer ) )
{
return true;
@@ -263,7 +263,7 @@ static bool is_kde4_desktop( Display* pDisplay )
{
if ( NULL != getenv( "KDE_FULL_SESSION" ) )
{
- rtl::OUString aVer( RTL_CONSTASCII_USTRINGPARAM( "4" ) );
+ rtl::OUString aVer( "4" );
const char *pVer = getenv( "KDE_SESSION_VERSION" );
if ( pVer && aVer.equalsIgnoreAsciiCaseAscii( pVer ) )