diff options
author | Zolnai Tamás <tamas.zolnai@collabora.com> | 2014-10-31 18:27:30 +0100 |
---|---|---|
committer | Zolnai Tamás <tamas.zolnai@collabora.com> | 2014-11-07 10:45:15 +0100 |
commit | 78657d31ca3118759b7e817d12886f3b713aea07 (patch) | |
tree | 5c39b624d1499043db9d293d2c098aaf8f048e5b /sw/source/core/ole/ndole.cxx | |
parent | c163d06882b9ef39165bf277606fc70f7ed0435e (diff) |
Remove unused Graphic member of SwOLENode
Change-Id: Iaff7e86a8e11e9befc6feacdafd3a78a1971bbcd
Diffstat (limited to 'sw/source/core/ole/ndole.cxx')
-rw-r--r-- | sw/source/core/ole/ndole.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sw/source/core/ole/ndole.cxx b/sw/source/core/ole/ndole.cxx index 35df868ac038..396394629be1 100644 --- a/sw/source/core/ole/ndole.cxx +++ b/sw/source/core/ole/ndole.cxx @@ -211,7 +211,6 @@ SwOLENode::SwOLENode( const SwNodeIndex &rWhere, SwAttrSet* pAutoAttr ) : SwNoTxtNode( rWhere, ND_OLENODE, pGrfColl, pAutoAttr ), aOLEObj( xObj ), - pGraphic(0), bOLESizeInvalid( false ), mpObjectLink( NULL ) { @@ -225,7 +224,6 @@ SwOLENode::SwOLENode( const SwNodeIndex &rWhere, SwAttrSet* pAutoAttr ) : SwNoTxtNode( rWhere, ND_OLENODE, pGrfColl, pAutoAttr ), aOLEObj( rString, nAspect ), - pGraphic(0), bOLESizeInvalid( false ), mpObjectLink( NULL ) { @@ -235,14 +233,13 @@ SwOLENode::SwOLENode( const SwNodeIndex &rWhere, SwOLENode::~SwOLENode() { DisconnectFileLink_Impl(); - delete pGraphic; } const Graphic* SwOLENode::GetGraphic() { if ( aOLEObj.GetOleRef().is() ) return aOLEObj.xOLERef.GetGraphic(); - return pGraphic; + return 0; } SwCntntNode *SwOLENode::SplitCntntNode( const SwPosition & ) |