summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sfx2/source/dialog/bluthsnd.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/sfx2/source/dialog/bluthsnd.cxx b/sfx2/source/dialog/bluthsnd.cxx
index 9a0e89d8ac04..ecbb4459503f 100644
--- a/sfx2/source/dialog/bluthsnd.cxx
+++ b/sfx2/source/dialog/bluthsnd.cxx
@@ -38,6 +38,9 @@ SfxBluetoothModel::SendMailResult SfxBluetoothModel::SaveAndSend( const css::uno
SfxBluetoothModel::SendMailResult SfxBluetoothModel::Send( const css::uno::Reference< css::frame::XFrame >& /*xFrame*/ )
{
+#ifndef LINUX
+ return SEND_MAIL_ERROR;
+#else
char bthsend[300];
SendMailResult eResult = SEND_MAIL_OK;
OUString aFileName = maAttachedDocuments[0];
@@ -45,6 +48,7 @@ SfxBluetoothModel::SendMailResult SfxBluetoothModel::Send( const css::uno::Refer
if( !system( bthsend ) )
eResult = SEND_MAIL_ERROR;
return eResult;
+#endif
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */