diff options
Diffstat (limited to 'unodevtools/source/skeletonmaker/javatypemaker.cxx')
-rw-r--r-- | unodevtools/source/skeletonmaker/javatypemaker.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unodevtools/source/skeletonmaker/javatypemaker.cxx b/unodevtools/source/skeletonmaker/javatypemaker.cxx index 71764de0ada4..50244b10eda5 100644 --- a/unodevtools/source/skeletonmaker/javatypemaker.cxx +++ b/unodevtools/source/skeletonmaker/javatypemaker.cxx @@ -443,7 +443,7 @@ void printMethods(std::ostream & o, static OString sd("_"); bool body = !delegate.isEmpty(); - bool defaultbody = ((delegate.equals(sd)) ? true : false); + bool defaultbody = delegate.equals(sd); generated.add(u2b(name)); rtl::Reference< unoidl::Entity > ent; |