[Libreoffice-commits] core.git: include/svx svx/source

Regina Henschel rb.henschel at t-online.de
Sun Jun 10 15:23:03 UTC 2018


 include/svx/svdpage.hxx       |    1 -
 svx/source/svdraw/svdpage.cxx |    3 ---
 2 files changed, 4 deletions(-)

New commits:
commit 4c1a09a16b9c778119c77c8061ab5fd40dca6942
Author: Regina Henschel <rb.henschel at t-online.de>
Date:   Sun Jun 10 15:39:54 2018 +0200

    Remove unused member aPrefVisiLayers
    
    The only users were removed 18-Nov-2011 in
    commit ddb1d5eb, Felix Zhang.
    
    Change-Id: I3843d278881203f63f5daf24a3acf27b7d1f4aa9
    Reviewed-on: https://gerrit.libreoffice.org/55562
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/include/svx/svdpage.hxx b/include/svx/svdpage.hxx
index 418b3488f094..96fa50607806 100644
--- a/include/svx/svdpage.hxx
+++ b/include/svx/svdpage.hxx
@@ -430,7 +430,6 @@ protected:
     // new MasterPageDescriptorVector
     std::unique_ptr<sdr::MasterPageDescriptor> mpMasterPageDescriptor;
 
-    SdrLayerIDSet       aPrefVisiLayers;
     sal_uInt16          nPageNum;
 
     bool                mbMaster : 1;               // flag if this is a MasterPage
diff --git a/svx/source/svdraw/svdpage.cxx b/svx/source/svdraw/svdpage.cxx
index cf3ae4d41eb9..6c6bd36eda83 100644
--- a/svx/source/svdraw/svdpage.cxx
+++ b/svx/source/svdraw/svdpage.cxx
@@ -1146,14 +1146,12 @@ SdrPage::SdrPage(SdrModel& rModel, bool bMasterPage)
     mpSdrPageProperties(nullptr),
     mxUnoPage(),
     mpMasterPageDescriptor(nullptr),
-    aPrefVisiLayers(),
     nPageNum(0),
     mbMaster(bMasterPage),
     mbInserted(false),
     mbObjectsNotPersistent(false),
     mbPageBorderOnlyLeftRight(false)
 {
-    aPrefVisiLayers.SetAll();
     mpSdrPageProperties.reset(new SdrPageProperties(*this));
 }
 
@@ -1209,7 +1207,6 @@ void SdrPage::lateInit(const SdrPage& rSrcPage)
     // the contained objects
     mbMaster = rSrcPage.mbMaster;
     mbPageBorderOnlyLeftRight = rSrcPage.mbPageBorderOnlyLeftRight;
-    aPrefVisiLayers = rSrcPage.aPrefVisiLayers;
     mnWidth = rSrcPage.mnWidth;
     mnHeight = rSrcPage.mnHeight;
     mnBorderLeft = rSrcPage.mnBorderLeft;


More information about the Libreoffice-commits mailing list