summaryrefslogtreecommitdiff
path: root/vcl/source/window/toolbox2.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-11-30 09:43:40 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-11-30 12:57:58 +0100
commit437adaac0af448ef1ffe48a7f59f1770d2dd2458 (patch)
treeddcba2e2780583eaf37b87e57417649d92f7670b /vcl/source/window/toolbox2.cxx
parent4b850b204fbbe13e3ed11434f262dfabe528241a (diff)
loplugin:unusedmethods
Change-Id: Id0d68d659fa06a8230ed0d927b85b6b504525d1e Reviewed-on: https://gerrit.libreoffice.org/64328 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/source/window/toolbox2.cxx')
-rw-r--r--vcl/source/window/toolbox2.cxx17
1 files changed, 0 insertions, 17 deletions
diff --git a/vcl/source/window/toolbox2.cxx b/vcl/source/window/toolbox2.cxx
index 082cab508b82..316c4acbde54 100644
--- a/vcl/source/window/toolbox2.cxx
+++ b/vcl/source/window/toolbox2.cxx
@@ -1399,23 +1399,6 @@ void ToolBox::SetHelpId( sal_uInt16 nItemId, const OString& rHelpId )
pItem->maHelpId = rHelpId;
}
-OString ToolBox::GetHelpId( sal_uInt16 nItemId ) const
-{
- OString aRet;
-
- ImplToolItem* pItem = ImplGetItem( nItemId );
-
- if ( pItem )
- {
- if ( !pItem->maHelpId.isEmpty() )
- aRet = pItem->maHelpId;
- else
- aRet = OUStringToOString( pItem->maCommandStr, RTL_TEXTENCODING_UTF8 );
- }
-
- return aRet;
-}
-
void ToolBox::SetOutStyle( sal_uInt16 nNewStyle )
{
// always force flat looking toolbars since NWF