diff options
author | Matúš Kukan <matus.kukan@gmail.com> | 2012-08-07 10:59:58 +0200 |
---|---|---|
committer | Matúš Kukan <matus.kukan@gmail.com> | 2012-08-08 10:04:17 +0200 |
commit | b870f1420ea926f231502272eec08c45e9da4cc5 (patch) | |
tree | c47bd194512b1450408a50cfd70049e372d87b7b /sc | |
parent | 34c6421bddddb2128dd59acc867f73739ac1ca62 (diff) |
tubes: make contacts dialog a member of Collaboration class
Change-Id: Ib50b550f9486bc1abfeefd5d1aac57c0d712ec04
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/collab/sendfunc.cxx | 5 | ||||
-rw-r--r-- | sc/source/ui/view/cellsh3.cxx | 3 |
2 files changed, 2 insertions, 6 deletions
diff --git a/sc/source/ui/collab/sendfunc.cxx b/sc/source/ui/collab/sendfunc.cxx index f0c781253bf0..d4b0253bed82 100644 --- a/sc/source/ui/collab/sendfunc.cxx +++ b/sc/source/ui/collab/sendfunc.cxx @@ -32,11 +32,8 @@ #include "docsh.hxx" #include "docfunc.hxx" #include "sccollaboration.hxx" -#include <tubes/contacts.hxx> #include <tubes/manager.hxx> -#include <vector> - void ScDocFuncSend::RecvMessage( const rtl::OString &rString ) { try { @@ -127,7 +124,7 @@ sal_Bool ScDocFuncSend::SetNormalString( bool& o_rbNumFmtSet, const ScAddress& r mpCollaboration->SaveAndSendFile( NULL, rText ); if ( rtl::OUString( rText ) == "contacts" ) - tubes::createContacts( rDocShell.GetCollaboration() ); + mpCollaboration->DisplayContacts(); return true; // needs some code auditing action } diff --git a/sc/source/ui/view/cellsh3.cxx b/sc/source/ui/view/cellsh3.cxx index 4850229243c8..c0c4ad9f908e 100644 --- a/sc/source/ui/view/cellsh3.cxx +++ b/sc/source/ui/view/cellsh3.cxx @@ -54,7 +54,6 @@ #ifdef ENABLE_TELEPATHY #include "sccollaboration.hxx" -#include <tubes/contacts.hxx> #endif #define IS_EDITMODE() GetViewData()->HasEditView( GetViewData()->GetActivePart() ) @@ -118,7 +117,7 @@ void ScCellShell::Execute( SfxRequest& rReq ) case SID_COLLABORATION: #ifdef ENABLE_TELEPATHY - tubes::createContacts( GetViewData()->GetDocShell()->GetCollaboration() ); + GetViewData()->GetDocShell()->GetCollaboration()->DisplayContacts(); #endif break; |