summaryrefslogtreecommitdiffstats
path: root/unodevtools
diff options
context:
space:
mode:
Diffstat (limited to 'unodevtools')
-rw-r--r--unodevtools/source/skeletonmaker/cpptypemaker.cxx4
-rw-r--r--unodevtools/source/skeletonmaker/javatypemaker.cxx4
-rw-r--r--unodevtools/source/skeletonmaker/skeletoncommon.cxx2
3 files changed, 5 insertions, 5 deletions
diff --git a/unodevtools/source/skeletonmaker/cpptypemaker.cxx b/unodevtools/source/skeletonmaker/cpptypemaker.cxx
index 936b5841a479..4080b993bf47 100644
--- a/unodevtools/source/skeletonmaker/cpptypemaker.cxx
+++ b/unodevtools/source/skeletonmaker/cpptypemaker.cxx
@@ -353,7 +353,7 @@ void printSetPropertyMixinBody(
OString s(fieldtype.getToken(0, '<', nPos));
OString t = s.copy(s.lastIndexOf('/')+1);
- if (t.equals("Optional")) {
+ if (t == "Optional") {
optional=true;
if (single) {
single=false;
@@ -429,7 +429,7 @@ void printMethods(std::ostream & o,
static OString sd("_");
bool body = !delegate.isEmpty();
- bool defaultbody = delegate.equals(sd);
+ bool defaultbody = delegate == sd;
if (body && propertyhelper.getLength() > 1) {
if (name == "com.sun.star.beans.XPropertySet") {
diff --git a/unodevtools/source/skeletonmaker/javatypemaker.cxx b/unodevtools/source/skeletonmaker/javatypemaker.cxx
index ec60403064c6..2a5c84cb0400 100644
--- a/unodevtools/source/skeletonmaker/javatypemaker.cxx
+++ b/unodevtools/source/skeletonmaker/javatypemaker.cxx
@@ -351,7 +351,7 @@ void printSetPropertyMixinBody(
buffer.append(')');
OString t = buffer.makeStringAndClear();
- if ( t.equals("((Optional)") ) {
+ if ( t == "((Optional)" ) {
optional=true;
if (single) {
single=false;
@@ -441,7 +441,7 @@ void printMethods(std::ostream & o,
static OString sd("_");
bool body = !delegate.isEmpty();
- bool defaultbody = delegate.equals(sd);
+ bool defaultbody = delegate == sd;
generated.add(u2b(name));
rtl::Reference< unoidl::Entity > ent;
diff --git a/unodevtools/source/skeletonmaker/skeletoncommon.cxx b/unodevtools/source/skeletonmaker/skeletoncommon.cxx
index d4c269a394f9..7910d163d543 100644
--- a/unodevtools/source/skeletonmaker/skeletoncommon.cxx
+++ b/unodevtools/source/skeletonmaker/skeletoncommon.cxx
@@ -63,7 +63,7 @@ bool getOutputStream(ProgramOptions const & options,
OString & tmpSourceFileName)
{
bool bStandardout = false;
- if ( options.outputpath.equals("stdout") )
+ if ( options.outputpath == "stdout" )
{
bStandardout = true;
*ppOutputStream = &std::cout;