diff options
author | Regina Henschel <rb.henschel@t-online.de> | 2018-10-29 13:28:22 +0100 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2018-10-30 07:39:42 +0100 |
commit | 922c4a61ca21848777703a28abfd442dd0b4a858 (patch) | |
tree | a5ad1757c043d9f6fb58ba1434e20baeba2ff22e /svx | |
parent | 5242ad5f2b4ad44fee8a6b2524e55907d3329ad1 (diff) |
Remove now unused mbUserDefinedLayer from SdrLayer
Commit 'Special methods NewStandardLayer and SetStandardLayer
not needed' has removed the last user of mbUserDefinedLayer.
Change-Id: Id4d4fbbfa9b1425225181ea6b0750a4205683902
Reviewed-on: https://gerrit.libreoffice.org/62506
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/svdraw/svdlayer.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
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); } |