diff options
author | Jan-Marek Glogowski <glogow@fbihome.de> | 2017-10-26 16:38:36 +0200 |
---|---|---|
committer | Jan-Marek Glogowski <glogow@fbihome.de> | 2017-10-31 00:21:13 +0100 |
commit | 5631652200a1261e4fee8e51cca238a35b465d14 (patch) | |
tree | c6cf5512ba9826b0ec89e79abd231094776cf78e /sw/inc | |
parent | 60a03d97bc35c02cb1eff0e4a02b6f37fd1a6a34 (diff) |
Drop bDelayed from SwNodes::MakeGrfNode
There is no caller, which sets bDelayed. The comment
"// create object delayed, only from a SW/G-reader"
doesn't help me much either.
But in case of a linked image, it seems appropriate to just drop
the empty image and use the delayed SwGrfNode constructor.
At least a linked PDF and PNG still work.
Change-Id: Idff5599ac0ff04c3efcb141c731c0ee1cfa747de
Reviewed-on: https://gerrit.libreoffice.org/43908
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/ndarr.hxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/inc/ndarr.hxx b/sw/inc/ndarr.hxx index 80270f209f08..1c2bdf87a2bf 100644 --- a/sw/inc/ndarr.hxx +++ b/sw/inc/ndarr.hxx @@ -219,8 +219,7 @@ public: const OUString& rFltName, const Graphic* pGraphic, SwGrfFormatColl *pColl, - SwAttrSet const * pAutoAttr = nullptr, - bool bDelayed = false ); ///< in ndgrf.cxx + SwAttrSet const * pAutoAttr = nullptr ); ///< in ndgrf.cxx static SwGrfNode *MakeGrfNode( const SwNodeIndex & rWhere, const GraphicObject& rGrfObj, |