summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@novell.com>2011-05-21 16:26:08 +0300
committerTor Lillqvist <tlillqvist@novell.com>2011-05-21 16:26:08 +0300
commit11c71842f6d73f80cc40d2752421eec9af40bb51 (patch)
treed6de27d1d9e96bae92a6b7e7db3ce661b1582afb /framework
parent15083950a5c814dd5765ef49751a2700052a5a99 (diff)
Drop OS2
Diffstat (limited to 'framework')
-rw-r--r--framework/source/services/license.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/source/services/license.cxx b/framework/source/services/license.cxx
index fa2a40938b4c..3144df16befa 100644
--- a/framework/source/services/license.cxx
+++ b/framework/source/services/license.cxx
@@ -96,7 +96,7 @@ static const char *szLicensePath = "/share/readme";
#ifdef UNX
static const char *szUNXLicenseName = "/LICENSE";
static const char *szUNXLicenseExt = "";
-#elif defined(WNT) || defined(OS2)
+#elif defined(WNT)
static const char *szWNTLicenseName = "/license";
static const char *szWNTLicenseExt = ".txt";
#endif
@@ -279,7 +279,7 @@ css::uno::Any SAL_CALL License::execute(const css::uno::Sequence< css::beans::Na
aLangString += aLocale.Variant;
}
}
-#if defined(WNT) || defined(OS2)
+#if defined(WNT)
::rtl::OUString aLicensePath =
aBaseInstallPath + ::rtl::OUString::createFromAscii(szLicensePath)
+ ::rtl::OUString::createFromAscii(szWNTLicenseName)