vcl/source/components/factory.cxx | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-)
New commits: commit 4b426f9fe58cb57d6c08e072d7406e6d6f5715ba Author: Christopher Sherlock <chris.sherloc...@gmail.com> AuthorDate: Tue Dec 10 02:26:49 2024 +1100 Commit: Michael Weghorn <m.wegh...@posteo.de> CommitDate: Fri Dec 20 10:46:51 2024 +0100 vcl: remove using namespace from components/factory.cxx Change-Id: I778a9b676cfba626b05ba5bf008d333ce5a4543f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/178160 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.wegh...@posteo.de> diff --git a/vcl/source/components/factory.cxx b/vcl/source/components/factory.cxx index 2a2014125bee..4967d0de5254 100644 --- a/vcl/source/components/factory.cxx +++ b/vcl/source/components/factory.cxx @@ -24,9 +24,6 @@ #include <factory.hxx> -using namespace com::sun::star::uno; -using namespace com::sun::star::lang; - extern "C" { VCL_DLLPUBLIC void* vcl_component_getFactory( @@ -37,10 +34,10 @@ extern "C" { if (!pXUnoSMgr) return nullptr; - Reference< css::lang::XMultiServiceFactory > xMgr( + css::uno::Reference<css::lang::XMultiServiceFactory> xMgr( static_cast<css::lang::XMultiServiceFactory*>(pXUnoSMgr)); - Reference< css::lang::XSingleServiceFactory > xFactory; + css::uno::Reference<css::lang::XSingleServiceFactory> xFactory; if( vcl::DragSource_getImplementationName().equalsAscii( pImplementationName ) ) {