summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-03-12 10:06:18 +0200
committerTor Lillqvist <tml@collabora.com>2014-03-12 10:14:46 +0200
commit3be1f13ba07b4df2e07c63973cdb563b7855476b (patch)
treeb4b00c80b9d6435d865d80eee44aab9df72fe9cd /vcl
parent4c7de23f97134a0ce1cf11d944f170eaceb0838e (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.cxx8
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();