summaryrefslogtreecommitdiff
path: root/idlc/source/errorhandler.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'idlc/source/errorhandler.cxx')
-rw-r--r--idlc/source/errorhandler.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/idlc/source/errorhandler.cxx b/idlc/source/errorhandler.cxx
index 4f5dcfcc37d8..a5ee0eb5de2e 100644
--- a/idlc/source/errorhandler.cxx
+++ b/idlc/source/errorhandler.cxx
@@ -481,7 +481,7 @@ static OString flagToString(sal_uInt32 flag)
flagStr += "'attribute'";
if ( (flag & AF_PROPERTY) == AF_PROPERTY )
flagStr += "'property'";
- if ( !flagStr.getLength() )
+ if ( flagStr.isEmpty() )
flagStr += "'unknown'";
return flagStr;