diff options
-rw-r--r-- | include/svx/svdlayer.hxx | 1 | ||||
-rw-r--r-- | svx/source/svdraw/svdlayer.cxx | 4 |
2 files changed, 1 insertions, 4 deletions
diff --git a/include/svx/svdlayer.hxx b/include/svx/svdlayer.hxx index 9c7d9ae53432..dca763194356 100644 --- a/include/svx/svdlayer.hxx +++ b/include/svx/svdlayer.hxx @@ -67,7 +67,6 @@ class SVX_DLLPUBLIC SdrLayer bool mbPrintableODF; // corresponds to ODF draw:display bool mbLockedODF; // corresponds to ODF draw:protected SdrModel* pModel; // For broadcasting - bool mbUserDefinedLayer; SdrLayerID const nID; SdrLayer(SdrLayerID nNewID, const OUString& rNewName); diff --git a/svx/source/svdraw/svdlayer.cxx b/svx/source/svdraw/svdlayer.cxx index ab149bfcfa4b..a5b78f987ece 100644 --- a/svx/source/svdraw/svdlayer.cxx +++ b/svx/source/svdraw/svdlayer.cxx @@ -68,7 +68,7 @@ void SdrLayerIDSet::PutValue( const css::uno::Any & rAny ) } SdrLayer::SdrLayer(SdrLayerID nNewID, const OUString& rNewName) : - maName(rNewName), pModel(nullptr), mbUserDefinedLayer(true), nID(nNewID) + maName(rNewName), pModel(nullptr), nID(nNewID) { // ODF default values mbVisibleODF = true; @@ -82,7 +82,6 @@ void SdrLayer::SetName(const OUString& rNewName) return; maName = rNewName; - mbUserDefinedLayer = true; if (pModel) { @@ -95,7 +94,6 @@ void SdrLayer::SetName(const OUString& rNewName) bool SdrLayer::operator==(const SdrLayer& rCmpLayer) const { return (nID == rCmpLayer.nID - && mbUserDefinedLayer == rCmpLayer.mbUserDefinedLayer && maName == rCmpLayer.maName); } |