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
This commit is contained in:
prrvchr
2025-03-06 17:37:54 +01:00
committed by Stephan Bergmann
parent 8bf8873f30
commit ed90785aad

View File

@@ -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";