summaryrefslogtreecommitdiff
path: root/sw/source/uibase/app/apphdl.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2022-05-03 16:22:03 +0200
committerStephan Bergmann <sbergman@redhat.com>2022-05-03 21:38:56 +0200
commitca734f7cfa55814a85d5940e5f64d7c53638f6a7 (patch)
tree6958c7a84693891a687f29eead25297da0470e46 /sw/source/uibase/app/apphdl.cxx
parentdc3b0983561f9166da9f3d48f8c64f9077193b0c (diff)
Just use Any ctor instead of makeAny in sw
Change-Id: I2c9023ba8d07314d23ae7a65e670e8748c5e9322 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133766 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sw/source/uibase/app/apphdl.cxx')
-rw-r--r--sw/source/uibase/app/apphdl.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/sw/source/uibase/app/apphdl.cxx b/sw/source/uibase/app/apphdl.cxx
index bf5b82fd5f81..958b326f6400 100644
--- a/sw/source/uibase/app/apphdl.cxx
+++ b/sw/source/uibase/app/apphdl.cxx
@@ -772,15 +772,15 @@ void SwModule::ExecOther(SfxRequest& rReq)
// now the record has to be merged into the source document
// TODO can we re-use PerformMailMerge() here somehow?
const SwDBData& rDBData = xConfigItem->GetCurrentDBData();
- uno::Sequence<uno::Any> vSelection({ uno::makeAny(xConfigItem->GetResultSetPosition()) });
+ uno::Sequence<uno::Any> vSelection({ uno::Any(xConfigItem->GetResultSetPosition()) });
svx::ODataAccessDescriptor aDescriptor(::comphelper::InitPropertySequence({
- {"Selection", uno::makeAny(vSelection)},
- {"DataSourceName", uno::makeAny(rDBData.sDataSource)},
- {"Command", uno::makeAny(rDBData.sCommand)},
- {"CommandType", uno::makeAny(rDBData.nCommandType)},
- {"ActiveConnection", uno::makeAny(xConfigItem->GetConnection().getTyped())},
- {"Filter", uno::makeAny(xConfigItem->GetFilter())},
- {"Cursor", uno::makeAny(xConfigItem->GetResultSet())}
+ {"Selection", uno::Any(vSelection)},
+ {"DataSourceName", uno::Any(rDBData.sDataSource)},
+ {"Command", uno::Any(rDBData.sCommand)},
+ {"CommandType", uno::Any(rDBData.nCommandType)},
+ {"ActiveConnection", uno::Any(xConfigItem->GetConnection().getTyped())},
+ {"Filter", uno::Any(xConfigItem->GetFilter())},
+ {"Cursor", uno::Any(xConfigItem->GetResultSet())}
}));
SwWrtShell& rSh = pView->GetWrtShell();