summaryrefslogtreecommitdiff
path: root/rsc/source/rsc/rsc.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'rsc/source/rsc/rsc.cxx')
-rw-r--r--rsc/source/rsc/rsc.cxx10
1 files changed, 1 insertions, 9 deletions
diff --git a/rsc/source/rsc/rsc.cxx b/rsc/source/rsc/rsc.cxx
index d1f19b7b103f..e736e618f8af 100644
--- a/rsc/source/rsc/rsc.cxx
+++ b/rsc/source/rsc/rsc.cxx
@@ -197,10 +197,6 @@ RscCmdLine::RscCmdLine( int argc, char ** argv, RscError * pEH )
aOutputSrs = (*ppStr) + 4;
bOutputSrsIsSet = true;
}
- else if( !rsc_strnicmp( (*ppStr) + 1, "oil=", 4 ) )
- {
- aILDir = (*ppStr) + 5;
- }
else if( !rsc_stricmp( (*ppStr) + 1, "NoSysResTest" ) )
{ // don't check Bitmap, Pointers, Icons
nCommands |= CommandFlags::NoSysResTest;
@@ -588,11 +584,7 @@ ERRTYPE RscCompiler::Link()
aRcTmp = lcl_getTempFile(sTempDirUrl);
- OUString sOilDirUrl;
- if(!pCL->aILDir.isEmpty())
- sOilDirUrl = lcl_getAbsoluteUrl(sPwdUrl, pCL->aILDir);
- else
- sOilDirUrl = sTempDirUrl;
+ OUString sOilDirUrl = sTempDirUrl;
aSysListTmp = lcl_getTempFile(sOilDirUrl);