summaryrefslogtreecommitdiff
path: root/vcl/source/window/toolbox2.cxx
diff options
context:
space:
mode:
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