[Libreoffice-commits] core.git: vcl/source

Tor Lillqvist tml at collabora.com
Wed Mar 12 01:15:17 PDT 2014


 vcl/source/app/svmain.cxx |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

New commits:
commit 3be1f13ba07b4df2e07c63973cdb563b7855476b
Author: Tor Lillqvist <tml at collabora.com>
Date:   Wed Mar 12 10:06:18 2014 +0200

    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

diff --git a/vcl/source/app/svmain.cxx b/vcl/source/app/svmain.cxx
index 029f051..1c68c00 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();
 


More information about the Libreoffice-commits mailing list