diff options
author | Noel Grandin <noel@peralex.com> | 2014-03-03 15:15:32 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-03-05 09:17:45 +0200 |
commit | 56b24765f24222d3d1a2fe488b89c56a331ffce0 (patch) | |
tree | 5383c777a67f3cfce54a2af76dcfd4c64712924b | |
parent | e9b2ee303789c290b392c524e7afcd2ee870de07 (diff) |
remove unused code ToolBox::GetItemExpand(unsigned short)
Change-Id: If28d796a72ca7f375a82fbb0a42e9810db6f34c0
-rw-r--r-- | include/vcl/toolbox.hxx | 1 | ||||
-rw-r--r-- | unusedcode.easy | 1 | ||||
-rw-r--r-- | vcl/source/window/toolbox2.cxx | 8 |
3 files changed, 0 insertions, 10 deletions
diff --git a/include/vcl/toolbox.hxx b/include/vcl/toolbox.hxx index 35f46744b171..3013f4abe78c 100644 --- a/include/vcl/toolbox.hxx +++ b/include/vcl/toolbox.hxx @@ -403,7 +403,6 @@ public: ToolBoxItemBits GetItemBits( sal_uInt16 nItemId ) const; void SetItemExpand( sal_uInt16 nItemId, bool bExpand ); - bool GetItemExpand( sal_uInt16 nItemId ) const; void SetItemData( sal_uInt16 nItemId, void* pNewData ); void* GetItemData( sal_uInt16 nItemId ) const; diff --git a/unusedcode.easy b/unusedcode.easy index 2dbbe8e3c7da..7debc1b49583 100644 --- a/unusedcode.easy +++ b/unusedcode.easy @@ -92,7 +92,6 @@ TextEngine::GetLeftMargin() const ThumbnailView::DeselectItem(unsigned short) ThumbnailView::GetItemText(unsigned short) const ThumbnailView::SetColor(Color const&) -ToolBox::GetItemExpand(unsigned short) const UnoApiTest::closeDocument(com::sun::star::uno::Reference<com::sun::star::lang::XComponent>) apitest::CellProperties::testRotateReference() apitest::CellProperties::testVertJustify() diff --git a/vcl/source/window/toolbox2.cxx b/vcl/source/window/toolbox2.cxx index 6008cfee8b22..af2f16773c1a 100644 --- a/vcl/source/window/toolbox2.cxx +++ b/vcl/source/window/toolbox2.cxx @@ -1207,14 +1207,6 @@ void ToolBox::SetItemExpand( sal_uInt16 nItemId, bool bExpand ) } } -bool ToolBox::GetItemExpand( sal_uInt16 nItemId ) const -{ - ImplToolItem* pItem = ImplGetItem( nItemId ); - if (!pItem) - return false; - return pItem->mbExpand; -} - void ToolBox::SetItemData( sal_uInt16 nItemId, void* pNewData ) { sal_uInt16 nPos = GetItemPos( nItemId ); |