diff options
author | Jelle van der Waa <jelle@vdwaa.nl> | 2013-06-22 12:52:31 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2013-06-24 21:44:24 +0000 |
commit | 51daa4de4fbb86903aeb9cdfefbb089e8d00c001 (patch) | |
tree | 760a9c2cf7a84714e76cfc759cafa72cbdcc07d1 /rsc | |
parent | 7b692924a83937b8fab3215fcca154d1abd4a6c8 (diff) |
fdo#43460 sd,rsc,ucb,sdext: use isEmpty()
Change-Id: I7a7a77c26b74078f7fc160fbaa1c8d4e912b844e
Reviewed-on: https://gerrit.libreoffice.org/4442
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'rsc')
-rw-r--r-- | rsc/source/rsc/rsc.cxx | 4 |
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); |