Kaydet (Commit) c310523a authored tarafından Michael Stahl's avatar Michael Stahl

C++ name lookup is hard, especially for clang tinderbox

Change-Id: I50a25e5cfa219bbdcf0a23c03b8e6a2cff72c3d6
üst 9a42c593
......@@ -1232,7 +1232,7 @@ SwXFrame::~SwXFrame()
delete pProps;
}
template<class Interface, class Impl>
template<class Interface, class NameLookupIsHard>
uno::Reference<Interface>
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)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment