diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2011-12-06 20:27:29 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2011-12-06 20:28:56 +0100 |
commit | 2a9c1d1a75b7d4e79dfbc6be3dada1a1e959e58e (patch) | |
tree | a1f99c2b4ab4806bc117d8552fbd2e8472bf4e90 /desktop | |
parent | f547b2c4788439380c3202407c251153be0c5b8e (diff) |
Make dialogs fail with an exception in headless tests.
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/source/app/appinit.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/source/app/appinit.cxx b/desktop/source/app/appinit.cxx index 31c0cf91b65f..89641857c82d 100644 --- a/desktop/source/app/appinit.cxx +++ b/desktop/source/app/appinit.cxx @@ -237,7 +237,7 @@ void Desktop::RegisterServices( Reference< XMultiServiceFactory >& xSMgr ) // Headless mode for FAT Office bHeadlessMode = rCmdLine.IsHeadless(); if ( bHeadlessMode ) - Application::EnableHeadlessMode(); + Application::EnableHeadlessMode(false); if ( conDcp.getLength() > 0 ) { |