[Libreoffice-commits] core.git: sw/source

Michael Weghorn (via logerrit) logerrit at kemper.freedesktop.org
Thu Nov 21 18:31:30 UTC 2019


 sw/source/uibase/inc/cfgitems.hxx |    2 --
 1 file changed, 2 deletions(-)

New commits:
commit 10cb99a810539f1f3691609700fe855c961ef6ac
Author:     Michael Weghorn <m.weghorn at posteo.de>
AuthorDate: Thu Nov 21 09:37:57 2019 +0100
Commit:     Michael Weghorn <m.weghorn at posteo.de>
CommitDate: Thu Nov 21 19:29:29 2019 +0100

    SwAddPrinterItem: Remove friend SwAddPrinterTabPage
    
    SwAddPrinterTabPage doesn't access any private members,
    so doesn't have to be a friend.
    
    Change-Id: I82918af61e7b1568127002e70da8c767aec7f03f
    Reviewed-on: https://gerrit.libreoffice.org/83392
    Tested-by: Jenkins
    Reviewed-by: Michael Weghorn <m.weghorn at posteo.de>

diff --git a/sw/source/uibase/inc/cfgitems.hxx b/sw/source/uibase/inc/cfgitems.hxx
index db525151a079..4118708306e3 100644
--- a/sw/source/uibase/inc/cfgitems.hxx
+++ b/sw/source/uibase/inc/cfgitems.hxx
@@ -97,8 +97,6 @@ public:
 // Item for settings dialog - printer/add-ons
 class SW_DLLPUBLIC SwAddPrinterItem : public SfxPoolItem, public SwPrintData
 {
-    friend class SwAddPrinterTabPage;
-
     using  SwPrintData::operator ==;
 
 public:


More information about the Libreoffice-commits mailing list