unodevtools/source/skeletonmaker/javacompskeleton.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit ed90785aad27068bb3f02fbc1cf584070418a89c Author: prrvchr <[email protected]> AuthorDate: Thu Mar 6 17:37:54 2025 +0100 Commit: Stephan Bergmann <[email protected]> CommitDate: Thu Mar 6 19:57:04 2025 +0100 tdf#165617 remove unused import from uno-skeletonmaker Change-Id: Ica9a8078cd85b224ea50fab878cbe339668e0604 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/182596 Reviewed-by: Stephan Bergmann <[email protected]> Tested-by: Jenkins 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; "; o << "import com.sun.star.uno.XComponentContext; "; - if (serviceobject) { + if (serviceobject && !options.passiveregistration) { o << "import com.sun.star.lib.uno.helper.Factory; "; o << "import com.sun.star.lang.XSingleComponentFactory; "; o << "import com.sun.star.registry.XRegistryKey; ";
