summaryrefslogtreecommitdiff
path: root/sw/source/core/unocore/unoframe.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/unocore/unoframe.cxx')
-rw-r--r--sw/source/core/unocore/unoframe.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/unocore/unoframe.cxx b/sw/source/core/unocore/unoframe.cxx
index d9c508893107..789c24eb1903 100644
--- a/sw/source/core/unocore/unoframe.cxx
+++ b/sw/source/core/unocore/unoframe.cxx
@@ -1278,7 +1278,7 @@ SwXFrame::CreateXFrame(SwDoc & rDoc, SwFrameFormat *const pFrameFormat)
}
if (!xFrame.is())
{
- NameLookupIsHard *const pNew((pFrameFormat)
+ NameLookupIsHard *const pNew(pFrameFormat
? new NameLookupIsHard(*pFrameFormat)
: new NameLookupIsHard(&rDoc));
xFrame.set(pNew);
@@ -2849,7 +2849,7 @@ void SwXFrame::attachToRange(const uno::Reference< text::XTextRange > & xTextRan
(*pFilter) >>= sFltName;
}
- pFormat = (pGrfObj)
+ pFormat = pGrfObj
? pDoc->getIDocumentContentOperations().InsertGraphicObject(
aPam, *pGrfObj, &aFrameSet, &aGrSet, pParentFrameFormat)
: pDoc->getIDocumentContentOperations().InsertGraphic(