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

Tor Lillqvist tml at iki.fi
Wed Feb 27 01:24:03 PST 2013


 vcl/inc/vcl/apptypes.hxx |    9 ---------
 vcl/inc/vcl/svapp.hxx    |   11 -----------
 vcl/source/app/svapp.cxx |   10 +---------
 3 files changed, 1 insertion(+), 29 deletions(-)

New commits:
commit 005ad68b15152431c691fe220b0547424f2b9d88
Author: Tor Lillqvist <tml at iki.fi>
Date:   Wed Feb 27 10:45:45 2013 +0200

    ApplicationProperty and PropertyHandler are unused
    
    Change-Id: I509210429995d4b69f30814222295d12065a7a85

diff --git a/vcl/inc/vcl/apptypes.hxx b/vcl/inc/vcl/apptypes.hxx
index 10270ef..ebb1eb7 100644
--- a/vcl/inc/vcl/apptypes.hxx
+++ b/vcl/inc/vcl/apptypes.hxx
@@ -37,13 +37,6 @@
 #define EXC_MAJORTYPE               ((sal_uInt16)0xFF00)
 #define EXC_MINORTYPE               ((sal_uInt16)0x00FF)
 
-class VCL_DLLPUBLIC ApplicationProperty
-{
-public:
-    virtual ~ApplicationProperty() {}
-    TYPEINFO();
-};
-
 #define VCL_INPUT_MOUSE                 0x0001
 #define VCL_INPUT_KEYBOARD              0x0002
 #define VCL_INPUT_PAINT                 0x0004
diff --git a/vcl/inc/vcl/svapp.hxx b/vcl/inc/vcl/svapp.hxx
index 76f87e2..f4c415b 100644
--- a/vcl/inc/vcl/svapp.hxx
+++ b/vcl/inc/vcl/svapp.hxx
@@ -126,15 +126,6 @@ private:
     rtl::OUString aData;
 };
 
-class VCL_DLLPUBLIC PropertyHandler
-{
-public:
-    virtual void                Property( ApplicationProperty& ) = 0;
-
-protected:
-    ~PropertyHandler() {}
-};
-
 // ---------------
 // - Application -
 // ---------------
@@ -249,8 +240,6 @@ public:
 
     virtual void                AppEvent( const ApplicationEvent& rAppEvent );
 
-    virtual void                Property( ApplicationProperty& );
-
 #ifndef NO_GETAPPWINDOW
     static WorkWindow*          GetAppWindow();
 #endif
diff --git a/vcl/source/app/svapp.cxx b/vcl/source/app/svapp.cxx
index b8d35a3..9536aab 100644
--- a/vcl/source/app/svapp.cxx
+++ b/vcl/source/app/svapp.cxx
@@ -1807,17 +1807,9 @@ bool InitAccessBridge( bool bShowCancel, bool &rCancelled )
     return bRet;
 }
 
-// MT: AppProperty, AppEvent was in oldsv.cxx, but is still needed...
+// MT: AppEvent was in oldsv.cxx, but is still needed...
 // ------------------------------------------------------------------------
 
-TYPEINIT0(ApplicationProperty)
-
-// ------------------------------------------------------------------------
-
-void Application::Property( ApplicationProperty& /*rProp*/ )
-{
-}
-
 void Application::AppEvent( const ApplicationEvent& /*rAppEvent*/ )
 {
 }
commit 8f12733297b29b65971203acbb603c6c4c02e2a4
Author: Tor Lillqvist <tml at iki.fi>
Date:   Wed Feb 27 09:54:41 2013 +0200

    UNIQUEID_SV_BEGIN is unused
    
    Change-Id: I19406e3a5daa1937342a796f8effd2b6551387b9

diff --git a/vcl/inc/vcl/apptypes.hxx b/vcl/inc/vcl/apptypes.hxx
index 3b5d8b3..10270ef 100644
--- a/vcl/inc/vcl/apptypes.hxx
+++ b/vcl/inc/vcl/apptypes.hxx
@@ -37,8 +37,6 @@
 #define EXC_MAJORTYPE               ((sal_uInt16)0xFF00)
 #define EXC_MINORTYPE               ((sal_uInt16)0x00FF)
 
-#define UNIQUEID_SV_BEGIN           64000
-
 class VCL_DLLPUBLIC ApplicationProperty
 {
 public:


More information about the Libreoffice-commits mailing list