Kaydet (Commit) edcb5a3c authored tarafından Caolán McNamara's avatar Caolán McNamara

Disconnect and Connect don't do anything now

Change-Id: If18f530f613e7cb9d0c8f0989752f31178c97dcd
üst 34c8903f
...@@ -288,8 +288,6 @@ class SVL_DLLPUBLIC DdeTopic ...@@ -288,8 +288,6 @@ class SVL_DLLPUBLIC DdeTopic
SVL_DLLPRIVATE void _Disconnect( sal_IntPtr ); SVL_DLLPRIVATE void _Disconnect( sal_IntPtr );
public: public:
void Connect( sal_IntPtr );
void Disconnect( sal_IntPtr );
virtual DdeData* Get(SotClipboardFormatId); virtual DdeData* Get(SotClipboardFormatId);
virtual bool Put( const DdeData* ); virtual bool Put( const DdeData* );
virtual bool Execute( const OUString* ); virtual bool Execute( const OUString* );
......
...@@ -170,7 +170,6 @@ HDDEDATA CALLBACK DdeInternal::SvrCallback( ...@@ -170,7 +170,6 @@ HDDEDATA CALLBACK DdeInternal::SvrCallback(
pTopic = FindTopic( *pService, hText1 ); pTopic = FindTopic( *pService, hText1 );
if ( pTopic ) if ( pTopic )
{ {
pTopic->Connect( (sal_IntPtr) hConv );
pC = new Conversation; pC = new Conversation;
pC->hConv = hConv; pC->hConv = hConv;
pC->pTopic = pTopic; pC->pTopic = pTopic;
...@@ -678,21 +677,11 @@ void DdeTopic::NotifyClient( const OUString& rItem ) ...@@ -678,21 +677,11 @@ void DdeTopic::NotifyClient( const OUString& rItem )
} }
} }
void DdeTopic::Connect( sal_IntPtr /*nId*/ )
{
}
void DdeTopic::Disconnect( sal_IntPtr /*nId*/ )
{
}
void DdeTopic::_Disconnect( sal_IntPtr nId ) void DdeTopic::_Disconnect( sal_IntPtr nId )
{ {
std::vector<DdeItem*>::iterator iter; std::vector<DdeItem*>::iterator iter;
for (iter = aItems.begin(); iter != aItems.end(); ++iter) for (iter = aItems.begin(); iter != aItems.end(); ++iter)
(*iter)->DecMonitor( nId ); (*iter)->DecMonitor( nId );
Disconnect( nId );
} }
DdeData* DdeTopic::Get(SotClipboardFormatId /*nFmt*/) DdeData* DdeTopic::Get(SotClipboardFormatId /*nFmt*/)
......
...@@ -145,14 +145,6 @@ DdeTopic::~DdeTopic() ...@@ -145,14 +145,6 @@ DdeTopic::~DdeTopic()
{ {
} }
void DdeTopic::Connect( SAL_UNUSED_PARAMETER long )
{
}
void DdeTopic::Disconnect( SAL_UNUSED_PARAMETER long )
{
}
void DdeTopic::InsertItem( SAL_UNUSED_PARAMETER DdeItem* ) void DdeTopic::InsertItem( SAL_UNUSED_PARAMETER DdeItem* )
{ {
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment