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 20:51:05 +0100 |
commit | df5a73a9e3d44dd8a0af8c61552cdc14ca83bf2d (patch) | |
tree | 1f9935ebf2b7fe06cafb1ecb652e20aff1f7265a /svx | |
parent | 34c1b7bdd0bca4753f66a7d17ef46647a64a319e (diff) |
vcl: add a console-only mode to avoid problems on Mac for gengal.
Change-Id: Ie5332330e6f398c3cd7e58df9b12fac121f5426f
Diffstat (limited to 'svx')
-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; } |