summaryrefslogtreecommitdiff
path: root/framework/source/uiconfiguration/globalsettings.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-10-13 16:59:57 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-10-14 06:37:16 +0000
commitd191d1f9b684c6229f3651361c92ff39ffb350f1 (patch)
treee670ba0105d974b3a68c17b42366eec1d35ebae4 /framework/source/uiconfiguration/globalsettings.cxx
parentba974ccc8c49766542ddd727c95ecc5db1cff198 (diff)
com::sun::star->css in framework
Change-Id: If5a77db83fcbef5ed436f2043ddeb7c515a840dc Reviewed-on: https://gerrit.libreoffice.org/19356 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'framework/source/uiconfiguration/globalsettings.cxx')
-rw-r--r--framework/source/uiconfiguration/globalsettings.cxx42
1 files changed, 21 insertions, 21 deletions
diff --git a/framework/source/uiconfiguration/globalsettings.cxx b/framework/source/uiconfiguration/globalsettings.cxx
index 86db75ebb792..6f54ba58f8d6 100644
--- a/framework/source/uiconfiguration/globalsettings.cxx
+++ b/framework/source/uiconfiguration/globalsettings.cxx
@@ -52,37 +52,37 @@ namespace framework
// Configuration access class for WindowState supplier implementation
class GlobalSettings_Access : public ::cppu::WeakImplHelper<
- ::com::sun::star::lang::XComponent,
- ::com::sun::star::lang::XEventListener>
+ css::lang::XComponent,
+ css::lang::XEventListener>
{
public:
- GlobalSettings_Access( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& rxContext );
+ GlobalSettings_Access( const css::uno::Reference< css::uno::XComponentContext >& rxContext );
virtual ~GlobalSettings_Access();
// XComponent
- virtual void SAL_CALL dispose() throw (::com::sun::star::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL addEventListener( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener >& xListener ) throw (::com::sun::star::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL removeEventListener( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener >& aListener ) throw (::com::sun::star::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL dispose() throw (css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL addEventListener( const css::uno::Reference< css::lang::XEventListener >& xListener ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL removeEventListener( const css::uno::Reference< css::lang::XEventListener >& aListener ) throw (css::uno::RuntimeException, std::exception) override;
// 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;
// settings access
bool HasStatesInfo( GlobalSettings::UIElementType eElementType );
- bool GetStateInfo( GlobalSettings::UIElementType eElementType, GlobalSettings::StateInfo eStateInfo, ::com::sun::star::uno::Any& aValue );
+ bool GetStateInfo( GlobalSettings::UIElementType eElementType, GlobalSettings::StateInfo eStateInfo, css::uno::Any& aValue );
private:
bool impl_initConfigAccess();
- osl::Mutex m_mutex;
- bool m_bDisposed : 1,
- m_bConfigRead : 1;
- OUString m_aNodeRefStates;
- OUString m_aPropStatesEnabled;
- OUString m_aPropLocked;
- OUString m_aPropDocked;
- ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess > m_xConfigAccess;
- ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext> m_xContext;
+ osl::Mutex m_mutex;
+ bool m_bDisposed : 1,
+ m_bConfigRead : 1;
+ OUString m_aNodeRefStates;
+ OUString m_aPropStatesEnabled;
+ OUString m_aPropLocked;
+ OUString m_aPropDocked;
+ css::uno::Reference< css::container::XNameAccess > m_xConfigAccess;
+ css::uno::Reference< css::uno::XComponentContext> m_xContext;
};
GlobalSettings_Access::GlobalSettings_Access( const css::uno::Reference< css::uno::XComponentContext >& rxContext ) :
@@ -166,7 +166,7 @@ bool GlobalSettings_Access::HasStatesInfo( GlobalSettings::UIElementType eElemen
return false;
}
-bool GlobalSettings_Access::GetStateInfo( GlobalSettings::UIElementType eElementType, GlobalSettings::StateInfo eStateInfo, ::com::sun::star::uno::Any& aValue )
+bool GlobalSettings_Access::GetStateInfo( GlobalSettings::UIElementType eElementType, GlobalSettings::StateInfo eStateInfo, css::uno::Any& aValue )
{
osl::MutexGuard g(m_mutex);
if ( eElementType == GlobalSettings::UIELEMENT_TYPE_DOCKWINDOW )
@@ -260,7 +260,7 @@ bool GlobalSettings_Access::impl_initConfigAccess()
struct mutexGlobalSettings : public rtl::Static< osl::Mutex, mutexGlobalSettings > {};
static GlobalSettings_Access* pStaticSettings = 0;
-static GlobalSettings_Access* GetGlobalSettings( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& rxContext )
+static GlobalSettings_Access* GetGlobalSettings( const css::uno::Reference< css::uno::XComponentContext >& rxContext )
{
osl::MutexGuard aGuard(mutexGlobalSettings::get());
if ( !pStaticSettings )
@@ -268,7 +268,7 @@ static GlobalSettings_Access* GetGlobalSettings( const ::com::sun::star::uno::Re
return pStaticSettings;
}
-GlobalSettings::GlobalSettings( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& rxContext ) :
+GlobalSettings::GlobalSettings( const css::uno::Reference< css::uno::XComponentContext >& rxContext ) :
m_xContext( rxContext )
{
}
@@ -288,7 +288,7 @@ bool GlobalSettings::HasStatesInfo( UIElementType eElementType )
return false;
}
-bool GlobalSettings::GetStateInfo( UIElementType eElementType, StateInfo eStateInfo, ::com::sun::star::uno::Any& aValue )
+bool GlobalSettings::GetStateInfo( UIElementType eElementType, StateInfo eStateInfo, css::uno::Any& aValue )
{
GlobalSettings_Access* pSettings( GetGlobalSettings( m_xContext ));