diff options
Diffstat (limited to 'sw/source/core/ole/ndole.cxx')
-rw-r--r-- | sw/source/core/ole/ndole.cxx | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/sw/source/core/ole/ndole.cxx b/sw/source/core/ole/ndole.cxx index bceafee77284..cf7d48a09409 100644 --- a/sw/source/core/ole/ndole.cxx +++ b/sw/source/core/ole/ndole.cxx @@ -145,7 +145,6 @@ void SAL_CALL SwOLEListener_Impl::disposing( const lang::EventObject& ) throw (u pOLELRU_Cache->RemoveObj( *mpObj ); } - // SwEmbedObjectLink // TODO/LATER: actually SwEmbedObjectLink should be used here, but because different objects are used to control @@ -166,8 +165,6 @@ public: bool Connect() { return GetRealObject() != NULL; } }; - - SwEmbedObjectLink::SwEmbedObjectLink(SwOLENode* pNode): ::sfx2::SvBaseLink( ::sfx2::LINKUPDATE_ONCALL, SOT_FORMATSTR_ID_SVXB ), pOleNode(pNode) @@ -175,14 +172,10 @@ SwEmbedObjectLink::SwEmbedObjectLink(SwOLENode* pNode): SetSynchron( sal_False ); } - - SwEmbedObjectLink::~SwEmbedObjectLink() { } - - ::sfx2::SvBaseLink::UpdateResult SwEmbedObjectLink::DataChanged( const OUString&, const uno::Any& ) { @@ -216,19 +209,14 @@ SwEmbedObjectLink::~SwEmbedObjectLink() return SUCCESS; } - - void SwEmbedObjectLink::Closed() { pOleNode->BreakFileLink_Impl(); SvBaseLink::Closed(); } - - // SwOLENode - SwOLENode::SwOLENode( const SwNodeIndex &rWhere, const svt::EmbeddedObjectRef& xObj, SwGrfFmtColl *pGrfColl, @@ -364,7 +352,6 @@ sal_Bool SwOLENode::SavePersistentData() pCnt->RemoveEmbeddedObject( aOLEObj.aName, false, bKeepObjectToTempStorage ); // modify end - // TODO/LATER: aOLEObj.aName has no meaning here, since the undo container contains the object // by different name, in future it might makes sence that the name is transported here. aOLEObj.xOLERef.AssignToContainer( 0, aOLEObj.aName ); @@ -384,7 +371,6 @@ sal_Bool SwOLENode::SavePersistentData() return sal_True; } - SwOLENode * SwNodes::MakeOLENode( const SwNodeIndex & rWhere, const svt::EmbeddedObjectRef& xObj, SwGrfFmtColl* pGrfColl, @@ -408,7 +394,6 @@ SwOLENode * SwNodes::MakeOLENode( const SwNodeIndex & rWhere, return pNode; } - SwOLENode * SwNodes::MakeOLENode( const SwNodeIndex & rWhere, const OUString &rName, sal_Int64 nAspect, SwGrfFmtColl* pGrfColl, SwAttrSet* pAutoAttr ) { @@ -667,7 +652,6 @@ SwOLEObj::SwOLEObj( const svt::EmbeddedObjectRef& xObj ) : } } - SwOLEObj::SwOLEObj( const OUString &rString, sal_Int64 nAspect ) : pOLENd( 0 ), pListener( 0 ), @@ -677,7 +661,6 @@ SwOLEObj::SwOLEObj( const OUString &rString, sal_Int64 nAspect ) : xOLERef.SetViewAspect( nAspect ); } - SwOLEObj::~SwOLEObj() { if( pListener ) @@ -734,7 +717,6 @@ SwOLEObj::~SwOLEObj() xOLERef.Clear(); } - void SwOLEObj::SetNode( SwOLENode* pNode ) { pOLENd = pNode; @@ -920,7 +902,6 @@ OUString SwOLEObj::GetDescription() return SW_RESSTR(STR_OLE); } - SwOLELRUCache::SwOLELRUCache() : utl::ConfigItem(OUString("Office.Common/Cache")) , m_nLRU_InitSize( 20 ) |