summaryrefslogtreecommitdiff
path: root/rsc
diff options
context:
space:
mode:
Diffstat (limited to 'rsc')
-rw-r--r--rsc/source/rsc/rsc.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/rsc/source/rsc/rsc.cxx b/rsc/source/rsc/rsc.cxx
index 0ef48b6cd26a..aa7a54a251f0 100644
--- a/rsc/source/rsc/rsc.cxx
+++ b/rsc/source/rsc/rsc.cxx
@@ -155,7 +155,7 @@ RscCmdLine::RscCmdLine( int argc, char ** argv, RscError * pEH )
{ // define include path
nCommands |= INCLUDE_FLAG;
OStringBuffer aBuffer(aPath);
- if (aBuffer.getLength())
+ if (!aBuffer.isEmpty())
aBuffer.append(SAL_PATHSEPARATOR);
aBuffer.append((*ppStr) + 2);
aPath = aBuffer.makeStringAndClear();
@@ -636,7 +636,7 @@ ERRTYPE RscCompiler::Link()
do
{
OString aToken = aSearchPath.getToken( 0, cSearchDelim, nIndex );
- if (aSysSearchPath.getLength())
+ if (!aSysSearchPath.isEmpty())
aSysSearchPath.append(cSearchDelim);
aSysSearchPath.append(aToken);
aSysSearchPath.append(cAccessDelim);