diff --git a/sw/source/core/unocore/unoframe.cxx b/sw/source/core/unocore/unoframe.cxx index 58be8ab33c5f..6eab6597e37d 100644 --- a/sw/source/core/unocore/unoframe.cxx +++ b/sw/source/core/unocore/unoframe.cxx @@ -1232,7 +1232,7 @@ SwXFrame::~SwXFrame() delete pProps; } -template +template uno::Reference SwXFrame::CreateXFrame(SwDoc & rDoc, SwFrmFmt *const pFrmFmt) { @@ -1244,7 +1244,9 @@ SwXFrame::CreateXFrame(SwDoc & rDoc, SwFrmFmt *const pFrmFmt) } if (!xFrame.is()) { - Impl *const pNew((pFrmFmt) ? new Impl(*pFrmFmt) : new Impl(&rDoc)); + NameLookupIsHard *const pNew((pFrmFmt) + ? new NameLookupIsHard(*pFrmFmt) + : new NameLookupIsHard(&rDoc)); xFrame.set(pNew); if (pFrmFmt) {