summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@gmail.com>2012-08-04 20:12:57 +0200
committerMatúš Kukan <matus.kukan@gmail.com>2012-08-04 22:51:36 +0200
commitee1b41dcc2fd00c9b45c7a7a7e2357c2c9c23ed5 (patch)
tree7c5af0821df10b22723b11e32a7f1ff9ff732bfb /sc
parent8269d572d084d6db200f2c02a439c7d95a235643 (diff)
tubes: avoid ugly SAL_DLLPUBLIC_EXPORT here
Change-Id: Icd839cd70dd32f766ad52d74fcf3cff28281da7e
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/collab/sendfunc.cxx8
1 files changed, 1 insertions, 7 deletions
diff --git a/sc/source/ui/collab/sendfunc.cxx b/sc/source/ui/collab/sendfunc.cxx
index cbc37873b28e..7c2e1f3d2de7 100644
--- a/sc/source/ui/collab/sendfunc.cxx
+++ b/sc/source/ui/collab/sendfunc.cxx
@@ -47,9 +47,6 @@
namespace css = ::com::sun::star;
-// FIXME: this is only meant for demo I think
-extern void TeleManager_fileReceived( const OUString& );
-
void ScDocFuncSend::RecvMessage( const rtl::OString &rString )
{
try {
@@ -135,10 +132,7 @@ void ScDocFuncSend::SendFile( TpContact* pContact, const rtl::OUString &sUuid )
fprintf( stderr, "Temp file is '%s'\n",
rtl::OUStringToOString( aFileURL, RTL_TEXTENCODING_UTF8 ).getStr() );
- if (pContact)
- mpConference->sendFile( pContact, aFileURL, file_sent_cb, NULL );
- else
- TeleManager_fileReceived( aFileURL );
+ mpConference->sendFile( pContact, aFileURL, file_sent_cb, NULL );
// FIXME: unlink the file after send ...
}