sfx2/source/doc/objserv.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit a93346144e2948fc5b2afc31601eb49a1a2838eb Author: Noel Grandin <n...@peralex.com> AuthorDate: Tue Apr 19 10:47:50 2022 +0200 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Tue Apr 19 13:19:09 2022 +0200 use of template param here confuses Visual Studio version 17.2.0 Preview 3.0 Change-Id: If73d984b0bbcfd85667ab859db7d86514af6c2b7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133166 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> diff --git a/sfx2/source/doc/objserv.cxx b/sfx2/source/doc/objserv.cxx index d3db98802433..0c150ece85e6 100644 --- a/sfx2/source/doc/objserv.cxx +++ b/sfx2/source/doc/objserv.cxx @@ -607,7 +607,7 @@ void SfxObjectShell::ExecFile_Impl(SfxRequest &rReq) { if (RET_OK == nResult) { - const SfxDocumentInfoItem* pDocInfoItem = SfxItemSet::GetItem<SfxDocumentInfoItem>(xDlg->GetOutputItemSet(), SID_DOCINFO, false); + const SfxDocumentInfoItem* pDocInfoItem = SfxItemSet::GetItem(xDlg->GetOutputItemSet(), SID_DOCINFO, false); if ( pDocInfoItem ) { // user has done some changes to DocumentInfo