Kaydet (Commit) 16f85dc4 authored tarafından Samuel Mehrbrodt's avatar Samuel Mehrbrodt

Remove unused methods

Change-Id: Ia78da9dac5fb426fbb145250c4e39eb7d30c4d03
üst 472c81fa
......@@ -144,7 +144,6 @@ class ToolBarManager : public ToolbarManager_Base
virtual bool MenuItemAllowed( sal_uInt16 ) const;
void RemoveControllers();
OUString RetrieveFromCommand( const OUString & aName, const OUString& aCmdURL );
sal_Int32 RetrievePropertiesFromCommand( const OUString& aCmdURL );
css::uno::Sequence< css::beans::PropertyValue > GetPropsForCommand( const OUString& rCmdURL );
void CreateControllers();
......@@ -165,9 +164,6 @@ class ToolBarManager : public ToolbarManager_Base
void setToolBarImage(const Image& _aImage,const CommandToInfoMap::const_iterator& _pIter);
void impl_elementChanged(bool _bRemove,const css::ui::ConfigurationEvent& Event );
static bool impl_RetrieveShortcutsFromConfiguration( const css::uno::Reference< css::ui::XAcceleratorConfiguration >& rAccelCfg, const OUString& rCommand, OUString& rShortCut );
bool RetrieveShortcut( const OUString& rCommandURL, OUString& rShortCut );
protected:
typedef std::unordered_map< sal_uInt16, css::uno::Reference< css::frame::XStatusListener > > ToolBarControllerMap;
typedef ::std::vector< css::uno::Reference< css::frame::XSubToolbarController > > SubToolBarControllerVector;
......
......@@ -808,24 +808,6 @@ uno::Sequence< beans::PropertyValue > ToolBarManager::GetPropsForCommand( const
return aPropSeq;
}
OUString ToolBarManager::RetrieveFromCommand( const OUString & aName, const OUString& aCmdURL )
{
OUString aLabel;
Sequence< PropertyValue > aPropSeq;
// Retrieve popup menu labels
aPropSeq = GetPropsForCommand( aCmdURL );
for ( sal_Int32 i = 0; i < aPropSeq.getLength(); i++ )
{
if ( aPropSeq[i].Name == aName )
{
aPropSeq[i].Value >>= aLabel;
break;
}
}
return aLabel;
}
sal_Int32 ToolBarManager::RetrievePropertiesFromCommand( const OUString& aCmdURL )
{
sal_Int32 nProperties(0);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment