diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-06-08 08:51:44 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-06-08 17:17:36 +0200 |
commit | 53312ca4ee722a6d5ba22d1f578c6de5fbc37207 (patch) | |
tree | 0958ed3af146236305947489425f12f73e9cbcc9 /starmath | |
parent | 4aa60490622cc10f8d3a31489c62a5622d240c83 (diff) |
loplugin:unusedmethods
Change-Id: I52efd8d843d0e4cc7a6adefb0eb95aa50469af38
Reviewed-on: https://gerrit.libreoffice.org/73693
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/inc/AccessibleSmElement.hxx | 2 | ||||
-rw-r--r-- | starmath/inc/AccessibleSmElementsControl.hxx | 4 | ||||
-rw-r--r-- | starmath/inc/ElementsDockingWindow.hxx | 1 | ||||
-rw-r--r-- | starmath/inc/document.hxx | 2 | ||||
-rw-r--r-- | starmath/source/document.cxx | 8 |
5 files changed, 0 insertions, 17 deletions
diff --git a/starmath/inc/AccessibleSmElement.hxx b/starmath/inc/AccessibleSmElement.hxx index 9b168bbee4cb..9f63d1607ef7 100644 --- a/starmath/inc/AccessibleSmElement.hxx +++ b/starmath/inc/AccessibleSmElement.hxx @@ -57,8 +57,6 @@ public: sal_Int32 nIndexInParent); void SetFocus(bool _bFocus); - bool HasFocus() const { return m_bHasFocus; } - void ReleaseSmElementsControl() { m_pSmElementsControl = nullptr; } sal_uInt16 itemId() const { return m_nItemId; } DECLARE_XINTERFACE() diff --git a/starmath/inc/AccessibleSmElementsControl.hxx b/starmath/inc/AccessibleSmElementsControl.hxx index d38d57dc92c2..8afea99bf18a 100644 --- a/starmath/inc/AccessibleSmElementsControl.hxx +++ b/starmath/inc/AccessibleSmElementsControl.hxx @@ -40,10 +40,6 @@ class AccessibleSmElementsControl final : public comphelper::OAccessibleComponen std::vector<rtl::Reference<AccessibleSmElement>> m_aAccessibleChildren; VclPtr<SmElementsControl> m_pControl; - AccessibleSmElement* GetItem_Impl(sal_uInt16 _nPos); - void ReleaseFocus_Impl(sal_uInt16 _nPos); - sal_Int32 implGetAccessibleChildCount(); - void ReleaseItems(bool bNotifyRemoval); void UpdateFocus(sal_uInt16); inline void TestControl(); diff --git a/starmath/inc/ElementsDockingWindow.hxx b/starmath/inc/ElementsDockingWindow.hxx index fe86ebd422f6..2cf3a33e482c 100644 --- a/starmath/inc/ElementsDockingWindow.hxx +++ b/starmath/inc/ElementsDockingWindow.hxx @@ -140,7 +140,6 @@ public: sal_uInt16 itemCount() const; sal_uInt16 itemHighlighted() const; - sal_uInt16 itemFocused() const; sal_uInt16 itemAtPos(const Point& rPos) const; tools::Rectangle itemPosRect(sal_uInt16) const; bool itemIsSeparator(sal_uInt16) const; diff --git a/starmath/inc/document.hxx b/starmath/inc/document.hxx index 2e2c7fab4211..6041e304e2ad 100644 --- a/starmath/inc/document.hxx +++ b/starmath/inc/document.hxx @@ -182,8 +182,6 @@ public: OUString const & GetAccessibleText(); EditEngine & GetEditEngine(); - SfxItemPool & GetEditEngineItemPool(); - const SvtLinguOptions & GetLinguOptions() const { return maLinguOptions; } void DrawFormula(OutputDevice &rDev, Point &rPosition, bool bDrawSelection = false); Size GetSize(); diff --git a/starmath/source/document.cxx b/starmath/source/document.cxx index bec09afd3163..da0411cbd974 100644 --- a/starmath/source/document.cxx +++ b/starmath/source/document.cxx @@ -377,14 +377,6 @@ EditEngine& SmDocShell::GetEditEngine() } -SfxItemPool& SmDocShell::GetEditEngineItemPool() -{ - if (!mpEditEngineItemPool) - GetEditEngine(); - assert(mpEditEngineItemPool && "EditEngineItemPool missing"); - return *mpEditEngineItemPool; -} - void SmDocShell::DrawFormula(OutputDevice &rDev, Point &rPosition, bool bDrawSelection) { if (!mpTree) |