diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-08-13 11:20:11 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-08-14 10:45:54 +0200 |
commit | 9456d6cd5fd473a01cbebeb19b6cd284cf37e166 (patch) | |
tree | b4bd126a968c9a6d19b3aafa30806b18bbd89016 /sw/source/core/graphic | |
parent | ea77c31944c7ca8896e5e58f3f57d9a9cbe9b6bb (diff) |
loplugin:returnconstant in SwGrfNode
Change-Id: If6e7c7750db8cdc45a2c487f1aebcf504a0e1edb
Reviewed-on: https://gerrit.libreoffice.org/58958
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/core/graphic')
-rw-r--r-- | sw/source/core/graphic/ndgrf.cxx | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/sw/source/core/graphic/ndgrf.cxx b/sw/source/core/graphic/ndgrf.cxx index 63a0c43d946c..ead2aadfdac1 100644 --- a/sw/source/core/graphic/ndgrf.cxx +++ b/sw/source/core/graphic/ndgrf.cxx @@ -493,11 +493,6 @@ bool SwGrfNode::SwapIn(bool bWaitForData) return bRet; } -bool SwGrfNode::SwapOut() -{ - return true; -} - bool SwGrfNode::GetFileFilterNms( OUString* pFileNm, OUString* pFilterNm ) const { bool bRet = false; @@ -555,7 +550,7 @@ bool SwGrfNode::SavePersistentData() // Important note: see also fix for #i40014# // swap out into temp file - return SwapOut(); + return true; } bool SwGrfNode::RestorePersistentData() |