diff options
author | Michael Meeks <michael.meeks@suse.com> | 2013-06-04 18:29:42 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2013-06-04 21:31:25 +0100 |
commit | 4877a2304334909e8597b719e98144a1140e23ee (patch) | |
tree | 43dd9c7e8375cd24e2dff5ebaa94160b9d920843 /svx/source | |
parent | 5262fb38adc23ef9b96882bfdee175bcdb3b8b99 (diff) |
vcl: add a console-only mode to avoid problems on Mac for gengal.
Change-Id: Ie5332330e6f398c3cd7e58df9b12fac121f5426f
Diffstat (limited to 'svx/source')
-rw-r--r-- | svx/source/gengal/gengal.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/svx/source/gengal/gengal.cxx b/svx/source/gengal/gengal.cxx index 6b0ffac7ca5b..0f68d830e2ff 100644 --- a/svx/source/gengal/gengal.cxx +++ b/svx/source/gengal/gengal.cxx @@ -44,7 +44,9 @@ class GalApp : public Application bool mbInBuildTree; bool mbRelativeURLs; public: - GalApp() : mbInBuildTree( false ), mbRelativeURLs( false ) {} + GalApp() : mbInBuildTree( false ), mbRelativeURLs( false ) + { + } virtual int Main(); protected: @@ -254,6 +256,7 @@ void GalApp::DeInit() void vclmain::createApplication() { + Application::EnableConsoleOnly(); static GalApp aGalApp; } |