micro opts
This commit is contained in:
parent
84f40b44e8
commit
fff151e9c3
2 changed files with 2 additions and 2 deletions
|
@ -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))
|
||||
|
|
|
@ -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());
|
||||
|
|
Loading…
Reference in a new issue