summaryrefslogtreecommitdiff
path: root/unodevtools/source/skeletonmaker/cppcompskeleton.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'unodevtools/source/skeletonmaker/cppcompskeleton.cxx')
-rw-r--r--unodevtools/source/skeletonmaker/cppcompskeleton.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/unodevtools/source/skeletonmaker/cppcompskeleton.cxx b/unodevtools/source/skeletonmaker/cppcompskeleton.cxx
index 097115d94879..c1fec780e9ff 100644
--- a/unodevtools/source/skeletonmaker/cppcompskeleton.cxx
+++ b/unodevtools/source/skeletonmaker/cppcompskeleton.cxx
@@ -1101,9 +1101,7 @@ void generateCalcAddin(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");
}
OUString propertyhelper = checkPropertyHelper(