diff options
author | Tor Lillqvist <tml@collabora.com> | 2014-03-12 10:06:18 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2014-03-12 10:14:46 +0200 |
commit | 3be1f13ba07b4df2e07c63973cdb563b7855476b (patch) | |
tree | b4b00c80b9d6435d865d80eee44aab9df72fe9cd /vcl | |
parent | 4c7de23f97134a0ce1cf11d944f170eaceb0838e (diff) |
Rename the Application_Impl class to DummyApplication
Application_Impl is a misleading name, sounds much too important, as if it was
*the* implementation of Application, used in all cases, which is not the
case.
Change-Id: I61ab7261598029429d3c745a8409400025dc4a9a
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/app/svmain.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/vcl/source/app/svmain.cxx b/vcl/source/app/svmain.cxx index 029f051bd424..1c68c00df95b 100644 --- a/vcl/source/app/svmain.cxx +++ b/vcl/source/app/svmain.cxx @@ -190,14 +190,14 @@ int SVMain() return ImplSVMain(); } -// This variable is set, when no Application object is instantiated -// before SVInit is called +// This variable is set when no Application object has been instantiated +// before InitVCL is called static Application * pOwnSvApp = NULL; // Exception handler. pExceptionHandler != NULL => VCL already inited oslSignalHandler pExceptionHandler = NULL; -class Application_Impl : public Application +class DummyApplication : public Application { public: int Main() { return EXIT_SUCCESS; }; @@ -245,7 +245,7 @@ bool InitVCL() if( !ImplGetSVData()->mpApp ) { - pOwnSvApp = new Application_Impl(); + pOwnSvApp = new DummyApplication(); } InitSalMain(); |