summaryrefslogtreecommitdiffstats
path: root/unodevtools/source/skeletonmaker/javacompskeleton.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'unodevtools/source/skeletonmaker/javacompskeleton.cxx')
-rw-r--r--unodevtools/source/skeletonmaker/javacompskeleton.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/unodevtools/source/skeletonmaker/javacompskeleton.cxx b/unodevtools/source/skeletonmaker/javacompskeleton.cxx
index 741387cfe120..04cd31cb22a3 100644
--- a/unodevtools/source/skeletonmaker/javacompskeleton.cxx
+++ b/unodevtools/source/skeletonmaker/javacompskeleton.cxx
@@ -845,9 +845,7 @@ void generateSkeleton(ProgramOptions const & options,
// special case for the optional XLocalization interface. It should be
// implemented always. But it is parent of the XAddIn and we need it only
// if backwardcompatible is false.
- if (interfaces.find("com.sun.star.lang.XLocalizable") == interfaces.end()) {
- interfaces.insert("com.sun.star.lang.XLocalizable");
- }
+ interfaces.insert("com.sun.star.lang.XLocalizable");
}
}