diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-11-07 09:08:09 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-11-07 09:01:00 +0100 |
commit | 162f85283699692c5adf07e5b292979688bded93 (patch) | |
tree | b0aaebec113e69770b861d39b06ff64af4b278b0 /vcl | |
parent | 1129c848b360bd76174c941bb8fd98bfa5b9119c (diff) |
loplugin:unusedmethods
Change-Id: I65354c7476dfaede1a607441d7c1b0c7ad038df4
Reviewed-on: https://gerrit.libreoffice.org/82186
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/inc/svimpbox.hxx | 1 | ||||
-rw-r--r-- | vcl/inc/window.h | 1 | ||||
-rw-r--r-- | vcl/source/control/listbox.cxx | 6 | ||||
-rw-r--r-- | vcl/source/treelist/svtabbx.cxx | 12 | ||||
-rw-r--r-- | vcl/source/treelist/treelistbox.cxx | 10 | ||||
-rw-r--r-- | vcl/source/window/EnumContext.cxx | 8 |
6 files changed, 0 insertions, 38 deletions
diff --git a/vcl/inc/svimpbox.hxx b/vcl/inc/svimpbox.hxx index a97f8e3c6b9e..0ba5517671cf 100644 --- a/vcl/inc/svimpbox.hxx +++ b/vcl/inc/svimpbox.hxx @@ -202,7 +202,6 @@ private: void CalcCellFocusRect( SvTreeListEntry const * pEntry, tools::Rectangle& rRect ); bool AreChildrenTransient() const { return m_bAreChildrenTransient; } - void SetChildrenNotTransient() { m_bAreChildrenTransient = false; } void ExpandAll(); void CollapseTo(SvTreeListEntry* pParentToCollapse); diff --git a/vcl/inc/window.h b/vcl/inc/window.h index bdd64c1de5db..ab2e1497b301 100644 --- a/vcl/inc/window.h +++ b/vcl/inc/window.h @@ -424,7 +424,6 @@ bool ImplHandleMouseEvent( const VclPtr<vcl::Window>& xWindow, MouseNotifyEvent void ImplHandleResize( vcl::Window* pWindow, long nNewWidth, long nNewHeight ); VCL_DLLPUBLIC void ImplWindowStateFromStr(WindowStateData& rData, const OString& rStr); -VCL_DLLPUBLIC OString ImplWindowStateToStr(const WindowStateData& rData); VCL_DLLPUBLIC css::uno::Reference<css::accessibility::XAccessibleEditableText> FindFocusedEditableText(css::uno::Reference<css::accessibility::XAccessibleContext> const&); diff --git a/vcl/source/control/listbox.cxx b/vcl/source/control/listbox.cxx index de2f45c69525..2de9f387011a 100644 --- a/vcl/source/control/listbox.cxx +++ b/vcl/source/control/listbox.cxx @@ -519,12 +519,6 @@ void ListBox::EnableAutoSize( bool bAuto ) } } -void ListBox::EnableDDAutoWidth( bool b ) -{ - if ( mpFloatWin ) - mpFloatWin->SetAutoWidth( b ); -} - void ListBox::SetDropDownLineCount( sal_uInt16 nLines ) { mnLineCount = nLines; diff --git a/vcl/source/treelist/svtabbx.cxx b/vcl/source/treelist/svtabbx.cxx index 93a508a7a7be..c7e17fe66f4b 100644 --- a/vcl/source/treelist/svtabbx.cxx +++ b/vcl/source/treelist/svtabbx.cxx @@ -538,18 +538,6 @@ sal_uLong SvHeaderTabListBox::Insert( SvTreeListEntry* pEntry, sal_uLong nRootPo return nPos; } -void SvHeaderTabListBox::RemoveEntry( SvTreeListEntry const * _pEntry ) -{ - GetModel()->Remove( _pEntry ); - m_aAccessibleChildren.clear(); -} - -void SvHeaderTabListBox::Clear() -{ - SvTabListBox::Clear(); - m_aAccessibleChildren.clear(); -} - IMPL_LINK_NOARG(SvHeaderTabListBox, ScrollHdl_Impl, SvTreeListBox*, void) { m_pImpl->m_pHeaderBar->SetOffset( -GetXOffset() ); diff --git a/vcl/source/treelist/treelistbox.cxx b/vcl/source/treelist/treelistbox.cxx index 1c5f7c82cde7..aa56db5b718f 100644 --- a/vcl/source/treelist/treelistbox.cxx +++ b/vcl/source/treelist/treelistbox.cxx @@ -937,11 +937,6 @@ void SvTreeListBox::EndEditing( bool bCancel ) } -void SvTreeListBox::ForbidEmptyText() -{ - mpImpl->m_bIsEmptyTextAllowed = false; -} - const void* SvTreeListBox::FirstSearchEntry( OUString& _rEntryText ) const { SvTreeListEntry* pEntry = GetCurEntry(); @@ -3609,11 +3604,6 @@ tools::Rectangle SvTreeListBox::GetBoundingRect( SvTreeListEntry* pEntry ) return aRect; } -void SvTreeListBox::EnableCellFocus() -{ - pImpl->EnableCellFocus(); -} - void SvTreeListBox::CallImplEventListeners(VclEventId nEvent, void* pData) { CallEventListeners(nEvent, pData); diff --git a/vcl/source/window/EnumContext.cxx b/vcl/source/window/EnumContext.cxx index 9c6d149255da..78bd6cbc675b 100644 --- a/vcl/source/window/EnumContext.cxx +++ b/vcl/source/window/EnumContext.cxx @@ -56,14 +56,6 @@ EnumContext::EnumContext ( { } -EnumContext::EnumContext ( - const OUString& rsApplicationName, - const OUString& rsContextName) - : meApplication(GetApplicationEnum(rsApplicationName)), - meContext(GetContextEnum(rsContextName)) -{ -} - sal_Int32 EnumContext::GetCombinedContext_DI() const { return CombinedEnumContext(GetApplication_DI(), meContext); |