diff options
Diffstat (limited to 'idlc')
-rw-r--r-- | idlc/source/idlcproduce.cxx | 2 | ||||
-rw-r--r-- | idlc/source/options.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/idlc/source/idlcproduce.cxx b/idlc/source/idlcproduce.cxx index 93dc8ba7df86..5eaacbe0c6b1 100644 --- a/idlc/source/idlcproduce.cxx +++ b/idlc/source/idlcproduce.cxx @@ -67,7 +67,7 @@ static sal_Bool checkOutputPath(const OString& completeName) { buffer.append(sysPathName.getToken(0, SEPARATOR, nIndex)); - if ( buffer.getLength() > 0 && nIndex != -1 ) + if ( !buffer.isEmpty() && nIndex != -1 ) { #if defined(SAL_UNX) if (mkdir((char*)buffer.getStr(), 0777) == -1) diff --git a/idlc/source/options.cxx b/idlc/source/options.cxx index 375e1454f850..095a97164608 100644 --- a/idlc/source/options.cxx +++ b/idlc/source/options.cxx @@ -222,7 +222,7 @@ bool Options::initOptions(std::vector< std::string > & rArgs) throw(IllegalArgum sal_Int32 k = 0; do { - if (buffer.getLength() > 0) + if (!buffer.isEmpty()) buffer.append(' '); // buffer.append("-I\""); buffer.append(param.getToken(0, ';', k)); |