summaryrefslogtreecommitdiff
path: root/sw/source/core/graphic/ndgrf.cxx
diff options
context:
space:
mode:
authorBjoern Michaelsen <bjoern.michaelsen@canonical.com>2015-03-24 13:02:36 +0100
committerBjoern Michaelsen <bjoern.michaelsen@canonical.com>2015-03-24 15:59:42 +0100
commitb8d5647180db0f6c7e23d7ca9e14ab95fa4aa557 (patch)
treecfc2b115b7368ebefce5572ef8831872224cf7ba /sw/source/core/graphic/ndgrf.cxx
parent4da56c0cea4da68a0707b24ad286765400cce0be (diff)
rename GetDepends->HasWriterListener and make it a bool
Change-Id: Idc090c9e105f24ef91ef123db03db6d6e67ed1d4
Diffstat (limited to 'sw/source/core/graphic/ndgrf.cxx')
-rw-r--r--sw/source/core/graphic/ndgrf.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/graphic/ndgrf.cxx b/sw/source/core/graphic/ndgrf.cxx
index 1693add78fc7..339476704c78 100644
--- a/sw/source/core/graphic/ndgrf.cxx
+++ b/sw/source/core/graphic/ndgrf.cxx
@@ -317,7 +317,7 @@ SwGrfNode::~SwGrfNode()
// inside one document has to be implemented.
}
//#39289# delete frames already here since the Frms' dtor needs the graphic for its StopAnimation
- if( GetDepends() )
+ if( HasWriterListeners() )
DelFrms();
}