diff options
author | Zolnai Tamás <tamas.zolnai@collabora.com> | 2014-11-03 16:36:42 +0100 |
---|---|---|
committer | Zolnai Tamás <tamas.zolnai@collabora.com> | 2014-11-07 10:45:09 +0100 |
commit | ccdf558157b7e1b31d8bfd7cce45468f5013fb6d (patch) | |
tree | 06f2c367dcace96dfd1d3263e10ae46443cf8f8e /sw/inc | |
parent | a6d96c808d76ff0b45466902150929e339d19406 (diff) |
Swap in graphic by SwGrfNode and not manually
It's a Writer specific problem, that images lost during export
because of not swapped in graphic data.
Other components (Impress, Calc...) use SdrGrafObj to get the
graphic and SdrGrafObj calls swap in before retrun with the
graphic.
Change-Id: I7398d8e3f6535199b10de048acd58543bdb42531
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/ndgrf.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/inc/ndgrf.hxx b/sw/inc/ndgrf.hxx index 212a612b9bdc..2b50fce7ec24 100644 --- a/sw/inc/ndgrf.hxx +++ b/sw/inc/ndgrf.hxx @@ -123,8 +123,8 @@ class SW_DLLPUBLIC SwGrfNode: public SwNoTxtNode public: virtual ~SwGrfNode(); - const Graphic& GetGrf() const { return maGrfObj.GetGraphic(); } - const GraphicObject& GetGrfObj() const { return maGrfObj; } + const Graphic& GetGrf() const; + const GraphicObject& GetGrfObj() const; const GraphicObject* GetReplacementGrfObj() const; virtual SwCntntNode *SplitCntntNode( const SwPosition & ) SAL_OVERRIDE; |