diff options
author | Noel Grandin <noel@peralex.com> | 2015-10-28 15:38:06 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-10-29 06:26:47 +0000 |
commit | 913a2d3692f0dc36c41bfeca2cad7e936b189a30 (patch) | |
tree | 9143f8a8e7d2e89ed4a18a21edab1f348039c3f4 /sfx2/source/control/querystatus.cxx | |
parent | e5c8de332a687b682b596f1a917030185909dd1f (diff) |
com::sun::star->css in sfx2
Change-Id: I20d9b45e4b28c2a4a511774d3154aceb0471d197
Reviewed-on: https://gerrit.libreoffice.org/19643
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sfx2/source/control/querystatus.cxx')
-rw-r--r-- | sfx2/source/control/querystatus.cxx | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/sfx2/source/control/querystatus.cxx b/sfx2/source/control/querystatus.cxx index 7169467ee5bd..8c5127c5e158 100644 --- a/sfx2/source/control/querystatus.cxx +++ b/sfx2/source/control/querystatus.cxx @@ -51,26 +51,26 @@ class SfxQueryStatus_Impl: { public: - SfxQueryStatus_Impl( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatchProvider >& rDispatchProvider, sal_uInt16 nSlotId, const OUString& aCommand ); + SfxQueryStatus_Impl( const css::uno::Reference< css::frame::XDispatchProvider >& rDispatchProvider, sal_uInt16 nSlotId, const OUString& aCommand ); virtual ~SfxQueryStatus_Impl(); // Query method SfxItemState QueryState( SfxPoolItem*& pPoolItem ); // XEventListener - virtual void SAL_CALL disposing(const ::com::sun::star::lang::EventObject& Source) throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; + virtual void SAL_CALL disposing(const css::lang::EventObject& Source) throw( css::uno::RuntimeException, std::exception ) override; // XStatusListener - virtual void SAL_CALL statusChanged(const ::com::sun::star::frame::FeatureStateEvent& Event) throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; + virtual void SAL_CALL statusChanged(const css::frame::FeatureStateEvent& Event) throw( css::uno::RuntimeException, std::exception ) override; private: - bool m_bQueryInProgress; - SfxItemState m_eState; - SfxPoolItem* m_pItem; - sal_uInt16 m_nSlotID; - osl::Condition m_aCondition; - ::com::sun::star::util::URL m_aCommand; - com::sun::star::uno::Reference< com::sun::star::frame::XDispatch > m_xDispatch; + bool m_bQueryInProgress; + SfxItemState m_eState; + SfxPoolItem* m_pItem; + sal_uInt16 m_nSlotID; + osl::Condition m_aCondition; + css::util::URL m_aCommand; + css::uno::Reference< css::frame::XDispatch > m_xDispatch; }; SfxQueryStatus_Impl::SfxQueryStatus_Impl( const Reference< XDispatchProvider >& rDispatchProvider, sal_uInt16 nSlotId, const OUString& rCommand ) : @@ -109,7 +109,7 @@ throw( RuntimeException, std::exception ) if ( rEvent.IsEnabled ) { m_eState = SfxItemState::DEFAULT; - ::com::sun::star::uno::Type pType = rEvent.State.getValueType(); + css::uno::Type pType = rEvent.State.getValueType(); if ( pType == cppu::UnoType<bool>::get() ) { @@ -135,14 +135,14 @@ throw( RuntimeException, std::exception ) rEvent.State >>= sTemp ; m_pItem = new SfxStringItem( m_nSlotID, sTemp ); } - else if ( pType == cppu::UnoType< ::com::sun::star::frame::status::ItemStatus>::get() ) + else if ( pType == cppu::UnoType< css::frame::status::ItemStatus>::get() ) { ItemStatus aItemStatus; rEvent.State >>= aItemStatus; m_eState = (SfxItemState) aItemStatus.State; m_pItem = new SfxVoidItem( m_nSlotID ); } - else if ( pType == cppu::UnoType< ::com::sun::star::frame::status::Visibility>::get() ) + else if ( pType == cppu::UnoType< css::frame::status::Visibility>::get() ) { Visibility aVisibilityStatus; rEvent.State >>= aVisibilityStatus; |