summaryrefslogtreecommitdiff
path: root/chart2/source/controller/main/FeatureCommandDispatchBase.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-11-27 11:14:38 +0200
committerNoel Grandin <noel@peralex.com>2016-03-14 13:43:38 +0200
commit8353667d35bc511378c9b14261b6bb11b7bd56aa (patch)
treea065c941301f2b693445958046360b27a651d439 /chart2/source/controller/main/FeatureCommandDispatchBase.hxx
parent6c47de46613b531bd975d073cf31c3fda6f8b8da (diff)
com::sun::star->css in chart2
Change-Id: I04320d32d6d5c54e461cfabef58645f8b772bc69
Diffstat (limited to 'chart2/source/controller/main/FeatureCommandDispatchBase.hxx')
-rw-r--r--chart2/source/controller/main/FeatureCommandDispatchBase.hxx21
1 files changed, 10 insertions, 11 deletions
diff --git a/chart2/source/controller/main/FeatureCommandDispatchBase.hxx b/chart2/source/controller/main/FeatureCommandDispatchBase.hxx
index f6611e5ec4e8..60686e8f58c5 100644
--- a/chart2/source/controller/main/FeatureCommandDispatchBase.hxx
+++ b/chart2/source/controller/main/FeatureCommandDispatchBase.hxx
@@ -28,7 +28,7 @@
namespace chart
{
-struct ControllerFeature: public ::com::sun::star::frame::DispatchInformation
+struct ControllerFeature: public css::frame::DispatchInformation
{
sal_uInt16 nFeatureId;
};
@@ -40,7 +40,7 @@ typedef ::std::map< OUString,
struct FeatureState
{
bool bEnabled;
- ::com::sun::star::uno::Any aState;
+ css::uno::Any aState;
FeatureState() : bEnabled( false ) { }
};
@@ -50,8 +50,7 @@ struct FeatureState
class FeatureCommandDispatchBase: public CommandDispatch
{
public:
- explicit FeatureCommandDispatchBase( const ::com::sun::star::uno::Reference<
- ::com::sun::star::uno::XComponentContext >& rxContext );
+ explicit FeatureCommandDispatchBase( const css::uno::Reference< css::uno::XComponentContext >& rxContext );
virtual ~FeatureCommandDispatchBase();
// late initialisation, especially for adding as listener
@@ -61,18 +60,18 @@ public:
protected:
// XDispatch
- virtual void SAL_CALL dispatch( const ::com::sun::star::util::URL& URL,
- const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& Arguments )
- throw (::com::sun::star::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL dispatch( const css::util::URL& URL,
+ const css::uno::Sequence< css::beans::PropertyValue >& Arguments )
+ throw (css::uno::RuntimeException, std::exception) override;
virtual void fireStatusEvent( const OUString& rURL,
- const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XStatusListener >& xSingleListener ) override;
+ const css::uno::Reference< css::frame::XStatusListener >& xSingleListener ) override;
// state of a feature
virtual FeatureState getState( const OUString& rCommand ) = 0;
// execute a feature
- virtual void execute( const OUString& rCommand, const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue>& rArgs ) = 0;
+ virtual void execute( const OUString& rCommand, const css::uno::Sequence< css::beans::PropertyValue>& rArgs ) = 0;
// all the features which should be handled by this class
virtual void describeSupportedFeatures() = 0;
@@ -88,10 +87,10 @@ protected:
URL.
@param nGroup
the command group of the feature. This is important for configuring the controller UI
- by the user, see also <type scope="com::sun::star::frame">CommandGroup</type>.
+ by the user, see also <type scope="css::frame">CommandGroup</type>.
*/
void implDescribeSupportedFeature( const sal_Char* pAsciiCommandURL, sal_uInt16 nId,
- sal_Int16 nGroup = ::com::sun::star::frame::CommandGroup::INTERNAL );
+ sal_Int16 nGroup = css::frame::CommandGroup::INTERNAL );
mutable SupportedFeatures m_aSupportedFeatures;