summaryrefslogtreecommitdiffstats
path: root/sal
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2010-10-24 20:34:11 +0100
committerCaolán McNamara <caolanm@redhat.com>2010-10-24 20:34:11 +0100
commitfff151e9c3f0794e8a4ae969b6cbc0f4a7bd5b57 (patch)
tree7134e938bc352885458dbcf3491e96339b05e400 /sal
parentFix some more typos in documentation (diff)
downloadcore-fff151e9c3f0794e8a4ae969b6cbc0f4a7bd5b57.tar.gz
core-fff151e9c3f0794e8a4ae969b6cbc0f4a7bd5b57.zip
micro opts
Diffstat (limited to 'sal')
-rw-r--r--sal/osl/unx/file_url.cxx2
-rw-r--r--sal/rtl/source/bootstrap.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sal/osl/unx/file_url.cxx b/sal/osl/unx/file_url.cxx
index 99e79bb2168d..dcda0e4dc804 100644
--- a/sal/osl/unx/file_url.cxx
+++ b/sal/osl/unx/file_url.cxx
@@ -765,7 +765,7 @@ namespace /* private */
bool find_in_PATH(const rtl::OUString& file_path, rtl::OUString& result)
{
bool bfound = false;
- rtl::OUString path = rtl::OUString::createFromAscii("PATH");
+ rtl::OUString path(RTL_CONSTASCII_USTRINGPARAM("PATH"));
rtl::OUString env_path;
if (osl_Process_E_None == osl_getEnvironment(path.pData, &env_path.pData))
diff --git a/sal/rtl/source/bootstrap.cxx b/sal/rtl/source/bootstrap.cxx
index fdeff93fd769..f303a81dd8d9 100644
--- a/sal/rtl/source/bootstrap.cxx
+++ b/sal/rtl/source/bootstrap.cxx
@@ -273,7 +273,7 @@ static OUString & getIniFileName_Impl()
&& fileName.copy(fileName.getLength() - progExt.getLength()).equalsIgnoreAsciiCase(progExt))
fileName = fileName.copy(0, fileName.getLength() - progExt.getLength());
- progExt = OUString::createFromAscii(".exe");
+ progExt = OUString(RTL_CONSTASCII_USTRINGPARAM(".exe"));
if(fileName.getLength() > progExt.getLength()
&& fileName.copy(fileName.getLength() - progExt.getLength()).equalsIgnoreAsciiCase(progExt))
fileName = fileName.copy(0, fileName.getLength() - progExt.getLength());