editeng/source/items/paraitem.cxx               |    1 -
 include/editeng/autodiritem.hxx                 |    1 -
 include/editeng/outliner.hxx                    |    4 ----
 sd/source/ui/sidebar/AllMasterPagesSelector.cxx |   20 --------------------
 sd/source/ui/sidebar/AllMasterPagesSelector.hxx |    4 ----
 5 files changed, 30 deletions(-)

New commits:
commit 38ad366d6970d98c30b2d91158b1a2ef0cdcd010
Author:     Noel Grandin <[email protected]>
AuthorDate: Mon Feb 2 12:54:24 2026 +0200
Commit:     Noel Grandin <[email protected]>
CommitDate: Mon Feb 2 14:34:52 2026 +0100

    loplugin:unusedmethods
    
    Change-Id: Ic00fb2aceef3156c3cff442908374daac3861e7f
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/198535
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <[email protected]>

diff --git a/editeng/source/items/paraitem.cxx 
b/editeng/source/items/paraitem.cxx
index 7aebb56824f0..9eda95057d76 100644
--- a/editeng/source/items/paraitem.cxx
+++ b/editeng/source/items/paraitem.cxx
@@ -53,7 +53,6 @@
 
 using namespace ::com::sun::star;
 
-SfxPoolItem* SvxAutoFrameDirectionItem::CreateDefault() { return new 
SvxAutoFrameDirectionItem(true, 0); }
 SfxPoolItem* SvxLineSpacingItem::CreateDefault() { return new  
SvxLineSpacingItem(LINE_SPACE_DEFAULT_HEIGHT, 0);}
 SfxPoolItem* SvxAdjustItem::CreateDefault() { return new  
SvxAdjustItem(SvxAdjust::ParaStart, 0);}
 SfxPoolItem* SvxWidowsItem::CreateDefault() { return new  SvxWidowsItem(0, 0);}
diff --git a/include/editeng/autodiritem.hxx b/include/editeng/autodiritem.hxx
index 60e4f2136faa..2b3cf3c4715a 100644
--- a/include/editeng/autodiritem.hxx
+++ b/include/editeng/autodiritem.hxx
@@ -24,7 +24,6 @@
 class EDITENG_DLLPUBLIC SvxAutoFrameDirectionItem final : public SfxBoolItem
 {
 public:
-    static SfxPoolItem* CreateDefault();
     DECLARE_ITEM_TYPE_FUNCTION(SvxAutoFrameDirectionItem)
     SvxAutoFrameDirectionItem(const bool bValue, const sal_uInt16 nId);
 
diff --git a/include/editeng/outliner.hxx b/include/editeng/outliner.hxx
index 0f3137916c8a..84bf25345cd9 100644
--- a/include/editeng/outliner.hxx
+++ b/include/editeng/outliner.hxx
@@ -189,10 +189,6 @@ private:
         return maBullet.maText;
     }
 
-    BulletInfo const& GetBullet()
-    {
-        return maBullet;
-    }
                         Paragraph( sal_Int16 nDepth );
                         Paragraph( const Paragraph& ) = delete;
                         Paragraph( const ParagraphData& );
diff --git a/sd/source/ui/sidebar/AllMasterPagesSelector.cxx 
b/sd/source/ui/sidebar/AllMasterPagesSelector.cxx
index 4b10d40af750..44dad78bea95 100644
--- a/sd/source/ui/sidebar/AllMasterPagesSelector.cxx
+++ b/sd/source/ui/sidebar/AllMasterPagesSelector.cxx
@@ -96,26 +96,6 @@ std::unique_ptr<PanelLayout> AllMasterPagesSelector::Create (
     return xSelector;
 }
 
-std::unique_ptr<PanelLayout> AllMasterPagesSelector::Create (
-    weld::Widget* pParent,
-    ViewShellBase& rViewShellBase)
-{
-    SdDrawDocument* pDocument = rViewShellBase.GetDocument();
-    if (pDocument == nullptr)
-        return nullptr;
-
-    auto pContainer = std::make_shared<MasterPageContainer>();
-
-    auto xSelector(std::make_unique<AllMasterPagesSelector>(
-            pParent,
-            *pDocument,
-            rViewShellBase,
-            pContainer));
-    xSelector->SetHelpId(HID_SD_TASK_PANE_PREVIEW_ALL);
-
-    return xSelector;
-}
-
 AllMasterPagesSelector::AllMasterPagesSelector(
     weld::Widget* pParent, SdDrawDocument& rDocument, ViewShellBase& rBase,
     const std::shared_ptr<MasterPageContainer>& rpContainer,
diff --git a/sd/source/ui/sidebar/AllMasterPagesSelector.hxx 
b/sd/source/ui/sidebar/AllMasterPagesSelector.hxx
index 8bfd34bf17be..99a5a64020bb 100644
--- a/sd/source/ui/sidebar/AllMasterPagesSelector.hxx
+++ b/sd/source/ui/sidebar/AllMasterPagesSelector.hxx
@@ -38,10 +38,6 @@ public:
         ViewShellBase& rViewShellBase,
         const css::uno::Reference<css::ui::XSidebar>& rxSidebar);
 
-    static std::unique_ptr<PanelLayout> Create (
-        weld::Widget* pParent,
-        ViewShellBase& rViewShellBase);
-
     // Sidebar
     AllMasterPagesSelector (
         weld::Widget* pParent,

Reply via email to