Kaydet (Commit) 3970eede authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Surely this is Linux-only code

The initial commit in 2012 even says so, and nothing has changed it
since.

Feel free to fix more properly by making sure this code can be called
only on Linux..

Change-Id: Idb0a2b5594daa0cde7f4797b51ba3e5876170f9f
üst 1c1d9867
......@@ -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: */
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