diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2018-04-02 18:38:39 +0900 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2018-04-10 08:34:44 +0200 |
commit | 11163faafe718e65b25f0dfea8700d1a18d4dee6 (patch) | |
tree | f14c04b2821f22756489255d84c4afde2aaee54b /sw | |
parent | e4eb416c3ef81d098ed61caabd2077cbbb2418bc (diff) |
graphic: rename Set{Get,Is}Link to Set{Get,Is}GfxLink
The main reason is to differentiate when we have the GfxLink from
other (url, file) links which use the same terminology.
Change-Id: I805c61e7fb231062340562c51c25a189b2cfc7f7
Reviewed-on: https://gerrit.libreoffice.org/52245
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/graphic/ndgrf.cxx | 2 | ||||
-rw-r--r-- | sw/source/filter/ww8/rtfattributeoutput.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/core/graphic/ndgrf.cxx b/sw/source/core/graphic/ndgrf.cxx index 97660f6cbbde..d9adeb0bc922 100644 --- a/sw/source/core/graphic/ndgrf.cxx +++ b/sw/source/core/graphic/ndgrf.cxx @@ -591,7 +591,7 @@ void SwGrfNode::ReleaseLink() if( refLink.is() ) { const Graphic aLocalGraphic(maGrfObj.GetGraphic()); - const bool bHasOriginalData(aLocalGraphic.IsLink()); + const bool bHasOriginalData(aLocalGraphic.IsGfxLink()); { bInSwapIn = true; diff --git a/sw/source/filter/ww8/rtfattributeoutput.cxx b/sw/source/filter/ww8/rtfattributeoutput.cxx index ff0257873bc4..56c0d2f9d293 100644 --- a/sw/source/filter/ww8/rtfattributeoutput.cxx +++ b/sw/source/filter/ww8/rtfattributeoutput.cxx @@ -3923,9 +3923,9 @@ void RtfAttributeOutput::FlyFrameGraphic(const SwFlyFrameFormat* pFlyFrameFormat GfxLink aGraphicLink; const sal_Char* pBLIPType = nullptr; - if (rGraphic.IsLink()) + if (rGraphic.IsGfxLink()) { - aGraphicLink = rGraphic.GetLink(); + aGraphicLink = rGraphic.GetGfxLink(); nSize = aGraphicLink.GetDataSize(); pGraphicAry = aGraphicLink.GetData(); switch (aGraphicLink.GetType()) |