summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-01-31 09:39:40 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-01-31 11:37:25 +0000
commit4995bccb953dd398585f1f328fed10e9c170a029 (patch)
tree0c76515680aebf2957895d414da488ddf43effc3 /filter
parentb8b1b1d68351765bbafe331a95909e47c661b664 (diff)
callcatcher: update list
Diffstat (limited to 'filter')
-rw-r--r--filter/inc/filter/msfilter/mstoolbar.hxx1
-rw-r--r--filter/source/msfilter/mstoolbar.cxx12
2 files changed, 0 insertions, 13 deletions
diff --git a/filter/inc/filter/msfilter/mstoolbar.hxx b/filter/inc/filter/msfilter/mstoolbar.hxx
index 35b05da39bd4..4137605c2d54 100644
--- a/filter/inc/filter/msfilter/mstoolbar.hxx
+++ b/filter/inc/filter/msfilter/mstoolbar.hxx
@@ -88,7 +88,6 @@ public:
rtl::OUString MSOCommandToOOCommand( sal_Int16 msoCmd );
rtl::OUString MSOTCIDToOOCommand( sal_Int16 msoTCID );
SfxObjectShell& GetDocShell() { return mrDocSh; }
- void showToolbar( const rtl::OUString& rName );
bool createMenu( const rtl::OUString& rName, const css::uno::Reference< css::container::XIndexAccess >& xMenuDesc, bool bPersist );
};
diff --git a/filter/source/msfilter/mstoolbar.cxx b/filter/source/msfilter/mstoolbar.cxx
index d8839a70c743..6c7d554f706c 100644
--- a/filter/source/msfilter/mstoolbar.cxx
+++ b/filter/source/msfilter/mstoolbar.cxx
@@ -52,18 +52,6 @@ using namespace com::sun::star;
int TBBase::nIndent = 0;
-void CustomToolBarImportHelper::showToolbar( const rtl::OUString& rName )
-{
- try
- {
- uno::Reference< frame::XController > xCntrller( mrDocSh.GetModel()->getCurrentController(), uno::UNO_QUERY_THROW );
- uno::Reference< beans::XPropertySet > xProps( xCntrller->getFrame(), uno::UNO_QUERY_THROW );
- uno::Reference< frame::XLayoutManager > xLayoutMgr( xProps->getPropertyValue( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("LayoutManager") ) ), uno::UNO_QUERY_THROW );
- xLayoutMgr->showElement( rName );
- }
- catch( const uno::Exception& ) {}
-}
-
void CustomToolBarImportHelper::ScaleImage( uno::Reference< graphic::XGraphic >& xGraphic, long nNewSize )
{
Graphic aGraphic( xGraphic );