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

Don't bother with remote control support when headless (like in unit tests)

We got mysterious dbus and/or Avahi -related crashes in sd unit tests
otherwise.

Change-Id: Ia8beb5ca942f757eb423cb30b9000d3b52f5e920
üst 666fe3e9
...@@ -25,6 +25,7 @@ ...@@ -25,6 +25,7 @@
#include <svx/fmobjfac.hxx> #include <svx/fmobjfac.hxx>
#include <svx/svdfield.hxx> #include <svx/svdfield.hxx>
#include <svx/objfac3d.hxx> #include <svx/objfac3d.hxx>
#include <vcl/svapp.hxx>
#include "sddll.hxx" #include "sddll.hxx"
#include "DrawDocShell.hxx" #include "DrawDocShell.hxx"
...@@ -116,7 +117,8 @@ void SdDLL::Init() ...@@ -116,7 +117,8 @@ void SdDLL::Init()
// register your exotic remote controlls here // register your exotic remote controlls here
#ifdef ENABLE_SDREMOTE #ifdef ENABLE_SDREMOTE
RegisterRemotes(); if ( !Application::IsHeadlessModeRequested() )
RegisterRemotes();
#endif #endif
} }
......
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