diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2022-05-04 19:32:02 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2022-05-04 22:29:41 +0200 |
commit | 1f110bf567bc5ea85d19a5a4d273ac072f8aaced (patch) | |
tree | 2596961923487b3e8e796ac92ae25f65d29bb46a /connectivity/source/manager/mdrivermanager.cxx | |
parent | cc6247a064360c943421a1cdcb996bf9a7324c2f (diff) |
Just use Any ctor instead of makeAny in connectivity
Change-Id: I68e7354f094ee0e673d105dd8770a658810703d4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133838
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'connectivity/source/manager/mdrivermanager.cxx')
-rw-r--r-- | connectivity/source/manager/mdrivermanager.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/connectivity/source/manager/mdrivermanager.cxx b/connectivity/source/manager/mdrivermanager.cxx index c605573b703e..e7e0adf5e4fb 100644 --- a/connectivity/source/manager/mdrivermanager.cxx +++ b/connectivity/source/manager/mdrivermanager.cxx @@ -99,7 +99,7 @@ Any SAL_CALL ODriverEnumeration::nextElement( ) if ( !hasMoreElements() ) throwNoSuchElementException(); - return makeAny( *m_aPos++ ); + return Any( *m_aPos++ ); } namespace @@ -186,7 +186,7 @@ namespace // one argument for creating the node access: the path to the configuration node Sequence< Any > aCreationArgs{ Any(NamedValue( - "nodepath", makeAny( OUString("org.openoffice.Office.DataAccess/DriverManager") ) )) }; + "nodepath", Any( OUString("org.openoffice.Office.DataAccess/DriverManager") ) )) }; // create the node access Reference< XNameAccess > xDriverManagerNode( |