diff options
author | Andrzej J.R. Hunt <andrzej@ahunt.org> | 2012-09-18 20:36:30 +0200 |
---|---|---|
committer | Andrzej J.R. Hunt <andrzej@ahunt.org> | 2012-09-18 20:36:30 +0200 |
commit | 22c0e6556a630a736288c5b1b24f39fe4124566e (patch) | |
tree | ea53656873a34548be2ad606bea7577dd5d22e59 /sd/source | |
parent | 8f81eb2d742408548088e46b9ccab3a006015102 (diff) |
Some more fixes for ENABLE_SDREMOTE.
Change-Id: I56a8235ec0b844fc427c9d646357eb28943bf688
Diffstat (limited to 'sd/source')
-rw-r--r-- | sd/source/ui/app/sddll.cxx | 2 | ||||
-rw-r--r-- | sd/source/ui/dlg/RemoteDialog.cxx | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/sd/source/ui/app/sddll.cxx b/sd/source/ui/app/sddll.cxx index a5dec04dbef8..355d8bee2683 100644 --- a/sd/source/ui/app/sddll.cxx +++ b/sd/source/ui/app/sddll.cxx @@ -125,7 +125,9 @@ void SdDLL::Init() SdrObjFactory::InsertMakeUserDataHdl(LINK(&aSdObjectFactory, SdObjectFactory, MakeUserData)); // register your exotic remote controlls here +#ifdef ENABLE_SDREMOTE RegisterRemotes(); +#endif } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sd/source/ui/dlg/RemoteDialog.cxx b/sd/source/ui/dlg/RemoteDialog.cxx index e6079234999b..288ad2971281 100644 --- a/sd/source/ui/dlg/RemoteDialog.cxx +++ b/sd/source/ui/dlg/RemoteDialog.cxx @@ -66,6 +66,7 @@ IMPL_LINK_NOARG(RemoteDialog, HandleConnectButton) else return 1; #endif + return 0; } IMPL_LINK_NOARG( RemoteDialog, CloseHdl ) @@ -76,8 +77,8 @@ IMPL_LINK_NOARG( RemoteDialog, CloseHdl ) RemoteServer::setBluetoothDiscoverable( false ); } Close(); - return 0; #endif + return 0; } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
\ No newline at end of file |