[Libreoffice-commits] .: svx/inc svx/source

Joseph Powers jpowers at kemper.freedesktop.org
Sat Dec 25 15:41:39 PST 2010


 svx/inc/svx/unopage.hxx        |    5 ++---
 svx/source/unodraw/unopage.cxx |   17 +++++------------
 2 files changed, 7 insertions(+), 15 deletions(-)

New commits:
commit 8c3bb4bc63edc9b434294e55cb1089f7bbafb6b1
Author: Joseph Powers <jpowers27 at cox.net>
Date:   Sat Dec 25 15:41:27 2010 -0800

    Remove DECLARE_LIST( SvxDrawPageList, SvxDrawPage *)
    
    Plus remove a macro that isn't used.

diff --git a/svx/inc/svx/unopage.hxx b/svx/inc/svx/unopage.hxx
index 1f6cbe5..dcd3240 100644
--- a/svx/inc/svx/unopage.hxx
+++ b/svx/inc/svx/unopage.hxx
@@ -2,7 +2,7 @@
 /*************************************************************************
  *
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- * 
+ *
  * Copyright 2000, 2010 Oracle and/or its affiliates.
  *
  * OpenOffice.org - a multi-platform office productivity suite
@@ -44,7 +44,7 @@
 #include <editeng/mutxhelp.hxx>
 #include "svx/svxdllapi.h"
 
-#include <cppuhelper/implbase5.hxx> 
+#include <cppuhelper/implbase5.hxx>
 #include <comphelper/servicehelper.hxx>
 
 #include <svx/unoprov.hxx>
@@ -60,7 +60,6 @@ class SvxShape;
 class SvxShapeGroup;
 class SvxShapeConnector;
 class SvxShapeList;
-class SvxDrawPageList;
 
 /***********************************************************************
 * Macros fuer Umrechnung Twips<->100tel mm                             *
diff --git a/svx/source/unodraw/unopage.cxx b/svx/source/unodraw/unopage.cxx
index 2aba85e..bdd14ec 100644
--- a/svx/source/unodraw/unopage.cxx
+++ b/svx/source/unodraw/unopage.cxx
@@ -2,7 +2,7 @@
 /*************************************************************************
  *
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- * 
+ *
  * Copyright 2000, 2010 Oracle and/or its affiliates.
  *
  * OpenOffice.org - a multi-platform office productivity suite
@@ -71,13 +71,6 @@ using namespace ::com::sun::star::drawing;
 #define INTERFACE_TYPE( xint ) \
     ::getCppuType((const Reference< xint >*)0)
 
-#define QUERYINT( xint ) \
-    if( rType == ::getCppuType((const Reference< xint >*)0) ) \
-        aAny <<= Reference< xint >(this)
-
-DECLARE_LIST( SvxDrawPageList, SvxDrawPage * )
-
-
 /**********************************************************************
 * class SvxDrawPage                                                   *
 **********************************************************************/
@@ -89,7 +82,7 @@ SvxDrawPage::SvxDrawPage( SdrPage* pInPage ) throw()
 , mpPage( pInPage )
 , mpModel( 0 )
 {
-    DBG_CTOR(SvxDrawPage,NULL);    
+    DBG_CTOR(SvxDrawPage,NULL);
     // Am Broadcaster anmelden
     if( mpPage )
         mpModel = mpPage->GetModel();
@@ -112,7 +105,7 @@ SvxDrawPage::SvxDrawPage() throw()
 , mpModel( NULL )
 , mpView( NULL )
 {
-    DBG_CTOR(SvxDrawPage,NULL);    
+    DBG_CTOR(SvxDrawPage,NULL);
 }
 
 //----------------------------------------------------------------------
@@ -124,7 +117,7 @@ SvxDrawPage::~SvxDrawPage() throw()
         acquire();
         dispose();
     }
-    DBG_DTOR(SvxDrawPage,NULL);    
+    DBG_DTOR(SvxDrawPage,NULL);
 }
 
 //----------------------------------------------------------------------
@@ -994,7 +987,7 @@ SdrPage* GetSdrPageFromXDrawPage( uno::Reference< drawing::XDrawPage > xDrawPage
     if(xDrawPage.is())
     {
         SvxDrawPage* pDrawPage = SvxDrawPage::getImplementation( xDrawPage );
-        
+
         if(pDrawPage)
         {
             return pDrawPage->GetSdrPage();


More information about the Libreoffice-commits mailing list