summaryrefslogtreecommitdiff
path: root/sw/source/core/graphic/ndgrf.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/graphic/ndgrf.cxx')
-rw-r--r--sw/source/core/graphic/ndgrf.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sw/source/core/graphic/ndgrf.cxx b/sw/source/core/graphic/ndgrf.cxx
index 6a3e587fa522..3cd7ef95507d 100644
--- a/sw/source/core/graphic/ndgrf.cxx
+++ b/sw/source/core/graphic/ndgrf.cxx
@@ -396,15 +396,15 @@ void SwGrfNode::SetGraphic(const Graphic& rGraphic, const OUString& rLink)
onGraphicChanged();
}
-const Graphic& SwGrfNode::GetGrf() const
+const Graphic& SwGrfNode::GetGrf(bool bWait) const
{
- const_cast<SwGrfNode*>(this)->SwapIn();
+ const_cast<SwGrfNode*>(this)->SwapIn(bWait);
return maGrfObj.GetGraphic();
}
-const GraphicObject& SwGrfNode::GetGrfObj() const
+const GraphicObject& SwGrfNode::GetGrfObj(bool bWait) const
{
- const_cast<SwGrfNode*>(this)->SwapIn();
+ const_cast<SwGrfNode*>(this)->SwapIn(bWait);
return maGrfObj;
}
@@ -461,7 +461,7 @@ Size SwGrfNode::GetTwipSize() const
{
if( !nGrfSize.Width() && !nGrfSize.Height() )
{
- const_cast<SwGrfNode*>(this)->SwapIn(true);
+ const_cast<SwGrfNode*>(this)->SwapIn();
}
return nGrfSize;
}