summaryrefslogtreecommitdiff
path: root/unodevtools
diff options
context:
space:
mode:
authorprrvchr <prrvchr@gmail.com>2025-03-06 17:37:54 +0100
committerStephan Bergmann <stephan.bergmann@allotropia.de>2025-03-06 19:57:04 +0100
commited90785aad27068bb3f02fbc1cf584070418a89c (patch)
tree242bb33ea0db0ad82811b4cee53d35b0835278fa /unodevtools
parent8bf8873f3091f131f6b4067d5a5f868882949114 (diff)
tdf#165617 remove unused import from uno-skeletonmaker
Change-Id: Ica9a8078cd85b224ea50fab878cbe339668e0604 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/182596 Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de> Tested-by: Jenkins
Diffstat (limited to 'unodevtools')
-rw-r--r--unodevtools/source/skeletonmaker/javacompskeleton.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/unodevtools/source/skeletonmaker/javacompskeleton.cxx b/unodevtools/source/skeletonmaker/javacompskeleton.cxx
index 89dd9d8f8ce7..906385878245 100644
--- a/unodevtools/source/skeletonmaker/javacompskeleton.cxx
+++ b/unodevtools/source/skeletonmaker/javacompskeleton.cxx
@@ -47,7 +47,7 @@ static void generateImports(std::ostream & o, ProgramOptions const & options,
if (options.componenttype == 3)
o << "import com.sun.star.uno.UnoRuntime;\n";
o << "import com.sun.star.uno.XComponentContext;\n";
- if (serviceobject) {
+ if (serviceobject && !options.passiveregistration) {
o << "import com.sun.star.lib.uno.helper.Factory;\n";
o << "import com.sun.star.lang.XSingleComponentFactory;\n";
o << "import com.sun.star.registry.XRegistryKey;\n";