diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-08-25 14:35:19 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-08-25 14:42:38 +0100 |
commit | 37fff5e32a5c918e27b031b2a7ddb97fd9d8b45d (patch) | |
tree | aadb80fe51c8994dd374934e7083b979b7c55059 /sfx2 | |
parent | 5b9005677020c1111259bd0adc292a9b838c2995 (diff) |
remove newly unused code
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/inc/sfx2/unoctitm.hxx | 1 | ||||
-rw-r--r-- | sfx2/source/control/unoctitm.cxx | 10 |
2 files changed, 0 insertions, 11 deletions
diff --git a/sfx2/inc/sfx2/unoctitm.hxx b/sfx2/inc/sfx2/unoctitm.hxx index d4391bc59425..2a76da14f7fd 100644 --- a/sfx2/inc/sfx2/unoctitm.hxx +++ b/sfx2/inc/sfx2/unoctitm.hxx @@ -73,7 +73,6 @@ public: const ::com::sun::star::util::URL& GetCommand() const { return aCommand; } - void Execute(); // XStatusListener virtual void SAL_CALL statusChanged(const ::com::sun::star::frame::FeatureStateEvent& Event) throw( ::com::sun::star::uno::RuntimeException ); diff --git a/sfx2/source/control/unoctitm.cxx b/sfx2/source/control/unoctitm.cxx index 4c93ccf3fb41..021824698cf3 100644 --- a/sfx2/source/control/unoctitm.cxx +++ b/sfx2/source/control/unoctitm.cxx @@ -258,16 +258,6 @@ void SfxUnoControllerItem::GetNewDispatch() return xDisp; } -void SfxUnoControllerItem::Execute() -{ - // dispatch the resource - ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue > aSeq(1); - aSeq[0].Name = ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("Referer") ); - aSeq[0].Value <<= ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("private:select") ); - if ( xDispatch.is() ) - xDispatch->dispatch( aCommand, aSeq ); -} - void SfxUnoControllerItem::ReleaseBindings() { // connection to binding is lost; so forget the binding and the dispatch |