diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-02-18 09:36:44 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-18 10:10:01 +0000 |
commit | d13545987a59e369f1becec5e1fbc4c69db03184 (patch) | |
tree | c8c402f59120946ef4a478f19386e29b6654f42d /sfx2/source/dialog/backingwindow.cxx | |
parent | 4f7e948af4f6673b048b71228381572a5af4a8d8 (diff) |
callcatcher: update unused code lists
Change-Id: Ie975f8a970eec63b593933ebb2394db76d537c51
Diffstat (limited to 'sfx2/source/dialog/backingwindow.cxx')
-rw-r--r-- | sfx2/source/dialog/backingwindow.cxx | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/sfx2/source/dialog/backingwindow.cxx b/sfx2/source/dialog/backingwindow.cxx index 5f849cd45d9e..5a6c242c49cf 100644 --- a/sfx2/source/dialog/backingwindow.cxx +++ b/sfx2/source/dialog/backingwindow.cxx @@ -497,31 +497,6 @@ IMPL_LINK( BackingWindow, ClickHdl, Button*, pButton ) return 0; } -IMPL_LINK( BackingWindow, OpenTemplateHdl, ThumbnailViewItem*, pItem) -{ - uno::Sequence< PropertyValue > aArgs(4); - aArgs[0].Name = "AsTemplate"; - aArgs[0].Value <<= sal_True; - aArgs[1].Name = "MacroExecutionMode"; - aArgs[1].Value <<= MacroExecMode::USE_CONFIG; - aArgs[2].Name = "UpdateDocMode"; - aArgs[2].Value <<= UpdateDocMode::ACCORDING_TO_CONFIG; - aArgs[3].Name = "InteractionHandler"; - aArgs[3].Value <<= task::InteractionHandler::createWithParent( ::comphelper::getProcessComponentContext(), 0 ); - - TemplateViewItem *pTemplateItem = static_cast<TemplateViewItem*>(pItem); - - try - { - mxDesktop->loadComponentFromURL(pTemplateItem->getPath(),"_default", 0, aArgs ); - } - catch( const uno::Exception& ) - { - } - - return 0; -} - struct ImplDelayedDispatch { Reference< XDispatch > xDispatch; |