Kaydet (Commit) dd3b0fa6 authored tarafından Noel Grandin's avatar Noel Grandin Kaydeden (comit) Michael Stahl

Remove unused field

Change-Id: I962c2bbd29b2ce2e39bf0f9db4c12fc5535cf4f6
üst b94bff54
......@@ -31,7 +31,6 @@
#include <tools/string.hxx>
#include <tools/stream.hxx>
#include <tools/contnr.hxx>
#include <svx/svdsob.hxx>
#include <svx/svdtypes.hxx> // fuer typedef SdrLayerID
#include "svx/svxdllapi.h"
......@@ -86,7 +85,6 @@ friend class SdrPage;
protected:
std::vector<SdrLayer*> aLayer;
Container aLSets;
SdrLayerAdmin* pParent; // Der Admin der Seite kennt den Admin des Docs
SdrModel* pModel; // zum Broadcasten
String aControlLayerName;
......
......@@ -33,6 +33,7 @@
#include <vcl/print.hxx>
#include <vcl/gdimtf.hxx>
#include <tools/weakbase.hxx>
#include <tools/contnr.hxx>
#include <cppuhelper/weakref.hxx>
#include <svx/svdtypes.hxx>
#include <svx/svdlayer.hxx>
......
......@@ -160,7 +160,6 @@ bool SdrLayer::operator==(const SdrLayer& rCmpLayer) const
SdrLayerAdmin::SdrLayerAdmin(SdrLayerAdmin* pNewParent):
aLayer(),
aLSets(1024,16,16),
pModel(NULL)
{
aControlLayerName = String(RTL_CONSTASCII_USTRINGPARAM("Controls"));
......@@ -169,7 +168,6 @@ SdrLayerAdmin::SdrLayerAdmin(SdrLayerAdmin* pNewParent):
SdrLayerAdmin::SdrLayerAdmin(const SdrLayerAdmin& rSrcLayerAdmin):
aLayer(),
aLSets(1024,16,16),
pParent(NULL),
pModel(NULL)
{
......@@ -204,8 +202,8 @@ const SdrLayerAdmin& SdrLayerAdmin::operator=(const SdrLayerAdmin& rSrcLayerAdmi
bool SdrLayerAdmin::operator==(const SdrLayerAdmin& rCmpLayerAdmin) const
{
if (pParent!=rCmpLayerAdmin.pParent ||
aLayer.size()!=rCmpLayerAdmin.aLayer.size() ||
aLSets.Count()!=rCmpLayerAdmin.aLSets.Count()) return sal_False;
aLayer.size()!=rCmpLayerAdmin.aLayer.size())
return sal_False;
bool bOk = true;
sal_uInt16 nAnz=GetLayerCount();
sal_uInt16 i=0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment