summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorJoseph Powers <jpowers27@cox.net>2010-12-25 15:41:27 -0800
committerJoseph Powers <jpowers27@cox.net>2010-12-25 15:41:27 -0800
commit8c3bb4bc63edc9b434294e55cb1089f7bbafb6b1 (patch)
tree86302dd3ecfb092d0b09540efaa169de27869e5b /svx
parent166838c793ce1b2472dae5866c56946a1953c234 (diff)
Remove DECLARE_LIST( SvxDrawPageList, SvxDrawPage *)
Plus remove a macro that isn't used.
Diffstat (limited to 'svx')
-rw-r--r--svx/inc/svx/unopage.hxx5
-rw-r--r--svx/source/unodraw/unopage.cxx17
2 files changed, 7 insertions, 15 deletions
diff --git a/svx/inc/svx/unopage.hxx b/svx/inc/svx/unopage.hxx
index 1f6cbe5403..dcd32409e4 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 2aba85ef50..bdd14ecd7c 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();