summaryrefslogtreecommitdiff
path: root/framework/source
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
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')
-rw-r--r--framework/source/accelerators/acceleratorconfiguration.cxx4
-rw-r--r--framework/source/accelerators/documentacceleratorconfiguration.cxx2
-rw-r--r--framework/source/accelerators/globalacceleratorconfiguration.cxx2
-rw-r--r--framework/source/accelerators/moduleacceleratorconfiguration.cxx4
-rw-r--r--framework/source/dispatch/menudispatcher.cxx6
-rw-r--r--framework/source/dispatch/oxt_handler.cxx4
-rw-r--r--framework/source/fwe/classes/actiontriggercontainer.cxx4
-rw-r--r--framework/source/fwe/classes/addonmenu.cxx4
-rw-r--r--framework/source/fwe/classes/imagewrapper.cxx6
-rw-r--r--framework/source/fwe/classes/rootactiontriggercontainer.cxx8
-rw-r--r--framework/source/fwe/classes/sfxhelperfunctions.cxx8
-rw-r--r--framework/source/fwe/dispatch/interaction.cxx28
-rw-r--r--framework/source/fwe/helper/imageproducer.cxx2
-rw-r--r--framework/source/fwe/helper/propertysetcontainer.cxx6
-rw-r--r--framework/source/fwe/xml/menuconfiguration.cxx6
-rw-r--r--framework/source/fwe/xml/menudocumenthandler.cxx32
-rw-r--r--framework/source/fwe/xml/statusbarconfiguration.cxx4
-rw-r--r--framework/source/fwe/xml/statusbardocumenthandler.cxx2
-rw-r--r--framework/source/fwe/xml/toolboxconfiguration.cxx16
-rw-r--r--framework/source/fwe/xml/toolboxdocumenthandler.cxx50
-rw-r--r--framework/source/fwi/helper/mischelper.cxx8
-rw-r--r--framework/source/fwi/uielement/constitemcontainer.cxx44
-rw-r--r--framework/source/fwi/uielement/itemcontainer.cxx6
-rw-r--r--framework/source/fwi/uielement/rootitemcontainer.cxx36
-rw-r--r--framework/source/helper/uiconfigelementwrapperbase.cxx62
-rw-r--r--framework/source/helper/uielementwrapperbase.cxx38
-rw-r--r--framework/source/inc/accelerators/acceleratorconfiguration.hxx6
-rw-r--r--framework/source/inc/accelerators/presethandler.hxx12
-rw-r--r--framework/source/inc/loadenv/actionlockguard.hxx2
-rw-r--r--framework/source/jobs/jobexecutor.cxx2
-rw-r--r--framework/source/layoutmanager/helpers.cxx10
-rw-r--r--framework/source/layoutmanager/helpers.hxx30
-rw-r--r--framework/source/layoutmanager/toolbarlayoutmanager.hxx122
-rw-r--r--framework/source/recording/dispatchrecorder.cxx34
-rw-r--r--framework/source/services/desktop.cxx2
-rw-r--r--framework/source/services/frame.cxx2
-rw-r--r--framework/source/services/pathsettings.cxx4
-rw-r--r--framework/source/services/sessionlistener.cxx14
-rw-r--r--framework/source/services/substitutepathvars.cxx26
-rw-r--r--framework/source/services/uriabbreviation.cxx2
-rw-r--r--framework/source/tabwin/tabwindow.cxx16
-rw-r--r--framework/source/tabwin/tabwinfactory.cxx2
-rw-r--r--framework/source/uiconfiguration/globalsettings.cxx42
-rw-r--r--framework/source/uiconfiguration/graphicnameaccess.cxx4
-rw-r--r--framework/source/uiconfiguration/imagemanager.cxx54
-rw-r--r--framework/source/uiconfiguration/imagemanagerimpl.cxx82
-rw-r--r--framework/source/uiconfiguration/imagemanagerimpl.hxx84
-rw-r--r--framework/source/uiconfiguration/moduleimagemanager.cxx52
-rw-r--r--framework/source/uiconfiguration/moduleuiconfigurationmanager.cxx210
-rw-r--r--framework/source/uiconfiguration/uicategorydescription.cxx42
-rw-r--r--framework/source/uiconfiguration/uiconfigurationmanager.cxx158
-rw-r--r--framework/source/uiconfiguration/windowstateconfiguration.cxx80
-rw-r--r--framework/source/uielement/addonstoolbarmanager.cxx2
-rw-r--r--framework/source/uielement/addonstoolbarwrapper.cxx4
-rw-r--r--framework/source/uielement/buttontoolbarcontroller.cxx52
-rw-r--r--framework/source/uielement/comboboxtoolbarcontroller.cxx18
-rw-r--r--framework/source/uielement/complextoolbarcontroller.cxx18
-rw-r--r--framework/source/uielement/controlmenucontroller.cxx12
-rw-r--r--framework/source/uielement/dropdownboxtoolbarcontroller.cxx16
-rw-r--r--framework/source/uielement/edittoolbarcontroller.cxx14
-rw-r--r--framework/source/uielement/fontmenucontroller.cxx20
-rw-r--r--framework/source/uielement/fontsizemenucontroller.cxx14
-rw-r--r--framework/source/uielement/footermenucontroller.cxx2
-rw-r--r--framework/source/uielement/generictoolbarcontroller.cxx10
-rw-r--r--framework/source/uielement/headermenucontroller.cxx12
-rw-r--r--framework/source/uielement/imagebuttontoolbarcontroller.cxx2
-rw-r--r--framework/source/uielement/langselectionmenucontroller.cxx8
-rw-r--r--framework/source/uielement/langselectionstatusbarcontroller.cxx4
-rw-r--r--framework/source/uielement/macrosmenucontroller.cxx2
-rw-r--r--framework/source/uielement/menubarmanager.cxx56
-rw-r--r--framework/source/uielement/menubarmerger.cxx4
-rw-r--r--framework/source/uielement/menubarwrapper.cxx58
-rw-r--r--framework/source/uielement/newmenucontroller.cxx4
-rw-r--r--framework/source/uielement/objectmenucontroller.cxx10
-rw-r--r--framework/source/uielement/progressbarwrapper.cxx4
-rw-r--r--framework/source/uielement/recentfilesmenucontroller.cxx10
-rw-r--r--framework/source/uielement/saveasmenucontroller.cxx4
-rw-r--r--framework/source/uielement/spinfieldtoolbarcontroller.cxx2
-rw-r--r--framework/source/uielement/statusbaritem.cxx6
-rw-r--r--framework/source/uielement/statusbarmanager.cxx26
-rw-r--r--framework/source/uielement/statusbarwrapper.cxx6
-rw-r--r--framework/source/uielement/statusindicatorinterfacewrapper.cxx12
-rw-r--r--framework/source/uielement/togglebuttontoolbarcontroller.cxx4
-rw-r--r--framework/source/uielement/toolbarmanager.cxx70
-rw-r--r--framework/source/uielement/toolbarmerger.cxx6
-rw-r--r--framework/source/uielement/toolbarsmenucontroller.cxx20
-rw-r--r--framework/source/uielement/toolbarwrapper.cxx18
-rw-r--r--framework/source/uielement/uicommanddescription.cxx52
-rw-r--r--framework/source/uifactory/addonstoolbarfactory.cxx12
-rw-r--r--framework/source/uifactory/factoryconfiguration.cxx4
-rw-r--r--framework/source/uifactory/menubarfactory.cxx12
-rw-r--r--framework/source/uifactory/statusbarfactory.cxx6
-rw-r--r--framework/source/uifactory/toolbarfactory.cxx6
-rw-r--r--framework/source/uifactory/uielementfactorymanager.cxx6
-rw-r--r--framework/source/uifactory/windowcontentfactorymanager.cxx4
-rw-r--r--framework/source/xml/imagesconfiguration.cxx12
96 files changed, 1065 insertions, 1065 deletions
diff --git a/framework/source/accelerators/acceleratorconfiguration.cxx b/framework/source/accelerators/acceleratorconfiguration.cxx
index 74ea13ffb1d5..d6ef53c6c6d6 100644
--- a/framework/source/accelerators/acceleratorconfiguration.cxx
+++ b/framework/source/accelerators/acceleratorconfiguration.cxx
@@ -1059,13 +1059,13 @@ void SAL_CALL XCUBasedAcceleratorConfiguration::dispose()
// nop
}
-void SAL_CALL XCUBasedAcceleratorConfiguration::addEventListener( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener >& /*xListener*/ )
+void SAL_CALL XCUBasedAcceleratorConfiguration::addEventListener( const css::uno::Reference< css::lang::XEventListener >& /*xListener*/ )
throw(css::uno::RuntimeException, std::exception)
{
// nop
}
-void SAL_CALL XCUBasedAcceleratorConfiguration::removeEventListener( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener >& /*xListener*/ )
+void SAL_CALL XCUBasedAcceleratorConfiguration::removeEventListener( const css::uno::Reference< css::lang::XEventListener >& /*xListener*/ )
throw(css::uno::RuntimeException, std::exception)
{
// nop
diff --git a/framework/source/accelerators/documentacceleratorconfiguration.cxx b/framework/source/accelerators/documentacceleratorconfiguration.cxx
index 1db35686eac2..f9c059e187c7 100644
--- a/framework/source/accelerators/documentacceleratorconfiguration.cxx
+++ b/framework/source/accelerators/documentacceleratorconfiguration.cxx
@@ -111,7 +111,7 @@ private:
DocumentAcceleratorConfiguration::DocumentAcceleratorConfiguration(
const css::uno::Reference< css::uno::XComponentContext >& xContext,
- const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& lArguments)
+ const css::uno::Sequence< css::uno::Any >& lArguments)
: DocumentAcceleratorConfiguration_BASE(xContext)
{
{
diff --git a/framework/source/accelerators/globalacceleratorconfiguration.cxx b/framework/source/accelerators/globalacceleratorconfiguration.cxx
index 0d570a6b0974..cd48610c0fbe 100644
--- a/framework/source/accelerators/globalacceleratorconfiguration.cxx
+++ b/framework/source/accelerators/globalacceleratorconfiguration.cxx
@@ -78,7 +78,7 @@ public:
}
// XComponent
- virtual void SAL_CALL dispose() throw (::com::sun::star::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL dispose() throw (css::uno::RuntimeException, std::exception) override;
/// This has to be called after when the instance is acquire()'d.
void fillCache();
diff --git a/framework/source/accelerators/moduleacceleratorconfiguration.cxx b/framework/source/accelerators/moduleacceleratorconfiguration.cxx
index 87aa55344b87..582a1ad82580 100644
--- a/framework/source/accelerators/moduleacceleratorconfiguration.cxx
+++ b/framework/source/accelerators/moduleacceleratorconfiguration.cxx
@@ -66,7 +66,7 @@ public:
*/
ModuleAcceleratorConfiguration(
const css::uno::Reference< css::uno::XComponentContext >& xContext,
- const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& lArguments);
+ const css::uno::Sequence< css::uno::Any >& lArguments);
/** TODO */
virtual ~ModuleAcceleratorConfiguration();
@@ -104,7 +104,7 @@ private:
ModuleAcceleratorConfiguration::ModuleAcceleratorConfiguration(
const css::uno::Reference< css::uno::XComponentContext >& xContext,
- const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& lArguments)
+ const css::uno::Sequence< css::uno::Any >& lArguments)
: ModuleAcceleratorConfiguration_BASE(xContext)
{
SolarMutexGuard g;
diff --git a/framework/source/dispatch/menudispatcher.cxx b/framework/source/dispatch/menudispatcher.cxx
index 7c5649b382e6..e342560fa169 100644
--- a/framework/source/dispatch/menudispatcher.cxx
+++ b/framework/source/dispatch/menudispatcher.cxx
@@ -133,7 +133,7 @@ void SAL_CALL MenuDispatcher::frameAction( const FrameActionEvent& aEvent ) thro
if ( xFrame.is() && pMenuBar )
{
- uno::Reference< ::com::sun::star::awt::XWindow >xContainerWindow = xFrame->getContainerWindow();
+ uno::Reference< css::awt::XWindow >xContainerWindow = xFrame->getContainerWindow();
aGuard.reset();
{
@@ -214,7 +214,7 @@ bool MenuDispatcher::impl_setMenuBar( MenuBar* pMenuBar, bool bMenuFromResource
uno::Reference< XFrame > xFrame( m_xOwnerWeak.get(), UNO_QUERY );
if ( xFrame.is() )
{
- uno::Reference< ::com::sun::star::awt::XWindow >xContainerWindow = xFrame->getContainerWindow();
+ uno::Reference< css::awt::XWindow >xContainerWindow = xFrame->getContainerWindow();
vcl::Window* pWindow = NULL;
SolarMutexGuard aSolarGuard;
@@ -237,7 +237,7 @@ bool MenuDispatcher::impl_setMenuBar( MenuBar* pMenuBar, bool bMenuFromResource
// remove listener before we destruct ourself, so we cannot be called back afterwards
m_pMenuManager->RemoveListener();
- (static_cast< ::com::sun::star::uno::XInterface* >(static_cast<OWeakObject*>(m_pMenuManager)))->release();
+ (static_cast< css::uno::XInterface* >(static_cast<OWeakObject*>(m_pMenuManager)))->release();
m_pMenuManager = 0;
}
diff --git a/framework/source/dispatch/oxt_handler.cxx b/framework/source/dispatch/oxt_handler.cxx
index 85aa8e12e82c..9839fd5933f8 100644
--- a/framework/source/dispatch/oxt_handler.cxx
+++ b/framework/source/dispatch/oxt_handler.cxx
@@ -74,7 +74,7 @@ Oxt_Handler::~Oxt_Handler()
}
/*-************************************************************************************************************
- @interface ::com::sun::star::frame::XDispatch
+ @interface css::frame::XDispatch
@short try to load audio file
@descr This method try to load given audio file by URL and play it. We use vcl/Sound class to do that.
@@ -127,7 +127,7 @@ void SAL_CALL Oxt_Handler::dispatch( const css::util::URL&
}
/*-************************************************************************************************************
- @interface ::com::sun::star::document::XExtendedFilterDetection
+ @interface css::document::XExtendedFilterDetection
@short try to detect file (given as argument included in "lDescriptor")
@descr We try to detect, if given file could be handled by this class and is a well known one.
diff --git a/framework/source/fwe/classes/actiontriggercontainer.cxx b/framework/source/fwe/classes/actiontriggercontainer.cxx
index 7cc366ff72f3..e4b7b0139f53 100644
--- a/framework/source/fwe/classes/actiontriggercontainer.cxx
+++ b/framework/source/fwe/classes/actiontriggercontainer.cxx
@@ -71,7 +71,7 @@ void ActionTriggerContainer::release() throw()
// XMultiServiceFactory
Reference< XInterface > SAL_CALL ActionTriggerContainer::createInstance( const OUString& aServiceSpecifier )
-throw ( ::com::sun::star::uno::Exception, RuntimeException, std::exception)
+throw ( css::uno::Exception, RuntimeException, std::exception)
{
if ( aServiceSpecifier == SERVICENAME_ACTIONTRIGGER )
return static_cast<OWeakObject *>( new ActionTriggerPropertySet());
@@ -80,7 +80,7 @@ throw ( ::com::sun::star::uno::Exception, RuntimeException, std::exception)
else if ( aServiceSpecifier == SERVICENAME_ACTIONTRIGGERSEPARATOR )
return static_cast<OWeakObject *>( new ActionTriggerSeparatorPropertySet());
else
- throw com::sun::star::uno::RuntimeException("Unknown service specifier!", static_cast<OWeakObject *>(this) );
+ throw css::uno::RuntimeException("Unknown service specifier!", static_cast<OWeakObject *>(this) );
}
Reference< XInterface > SAL_CALL ActionTriggerContainer::createInstanceWithArguments( const OUString& ServiceSpecifier, const Sequence< Any >& /*Arguments*/ )
diff --git a/framework/source/fwe/classes/addonmenu.cxx b/framework/source/fwe/classes/addonmenu.cxx
index 5161e62cc978..bce03cef00d9 100644
--- a/framework/source/fwe/classes/addonmenu.cxx
+++ b/framework/source/fwe/classes/addonmenu.cxx
@@ -47,7 +47,7 @@ const sal_uInt16 SID_HELPMENU = (SID_SFX_START + 410);
namespace framework
{
-AddonMenu::AddonMenu( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& rFrame ) :
+AddonMenu::AddonMenu( const css::uno::Reference< css::frame::XFrame >& rFrame ) :
m_xFrame( rFrame )
{
}
@@ -70,7 +70,7 @@ bool AddonPopupMenu::IsCommandURLPrefix( const OUString& aCmdURL )
return aCmdURL.startsWith( ADDONSPOPUPMENU_URL_PREFIX_STR );
}
-AddonPopupMenu::AddonPopupMenu( const com::sun::star::uno::Reference< com::sun::star::frame::XFrame >& rFrame ) :
+AddonPopupMenu::AddonPopupMenu( const css::uno::Reference< css::frame::XFrame >& rFrame ) :
AddonMenu( rFrame )
{
}
diff --git a/framework/source/fwe/classes/imagewrapper.cxx b/framework/source/fwe/classes/imagewrapper.cxx
index 7ab6fd8221ce..1924eeb1c136 100644
--- a/framework/source/fwe/classes/imagewrapper.cxx
+++ b/framework/source/fwe/classes/imagewrapper.cxx
@@ -35,7 +35,7 @@ namespace framework
static Sequence< sal_Int8 > impl_getStaticIdentifier()
{
static const sal_uInt8 pGUID[16] = { 0x46, 0xAD, 0x69, 0xFB, 0xA7, 0xBE, 0x44, 0x83, 0xB2, 0xA7, 0xB3, 0xEC, 0x59, 0x4A, 0xB7, 0x00 };
- static ::com::sun::star::uno::Sequence< sal_Int8 > seqID(reinterpret_cast<const sal_Int8*>(pGUID), 16);
+ static css::uno::Sequence< sal_Int8 > seqID(reinterpret_cast<const sal_Int8*>(pGUID), 16);
return seqID;
}
@@ -53,14 +53,14 @@ Sequence< sal_Int8 > ImageWrapper::GetUnoTunnelId()
}
// XBitmap
-com::sun::star::awt::Size SAL_CALL ImageWrapper::getSize() throw ( RuntimeException, std::exception )
+css::awt::Size SAL_CALL ImageWrapper::getSize() throw ( RuntimeException, std::exception )
{
SolarMutexGuard aGuard;
BitmapEx aBitmapEx( m_aImage.GetBitmapEx() );
Size aBitmapSize( aBitmapEx.GetSizePixel() );
- return com::sun::star::awt::Size( aBitmapSize.Width(), aBitmapSize.Height() );
+ return css::awt::Size( aBitmapSize.Width(), aBitmapSize.Height() );
}
Sequence< sal_Int8 > SAL_CALL ImageWrapper::getDIB() throw ( RuntimeException, std::exception )
diff --git a/framework/source/fwe/classes/rootactiontriggercontainer.cxx b/framework/source/fwe/classes/rootactiontriggercontainer.cxx
index 59a5102b2ca4..1ca2215404c3 100644
--- a/framework/source/fwe/classes/rootactiontriggercontainer.cxx
+++ b/framework/source/fwe/classes/rootactiontriggercontainer.cxx
@@ -40,7 +40,7 @@ namespace framework
static Sequence< sal_Int8 > impl_getStaticIdentifier()
{
static const sal_uInt8 pGUID[16] = { 0x17, 0x0F, 0xA2, 0xC9, 0xCA, 0x50, 0x4A, 0xD3, 0xA6, 0x3B, 0x39, 0x99, 0xC5, 0x96, 0x43, 0x27 };
- static ::com::sun::star::uno::Sequence< sal_Int8 > seqID(reinterpret_cast<const sal_Int8*>(pGUID), 16);
+ static css::uno::Sequence< sal_Int8 > seqID(reinterpret_cast<const sal_Int8*>(pGUID), 16);
return seqID;
}
@@ -99,7 +99,7 @@ throw ( Exception, RuntimeException, std::exception )
else if ( aServiceSpecifier == SERVICENAME_ACTIONTRIGGERSEPARATOR )
return static_cast<OWeakObject *>( new ActionTriggerSeparatorPropertySet());
else
- throw com::sun::star::uno::RuntimeException("Unknown service specifier!", static_cast<OWeakObject *>(this) );
+ throw css::uno::RuntimeException("Unknown service specifier!", static_cast<OWeakObject *>(this) );
}
Reference< XInterface > SAL_CALL RootActionTriggerContainer::createInstanceWithArguments( const OUString& ServiceSpecifier, const Sequence< Any >& /*Arguments*/ )
@@ -196,13 +196,13 @@ throw ( IndexOutOfBoundsException, WrappedTargetException, RuntimeException, std
// XElementAccess
Type SAL_CALL RootActionTriggerContainer::getElementType()
- throw (::com::sun::star::uno::RuntimeException, std::exception)
+ throw (css::uno::RuntimeException, std::exception)
{
return cppu::UnoType<XPropertySet>::get();
}
sal_Bool SAL_CALL RootActionTriggerContainer::hasElements()
-throw (::com::sun::star::uno::RuntimeException, std::exception)
+throw (css::uno::RuntimeException, std::exception)
{
if ( m_pMenu )
{
diff --git a/framework/source/fwe/classes/sfxhelperfunctions.cxx b/framework/source/fwe/classes/sfxhelperfunctions.cxx
index c04105ce2f5d..cc127bb3ca0a 100644
--- a/framework/source/fwe/classes/sfxhelperfunctions.cxx
+++ b/framework/source/fwe/classes/sfxhelperfunctions.cxx
@@ -89,7 +89,7 @@ pfunc_getRefreshToolbars SAL_CALL SetRefreshToolbars( pfunc_getRefreshToolbars p
return pOldFunc;
}
-void SAL_CALL RefreshToolbars( ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& rFrame )
+void SAL_CALL RefreshToolbars( css::uno::Reference< css::frame::XFrame >& rFrame )
{
pfunc_getRefreshToolbars pCallback = NULL;
{
@@ -110,7 +110,7 @@ pfunc_createDockingWindow SAL_CALL SetDockingWindowCreator( pfunc_createDockingW
return pOldFunc;
}
-void SAL_CALL CreateDockingWindow( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& rFrame, const OUString& rResourceURL )
+void SAL_CALL CreateDockingWindow( const css::uno::Reference< css::frame::XFrame >& rFrame, const OUString& rResourceURL )
{
pfunc_createDockingWindow pFactory = NULL;
{
@@ -131,7 +131,7 @@ pfunc_isDockingWindowVisible SAL_CALL SetIsDockingWindowVisible( pfunc_isDocking
return pOldFunc;
}
-bool SAL_CALL IsDockingWindowVisible( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& rFrame, const OUString& rResourceURL )
+bool SAL_CALL IsDockingWindowVisible( const css::uno::Reference< css::frame::XFrame >& rFrame, const OUString& rResourceURL )
{
pfunc_isDockingWindowVisible pCall = NULL;
{
@@ -153,7 +153,7 @@ pfunc_activateToolPanel SAL_CALL SetActivateToolPanel( pfunc_activateToolPanel i
return pOldFunc;
}
-void SAL_CALL ActivateToolPanel( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& i_rFrame, const OUString& i_rPanelURL )
+void SAL_CALL ActivateToolPanel( const css::uno::Reference< css::frame::XFrame >& i_rFrame, const OUString& i_rPanelURL )
{
pfunc_activateToolPanel pActivator = NULL;
{
diff --git a/framework/source/fwe/dispatch/interaction.cxx b/framework/source/fwe/dispatch/interaction.cxx
index 155d3f2e2b16..140dfafeea5e 100644
--- a/framework/source/fwe/dispatch/interaction.cxx
+++ b/framework/source/fwe/dispatch/interaction.cxx
@@ -45,7 +45,7 @@ namespace framework{
@devstatus ready to use
@threadsafe no (used on once position only!)
*//*-*************************************************************************************************************/
-class ContinuationFilterSelect : public comphelper::OInteraction< ::com::sun::star::document::XInteractionFilterSelect >
+class ContinuationFilterSelect : public comphelper::OInteraction< css::document::XInteractionFilterSelect >
{
// c++ interface
public:
@@ -53,8 +53,8 @@ class ContinuationFilterSelect : public comphelper::OInteraction< ::com::sun::st
// uno interface
public:
- virtual void SAL_CALL setFilter( const OUString& sFilter ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) override;
- virtual OUString SAL_CALL getFilter( ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) override;
+ virtual void SAL_CALL setFilter( const OUString& sFilter ) throw( css::uno::RuntimeException, std::exception ) override;
+ virtual OUString SAL_CALL getFilter( ) throw( css::uno::RuntimeException, std::exception ) override;
// member
private:
@@ -83,7 +83,7 @@ OUString SAL_CALL ContinuationFilterSelect::getFilter() throw( css::uno::Runtime
return m_sFilter;
}
-class RequestFilterSelect_Impl : public ::cppu::WeakImplHelper< ::com::sun::star::task::XInteractionRequest >
+class RequestFilterSelect_Impl : public ::cppu::WeakImplHelper< css::task::XInteractionRequest >
{
public:
RequestFilterSelect_Impl( const OUString& sURL );
@@ -91,14 +91,14 @@ public:
OUString getFilter() const;
public:
- virtual ::com::sun::star::uno::Any SAL_CALL getRequest() throw( ::com::sun::star::uno::RuntimeException, std::exception ) override;
- virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< ::com::sun::star::task::XInteractionContinuation > > SAL_CALL getContinuations() throw( ::com::sun::star::uno::RuntimeException, std::exception ) override;
+ virtual css::uno::Any SAL_CALL getRequest() throw( css::uno::RuntimeException, std::exception ) override;
+ virtual css::uno::Sequence< css::uno::Reference< css::task::XInteractionContinuation > > SAL_CALL getContinuations() throw( css::uno::RuntimeException, std::exception ) override;
private:
- ::com::sun::star::uno::Any m_aRequest;
- ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< ::com::sun::star::task::XInteractionContinuation > > m_lContinuations;
- comphelper::OInteractionAbort* m_pAbort;
- ContinuationFilterSelect* m_pFilter;
+ css::uno::Any m_aRequest;
+ css::uno::Sequence< css::uno::Reference< css::task::XInteractionContinuation > > m_lContinuations;
+ comphelper::OInteractionAbort* m_pAbort;
+ ContinuationFilterSelect* m_pFilter;
};
// initialize instance with all necessary information
@@ -187,14 +187,14 @@ uno::Reference < task::XInteractionRequest > RequestFilterSelect::GetRequest()
return uno::Reference < task::XInteractionRequest > (pImp);
}
-class InteractionRequest_Impl : public ::cppu::WeakImplHelper< ::com::sun::star::task::XInteractionRequest >
+class InteractionRequest_Impl : public ::cppu::WeakImplHelper< css::task::XInteractionRequest >
{
uno::Any m_aRequest;
- uno::Sequence< ::com::sun::star::uno::Reference< ::com::sun::star::task::XInteractionContinuation > > m_lContinuations;
+ uno::Sequence< css::uno::Reference< css::task::XInteractionContinuation > > m_lContinuations;
public:
- InteractionRequest_Impl( const ::com::sun::star::uno::Any& aRequest,
- const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< ::com::sun::star::task::XInteractionContinuation > >& lContinuations )
+ InteractionRequest_Impl( const css::uno::Any& aRequest,
+ const css::uno::Sequence< css::uno::Reference< css::task::XInteractionContinuation > >& lContinuations )
{
m_aRequest = aRequest;
m_lContinuations = lContinuations;
diff --git a/framework/source/fwe/helper/imageproducer.cxx b/framework/source/fwe/helper/imageproducer.cxx
index 24cd403b3a42..197456a3acae 100644
--- a/framework/source/fwe/helper/imageproducer.cxx
+++ b/framework/source/fwe/helper/imageproducer.cxx
@@ -33,7 +33,7 @@ pfunc_getImage SAL_CALL SetImageProducer( pfunc_getImage pNewGetImageFunc )
}
Image SAL_CALL GetImageFromURL(
- const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& rFrame,
+ const css::uno::Reference< css::frame::XFrame >& rFrame,
const OUString& aURL,
bool bBig
)
diff --git a/framework/source/fwe/helper/propertysetcontainer.cxx b/framework/source/fwe/helper/propertysetcontainer.cxx
index c9bde036021c..7b867d1df361 100644
--- a/framework/source/fwe/helper/propertysetcontainer.cxx
+++ b/framework/source/fwe/helper/propertysetcontainer.cxx
@@ -73,7 +73,7 @@ throw ( RuntimeException, std::exception )
}
// XIndexContainer
-void SAL_CALL PropertySetContainer::insertByIndex( sal_Int32 Index, const ::com::sun::star::uno::Any& Element )
+void SAL_CALL PropertySetContainer::insertByIndex( sal_Int32 Index, const css::uno::Any& Element )
throw ( IllegalArgumentException, IndexOutOfBoundsException, WrappedTargetException, RuntimeException, std::exception )
{
SolarMutexGuard g;
@@ -120,7 +120,7 @@ void SAL_CALL PropertySetContainer::removeByIndex( sal_Int32 nIndex )
}
// XIndexReplace
-void SAL_CALL PropertySetContainer::replaceByIndex( sal_Int32 Index, const ::com::sun::star::uno::Any& Element )
+void SAL_CALL PropertySetContainer::replaceByIndex( sal_Int32 Index, const css::uno::Any& Element )
throw ( IllegalArgumentException, IndexOutOfBoundsException, WrappedTargetException, RuntimeException, std::exception)
{
if ( (sal_Int32)m_aPropertySetVector.size() > Index )
@@ -169,7 +169,7 @@ Any SAL_CALL PropertySetContainer::getByIndex( sal_Int32 Index )
// XElementAccess
sal_Bool SAL_CALL PropertySetContainer::hasElements()
- throw (::com::sun::star::uno::RuntimeException, std::exception)
+ throw (css::uno::RuntimeException, std::exception)
{
SolarMutexGuard g;
diff --git a/framework/source/fwe/xml/menuconfiguration.cxx b/framework/source/fwe/xml/menuconfiguration.cxx
index 1d2a8dd78cac..b2b378eaf787 100644
--- a/framework/source/fwe/xml/menuconfiguration.cxx
+++ b/framework/source/fwe/xml/menuconfiguration.cxx
@@ -44,7 +44,7 @@ namespace framework
{
MenuConfiguration::MenuConfiguration(
- const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& rxContext )
+ const css::uno::Reference< css::uno::XComponentContext >& rxContext )
: m_xContext( rxContext )
{
}
@@ -94,7 +94,7 @@ Reference< XIndexAccess > MenuConfiguration::CreateMenuBarConfigurationFromXML(
else
throw WrappedTargetException( aWrappedSAXException.Message, Reference< XInterface >(), Any() );
}
- catch( const ::com::sun::star::io::IOException& e )
+ catch( const css::io::IOException& e )
{
throw WrappedTargetException( e.Message, Reference< XInterface >(), Any() );
}
@@ -133,7 +133,7 @@ void MenuConfiguration::StoreMenuBarConfigurationToXML(
{
throw WrappedTargetException( e.Message, Reference< XInterface >(), Any() );
}
- catch ( const ::com::sun::star::io::IOException& e )
+ catch ( const css::io::IOException& e )
{
throw WrappedTargetException( e.Message, Reference< XInterface >(), Any() );
}
diff --git a/framework/source/fwe/xml/menudocumenthandler.cxx b/framework/source/fwe/xml/menudocumenthandler.cxx
index 976553c73cca..7c1247e9bb2a 100644
--- a/framework/source/fwe/xml/menudocumenthandler.cxx
+++ b/framework/source/fwe/xml/menudocumenthandler.cxx
@@ -100,9 +100,9 @@ struct MenuStyleItem
};
MenuStyleItem MenuItemStyles[ ] = {
- { ::com::sun::star::ui::ItemStyle::ICON, ATTRIBUTE_ITEMSTYLE_IMAGE },
- { ::com::sun::star::ui::ItemStyle::TEXT, ATTRIBUTE_ITEMSTYLE_TEXT },
- { ::com::sun::star::ui::ItemStyle::RADIO_CHECK, ATTRIBUTE_ITEMSTYLE_RADIO }
+ { css::ui::ItemStyle::ICON, ATTRIBUTE_ITEMSTYLE_IMAGE },
+ { css::ui::ItemStyle::TEXT, ATTRIBUTE_ITEMSTYLE_TEXT },
+ { css::ui::ItemStyle::RADIO_CHECK, ATTRIBUTE_ITEMSTYLE_RADIO }
};
sal_Int32 nMenuStyleItemEntries = (sizeof (MenuItemStyles) / sizeof (MenuItemStyles[0]));
@@ -211,7 +211,7 @@ void ReadMenuDocumentHandlerBase::initPropertyCommon(
rProps[2].Value <<= Reference< XIndexContainer >();
rProps[3].Value <<= rLabel;
rProps[4].Value <<= nItemStyleBits;
- rProps[5].Value <<= ::com::sun::star::ui::ItemType::DEFAULT;
+ rProps[5].Value <<= css::ui::ItemType::DEFAULT;
}
OReadMenuDocumentHandler::OReadMenuDocumentHandler(
@@ -364,11 +364,11 @@ throw( SAXException, RuntimeException, std::exception )
if ( !aToken.isEmpty() )
{
if ( aToken == ATTRIBUTE_ITEMSTYLE_TEXT )
- nItemBits |= ::com::sun::star::ui::ItemStyle::TEXT;
+ nItemBits |= css::ui::ItemStyle::TEXT;
else if ( aToken == ATTRIBUTE_ITEMSTYLE_IMAGE )
- nItemBits |= ::com::sun::star::ui::ItemStyle::ICON;
+ nItemBits |= css::ui::ItemStyle::ICON;
else if ( aToken == ATTRIBUTE_ITEMSTYLE_RADIO )
- nItemBits |= ::com::sun::star::ui::ItemStyle::RADIO_CHECK;
+ nItemBits |= css::ui::ItemStyle::RADIO_CHECK;
}
}
while ( nIndex >= 0 );
@@ -575,11 +575,11 @@ throw( SAXException, RuntimeException, std::exception )
if ( !aToken.isEmpty() )
{
if ( aToken == ATTRIBUTE_ITEMSTYLE_TEXT )
- nItemBits |= ::com::sun::star::ui::ItemStyle::TEXT;
+ nItemBits |= css::ui::ItemStyle::TEXT;
else if ( aToken == ATTRIBUTE_ITEMSTYLE_IMAGE )
- nItemBits |= ::com::sun::star::ui::ItemStyle::ICON;
+ nItemBits |= css::ui::ItemStyle::ICON;
else if ( aToken == ATTRIBUTE_ITEMSTYLE_RADIO )
- nItemBits |= ::com::sun::star::ui::ItemStyle::RADIO_CHECK;
+ nItemBits |= css::ui::ItemStyle::RADIO_CHECK;
}
}
while ( nIndex >= 0 );
@@ -632,11 +632,11 @@ throw( SAXException, RuntimeException, std::exception )
if ( !aToken.isEmpty() )
{
if ( aToken == ATTRIBUTE_ITEMSTYLE_TEXT )
- nItemBits |= ::com::sun::star::ui::ItemStyle::TEXT;
+ nItemBits |= css::ui::ItemStyle::TEXT;
else if ( aToken == ATTRIBUTE_ITEMSTYLE_IMAGE )
- nItemBits |= ::com::sun::star::ui::ItemStyle::ICON;
+ nItemBits |= css::ui::ItemStyle::ICON;
else if ( aToken == ATTRIBUTE_ITEMSTYLE_RADIO )
- nItemBits |= ::com::sun::star::ui::ItemStyle::RADIO_CHECK;
+ nItemBits |= css::ui::ItemStyle::RADIO_CHECK;
}
}
while ( nIndex >= 0 );
@@ -659,7 +659,7 @@ throw( SAXException, RuntimeException, std::exception )
{
Sequence< PropertyValue > aMenuSeparator( 1 );
aMenuSeparator[0].Name = ITEM_DESCRIPTOR_TYPE;
- aMenuSeparator[0].Value <<= ::com::sun::star::ui::ItemType::SEPARATOR_LINE;
+ aMenuSeparator[0].Value <<= css::ui::ItemType::SEPARATOR_LINE;
m_xMenuContainer->insertByIndex( m_xMenuContainer->getCount(), makeAny( aMenuSeparator ) );
@@ -792,7 +792,7 @@ throw ( SAXException, RuntimeException )
OUString aCommandURL;
OUString aLabel;
OUString aHelpURL;
- sal_Int16 nType( ::com::sun::star::ui::ItemType::DEFAULT );
+ sal_Int16 nType( css::ui::ItemType::DEFAULT );
sal_Int16 nItemBits( 0 );
Reference< XIndexAccess > xSubMenu;
@@ -837,7 +837,7 @@ throw ( SAXException, RuntimeException )
}
else
{
- if ( nType == ::com::sun::star::ui::ItemType::DEFAULT )
+ if ( nType == css::ui::ItemType::DEFAULT )
{
if ( !aCommandURL.isEmpty() )
{
diff --git a/framework/source/fwe/xml/statusbarconfiguration.cxx b/framework/source/fwe/xml/statusbarconfiguration.cxx
index 69aaf0c097c6..2615f241dee8 100644
--- a/framework/source/fwe/xml/statusbarconfiguration.cxx
+++ b/framework/source/fwe/xml/statusbarconfiguration.cxx
@@ -71,7 +71,7 @@ bool StatusBarConfiguration::LoadStatusBar(
{
return false;
}
- catch( const ::com::sun::star::io::IOException& )
+ catch( const css::io::IOException& )
{
return false;
}
@@ -99,7 +99,7 @@ bool StatusBarConfiguration::StoreStatusBar(
{
return false;
}
- catch ( const ::com::sun::star::io::IOException& )
+ catch ( const css::io::IOException& )
{
return false;
}
diff --git a/framework/source/fwe/xml/statusbardocumenthandler.cxx b/framework/source/fwe/xml/statusbardocumenthandler.cxx
index ff10d0278a9a..323b34a1b1ab 100644
--- a/framework/source/fwe/xml/statusbardocumenthandler.cxx
+++ b/framework/source/fwe/xml/statusbardocumenthandler.cxx
@@ -385,7 +385,7 @@ throw( SAXException, RuntimeException, std::exception )
aStatusbarItemProp[2].Value <<= nOffset;
aStatusbarItemProp[3].Value <<= nItemBits;
aStatusbarItemProp[4].Value <<= nWidth;
- aStatusbarItemProp[5].Value = makeAny( ::com::sun::star::ui::ItemType::DEFAULT );
+ aStatusbarItemProp[5].Value = makeAny( css::ui::ItemType::DEFAULT );
m_aStatusBarItems->insertByIndex( m_aStatusBarItems->getCount(), makeAny( aStatusbarItemProp ) );
}
diff --git a/framework/source/fwe/xml/toolboxconfiguration.cxx b/framework/source/fwe/xml/toolboxconfiguration.cxx
index 013702dec886..11460f9a0a73 100644
--- a/framework/source/fwe/xml/toolboxconfiguration.cxx
+++ b/framework/source/fwe/xml/toolboxconfiguration.cxx
@@ -41,9 +41,9 @@ namespace framework
{
bool ToolBoxConfiguration::LoadToolBox(
- const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& rxContext,
- const ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream >& rInputStream,
- const ::com::sun::star::uno::Reference< ::com::sun::star::container::XIndexContainer >& rToolbarConfiguration )
+ const css::uno::Reference< css::uno::XComponentContext >& rxContext,
+ const css::uno::Reference< css::io::XInputStream >& rInputStream,
+ const css::uno::Reference< css::container::XIndexContainer >& rToolbarConfiguration )
{
Reference< XParser > xParser = Parser::create(rxContext);
@@ -72,16 +72,16 @@ bool ToolBoxConfiguration::LoadToolBox(
{
return false;
}
- catch( const ::com::sun::star::io::IOException& )
+ catch( const css::io::IOException& )
{
return false;
}
}
bool ToolBoxConfiguration::StoreToolBox(
- const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& rxContext,
- const ::com::sun::star::uno::Reference< ::com::sun::star::io::XOutputStream >& rOutputStream,
- const ::com::sun::star::uno::Reference< ::com::sun::star::container::XIndexAccess >& rToolbarConfiguration )
+ const css::uno::Reference< css::uno::XComponentContext >& rxContext,
+ const css::uno::Reference< css::io::XOutputStream >& rOutputStream,
+ const css::uno::Reference< css::container::XIndexAccess >& rToolbarConfiguration )
{
Reference< XWriter > xWriter = Writer::create(rxContext);
xWriter->setOutputStream( rOutputStream );
@@ -101,7 +101,7 @@ bool ToolBoxConfiguration::StoreToolBox(
{
return false;
}
- catch ( const ::com::sun::star::io::IOException& )
+ catch ( const css::io::IOException& )
{
return false;
}
diff --git a/framework/source/fwe/xml/toolboxdocumenthandler.cxx b/framework/source/fwe/xml/toolboxdocumenthandler.cxx
index 013fad37f77f..922fe4497d9d 100644
--- a/framework/source/fwe/xml/toolboxdocumenthandler.cxx
+++ b/framework/source/fwe/xml/toolboxdocumenthandler.cxx
@@ -96,14 +96,14 @@ struct ToolboxStyleItem
};
ToolboxStyleItem Styles[ ] = {
- { ::com::sun::star::ui::ItemStyle::RADIO_CHECK, ATTRIBUTE_ITEMSTYLE_RADIO },
- { ::com::sun::star::ui::ItemStyle::ALIGN_LEFT, ATTRIBUTE_ITEMSTYLE_LEFT },
- { ::com::sun::star::ui::ItemStyle::AUTO_SIZE, ATTRIBUTE_ITEMSTYLE_AUTO },
- { ::com::sun::star::ui::ItemStyle::REPEAT, ATTRIBUTE_ITEMSTYLE_REPEAT },
- { ::com::sun::star::ui::ItemStyle::DROPDOWN_ONLY, ATTRIBUTE_ITEMSTYLE_DROPDOWNONLY },
- { ::com::sun::star::ui::ItemStyle::DROP_DOWN, ATTRIBUTE_ITEMSTYLE_DROPDOWN },
- { ::com::sun::star::ui::ItemStyle::ICON, ATTRIBUTE_ITEMSTYLE_IMAGE },
- { ::com::sun::star::ui::ItemStyle::TEXT, ATTRIBUTE_ITEMSTYLE_TEXT },
+ { css::ui::ItemStyle::RADIO_CHECK, ATTRIBUTE_ITEMSTYLE_RADIO },
+ { css::ui::ItemStyle::ALIGN_LEFT, ATTRIBUTE_ITEMSTYLE_LEFT },
+ { css::ui::ItemStyle::AUTO_SIZE, ATTRIBUTE_ITEMSTYLE_AUTO },
+ { css::ui::ItemStyle::REPEAT, ATTRIBUTE_ITEMSTYLE_REPEAT },
+ { css::ui::ItemStyle::DROPDOWN_ONLY, ATTRIBUTE_ITEMSTYLE_DROPDOWNONLY },
+ { css::ui::ItemStyle::DROP_DOWN, ATTRIBUTE_ITEMSTYLE_DROPDOWN },
+ { css::ui::ItemStyle::ICON, ATTRIBUTE_ITEMSTYLE_IMAGE },
+ { css::ui::ItemStyle::TEXT, ATTRIBUTE_ITEMSTYLE_TEXT },
};
sal_Int32 nStyleItemEntries = sizeof (Styles) / sizeof (Styles[0]);
@@ -372,21 +372,21 @@ throw( SAXException, RuntimeException, std::exception )
{
sal_Int32 nHashCode = aToken.hashCode();
if ( nHashCode == m_nHashCode_Style_Radio )
- nItemBits |= ::com::sun::star::ui::ItemStyle::RADIO_CHECK;
+ nItemBits |= css::ui::ItemStyle::RADIO_CHECK;
else if ( nHashCode == m_nHashCode_Style_Left )
- nItemBits |= ::com::sun::star::ui::ItemStyle::ALIGN_LEFT;
+ nItemBits |= css::ui::ItemStyle::ALIGN_LEFT;
else if ( nHashCode == m_nHashCode_Style_AutoSize )
- nItemBits |= ::com::sun::star::ui::ItemStyle::AUTO_SIZE;
+ nItemBits |= css::ui::ItemStyle::AUTO_SIZE;
else if ( nHashCode == m_nHashCode_Style_Repeat )
- nItemBits |= ::com::sun::star::ui::ItemStyle::REPEAT;
+ nItemBits |= css::ui::ItemStyle::REPEAT;
else if ( nHashCode == m_nHashCode_Style_DropDownOnly )
- nItemBits |= ::com::sun::star::ui::ItemStyle::DROPDOWN_ONLY;
+ nItemBits |= css::ui::ItemStyle::DROPDOWN_ONLY;
else if ( nHashCode == m_nHashCode_Style_DropDown )
- nItemBits |= ::com::sun::star::ui::ItemStyle::DROP_DOWN;
+ nItemBits |= css::ui::ItemStyle::DROP_DOWN;
else if ( nHashCode == m_nHashCode_Style_Text )
- nItemBits |= ::com::sun::star::ui::ItemStyle::TEXT;
+ nItemBits |= css::ui::ItemStyle::TEXT;
else if ( nHashCode == m_nHashCode_Style_Image )
- nItemBits |= ::com::sun::star::ui::ItemStyle::ICON;
+ nItemBits |= css::ui::ItemStyle::ICON;
}
}
while ( nIndex >= 0 );
@@ -438,7 +438,7 @@ throw( SAXException, RuntimeException, std::exception )
aToolbarItemProp[0].Value <<= aCommandURL;
aToolbarItemProp[1].Value <<= aHelpURL;
aToolbarItemProp[2].Value <<= aLabel;
- aToolbarItemProp[3].Value = makeAny( ::com::sun::star::ui::ItemType::DEFAULT );
+ aToolbarItemProp[3].Value = makeAny( css::ui::ItemType::DEFAULT );
aToolbarItemProp[4].Value <<= nItemBits;
aToolbarItemProp[5].Value <<= bVisible;
aToolbarItemProp[6].Value <<= aTooltip;
@@ -467,7 +467,7 @@ throw( SAXException, RuntimeException, std::exception )
aToolbarItemProp[1].Name = m_aType;
aToolbarItemProp[0].Value <<= OUString();
- aToolbarItemProp[1].Value <<= ::com::sun::star::ui::ItemType::SEPARATOR_SPACE;
+ aToolbarItemProp[1].Value <<= css::ui::ItemType::SEPARATOR_SPACE;
m_rItemContainer->insertByIndex( m_rItemContainer->getCount(), makeAny( aToolbarItemProp ) );
}
@@ -492,7 +492,7 @@ throw( SAXException, RuntimeException, std::exception )
aToolbarItemProp[1].Name = m_aType;
aToolbarItemProp[0].Value <<= OUString();
- aToolbarItemProp[1].Value <<= ::com::sun::star::ui::ItemType::SEPARATOR_LINEBREAK;
+ aToolbarItemProp[1].Value <<= css::ui::ItemType::SEPARATOR_LINEBREAK;
m_rItemContainer->insertByIndex( m_rItemContainer->getCount(), makeAny( aToolbarItemProp ) );
}
@@ -517,7 +517,7 @@ throw( SAXException, RuntimeException, std::exception )
aToolbarItemProp[1].Name = m_aType;
aToolbarItemProp[0].Value <<= OUString();
- aToolbarItemProp[1].Value <<= ::com::sun::star::ui::ItemType::SEPARATOR_LINE;
+ aToolbarItemProp[1].Value <<= css::ui::ItemType::SEPARATOR_LINE;
m_rItemContainer->insertByIndex( m_rItemContainer->getCount(), makeAny( aToolbarItemProp ) );
}
@@ -729,18 +729,18 @@ void OWriteToolBoxDocumentHandler::WriteToolBoxDocument() throw
OUString aHelpURL;
OUString aTooltip;
bool bVisible( true );
- sal_Int16 nType( ::com::sun::star::ui::ItemType::DEFAULT );
+ sal_Int16 nType( css::ui::ItemType::DEFAULT );
sal_Int16 nWidth( 0 );
sal_Int16 nStyle( 0 );
ExtractToolbarParameters( aProps, aCommandURL, aLabel, aHelpURL, aTooltip, nStyle, nWidth, bVisible, nType );
- if ( nType == ::com::sun::star::ui::ItemType::DEFAULT )
+ if ( nType == css::ui::ItemType::DEFAULT )
WriteToolBoxItem( aCommandURL, aLabel, aHelpURL, aTooltip, nStyle, nWidth, bVisible );
- else if ( nType == ::com::sun::star::ui::ItemType::SEPARATOR_SPACE )
+ else if ( nType == css::ui::ItemType::SEPARATOR_SPACE )
WriteToolBoxSpace();
- else if ( nType == ::com::sun::star::ui::ItemType::SEPARATOR_LINE )
+ else if ( nType == css::ui::ItemType::SEPARATOR_LINE )
WriteToolBoxSeparator();
- else if ( nType == ::com::sun::star::ui::ItemType::SEPARATOR_LINEBREAK )
+ else if ( nType == css::ui::ItemType::SEPARATOR_LINEBREAK )
WriteToolBoxBreak();
}
}
diff --git a/framework/source/fwi/helper/mischelper.cxx b/framework/source/fwi/helper/mischelper.cxx
index 06cc06131f29..7201de053ba9 100644
--- a/framework/source/fwi/helper/mischelper.cxx
+++ b/framework/source/fwi/helper/mischelper.cxx
@@ -122,7 +122,7 @@ OUString RetrieveLabelFromCommand(
aLabel = aStr;
}
}
- catch ( const com::sun::star::uno::Exception& )
+ catch ( const css::uno::Exception& )
{
}
}
@@ -166,7 +166,7 @@ void FillLangItems( std::set< OUString > &rLangItems,
uno::Reference< linguistic2::XLanguageGuessing > xLangGuesser( rLangGuessHelper.GetGuesser() );
if ( xLangGuesser.is() && !rGuessedTextLang.isEmpty())
{
- ::com::sun::star::lang::Locale aLocale(xLangGuesser->guessPrimaryLanguage( rGuessedTextLang, 0, rGuessedTextLang.getLength()) );
+ css::lang::Locale aLocale(xLangGuesser->guessPrimaryLanguage( rGuessedTextLang, 0, rGuessedTextLang.getLength()) );
LanguageType nLang = LanguageTag( aLocale ).makeFallback().getLanguageType();
if (nLang != LANGUAGE_DONTKNOW && nLang != LANGUAGE_NONE && nLang != LANGUAGE_SYSTEM
&& IsScriptTypeMatchingToLanguage( nScriptType, nLang ))
@@ -181,10 +181,10 @@ void FillLangItems( std::set< OUString > &rLangItems,
}
//6--all languages used in current document
- Reference< com::sun::star::frame::XModel > xModel;
+ Reference< css::frame::XModel > xModel;
if ( rxFrame.is() )
{
- Reference< com::sun::star::frame::XController > xController( rxFrame->getController(), UNO_QUERY );
+ Reference< css::frame::XController > xController( rxFrame->getController(), UNO_QUERY );
if ( xController.is() )
xModel = xController->getModel();
}
diff --git a/framework/source/fwi/uielement/constitemcontainer.cxx b/framework/source/fwi/uielement/constitemcontainer.cxx
index d2a4b07f3c90..75e1e0e991c9 100644
--- a/framework/source/fwi/uielement/constitemcontainer.cxx
+++ b/framework/source/fwi/uielement/constitemcontainer.cxx
@@ -163,7 +163,7 @@ Reference< XIndexAccess > ConstItemContainer::deepCopyContainer( const Reference
}
// XUnoTunnel
-sal_Int64 ConstItemContainer::getSomething( const ::com::sun::star::uno::Sequence< sal_Int8 >& rIdentifier ) throw(::com::sun::star::uno::RuntimeException, std::exception)
+sal_Int64 ConstItemContainer::getSomething( const css::uno::Sequence< sal_Int8 >& rIdentifier ) throw(css::uno::RuntimeException, std::exception)
{
if( ( rIdentifier.getLength() == 16 ) && ( 0 == memcmp( ConstItemContainer::GetUnoTunnelId().getConstArray(), rIdentifier.getConstArray(), 16 ) ) )
{
@@ -182,9 +182,9 @@ const Sequence< sal_Int8 >& ConstItemContainer::GetUnoTunnelId() throw()
return theConstItemContainerUnoTunnelId::get().getSeq();
}
-ConstItemContainer* ConstItemContainer::GetImplementation( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& rxIFace ) throw()
+ConstItemContainer* ConstItemContainer::GetImplementation( const css::uno::Reference< css::uno::XInterface >& rxIFace ) throw()
{
- ::com::sun::star::uno::Reference< ::com::sun::star::lang::XUnoTunnel > xUT( rxIFace, ::com::sun::star::uno::UNO_QUERY );
+ css::uno::Reference< css::lang::XUnoTunnel > xUT( rxIFace, css::uno::UNO_QUERY );
return xUT.is() ? reinterpret_cast< ConstItemContainer* >(sal::static_int_cast< sal_IntPtr >(
xUT->getSomething( ConstItemContainer::GetUnoTunnelId() ))) : NULL;
}
@@ -214,7 +214,7 @@ throw ( IndexOutOfBoundsException, WrappedTargetException, RuntimeException, std
// XPropertySet
Reference< XPropertySetInfo > SAL_CALL ConstItemContainer::getPropertySetInfo()
-throw (::com::sun::star::uno::RuntimeException, std::exception)
+throw (css::uno::RuntimeException, std::exception)
{
// Optimize this method !
// We initialize a static variable only one time. And we don't must use a mutex at every call!
@@ -239,12 +239,12 @@ throw (::com::sun::star::uno::RuntimeException, std::exception)
}
void SAL_CALL ConstItemContainer::setPropertyValue( const OUString&, const Any& )
-throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException, std::exception)
+throw (css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception)
{
}
Any SAL_CALL ConstItemContainer::getPropertyValue( const OUString& PropertyName )
-throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException, std::exception)
+throw (css::beans::UnknownPropertyException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception)
{
if ( PropertyName == PROPNAME_UINAME )
return makeAny( m_aUIName );
@@ -252,37 +252,37 @@ throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang
throw UnknownPropertyException();
}
-void SAL_CALL ConstItemContainer::addPropertyChangeListener( const OUString&, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertyChangeListener >& )
-throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException, std::exception)
+void SAL_CALL ConstItemContainer::addPropertyChangeListener( const OUString&, const css::uno::Reference< css::beans::XPropertyChangeListener >& )
+throw (css::beans::UnknownPropertyException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception)
{
}
-void SAL_CALL ConstItemContainer::removePropertyChangeListener( const OUString&, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertyChangeListener >& )
-throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException, std::exception)
+void SAL_CALL ConstItemContainer::removePropertyChangeListener( const OUString&, const css::uno::Reference< css::beans::XPropertyChangeListener >& )
+throw (css::beans::UnknownPropertyException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception)
{
// Only read-only properties - do nothing
}
-void SAL_CALL ConstItemContainer::addVetoableChangeListener( const OUString&, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XVetoableChangeListener >& )
-throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException, std::exception)
+void SAL_CALL ConstItemContainer::addVetoableChangeListener( const OUString&, const css::uno::Reference< css::beans::XVetoableChangeListener >& )
+throw (css::beans::UnknownPropertyException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception)
{
// Only read-only properties - do nothing
}
-void SAL_CALL ConstItemContainer::removeVetoableChangeListener( const OUString&, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XVetoableChangeListener >& )
-throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException, std::exception)
+void SAL_CALL ConstItemContainer::removeVetoableChangeListener( const OUString&, const css::uno::Reference< css::beans::XVetoableChangeListener >& )
+throw (css::beans::UnknownPropertyException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception)
{
// Only read-only properties - do nothing
}
// XFastPropertySet
-void SAL_CALL ConstItemContainer::setFastPropertyValue( sal_Int32, const ::com::sun::star::uno::Any& )
-throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException, std::exception)
+void SAL_CALL ConstItemContainer::setFastPropertyValue( sal_Int32, const css::uno::Any& )
+throw (css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception)
{
}
Any SAL_CALL ConstItemContainer::getFastPropertyValue( sal_Int32 nHandle )
-throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException, std::exception)
+throw (css::beans::UnknownPropertyException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception)
{
if ( nHandle == PROPHANDLE_UINAME )
return makeAny( m_aUIName );
@@ -316,7 +316,7 @@ throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::lang
return(*pInfoHelper);
}
-const com::sun::star::uno::Sequence< com::sun::star::beans::Property > ConstItemContainer::impl_getStaticPropertyDescriptor()
+const css::uno::Sequence< css::beans::Property > ConstItemContainer::impl_getStaticPropertyDescriptor()
{
// Create a property array to initialize sequence!
// Table of all predefined properties of this class. Its used from OPropertySetHelper-class!
@@ -325,14 +325,14 @@ const com::sun::star::uno::Sequence< com::sun::star::beans::Property > ConstItem
// ATTENTION:
// YOU MUST SORT FOLLOW TABLE BY NAME ALPHABETICAL !!!
- const com::sun::star::beans::Property pProperties[] =
+ const css::beans::Property pProperties[] =
{
- com::sun::star::beans::Property( OUString(PROPNAME_UINAME), PROPHANDLE_UINAME ,
+ css::beans::Property( OUString(PROPNAME_UINAME), PROPHANDLE_UINAME ,
cppu::UnoType<OUString>::get(),
- com::sun::star::beans::PropertyAttribute::TRANSIENT | com::sun::star::beans::PropertyAttribute::READONLY )
+ css::beans::PropertyAttribute::TRANSIENT | css::beans::PropertyAttribute::READONLY )
};
// Use it to initialize sequence!
- const com::sun::star::uno::Sequence< com::sun::star::beans::Property > lPropertyDescriptor( pProperties, PROPCOUNT );
+ const css::uno::Sequence< css::beans::Property > lPropertyDescriptor( pProperties, PROPCOUNT );
// Return "PropertyDescriptor"
return lPropertyDescriptor;
}
diff --git a/framework/source/fwi/uielement/itemcontainer.cxx b/framework/source/fwi/uielement/itemcontainer.cxx
index e2bfbb5490c2..92e96a493fd0 100644
--- a/framework/source/fwi/uielement/itemcontainer.cxx
+++ b/framework/source/fwi/uielement/itemcontainer.cxx
@@ -27,7 +27,7 @@ using namespace com::sun::star::lang;
using namespace com::sun::star::beans;
using namespace com::sun::star::container;
-const char WRONG_TYPE_EXCEPTION[] = "Type must be com::sun::star::uno::Sequence< com::sun::star::beans::PropertyValue >";
+const char WRONG_TYPE_EXCEPTION[] = "Type must be css::uno::Sequence< css::beans::PropertyValue >";
namespace framework
{
@@ -139,9 +139,9 @@ const Sequence< sal_Int8 >& ItemContainer::GetUnoTunnelId() throw()
return theItemContainerUnoTunnelId::get().getSeq();
}
-ItemContainer* ItemContainer::GetImplementation( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& rxIFace ) throw()
+ItemContainer* ItemContainer::GetImplementation( const css::uno::Reference< css::uno::XInterface >& rxIFace ) throw()
{
- ::com::sun::star::uno::Reference< ::com::sun::star::lang::XUnoTunnel > xUT( rxIFace, ::com::sun::star::uno::UNO_QUERY );
+ css::uno::Reference< css::lang::XUnoTunnel > xUT( rxIFace, css::uno::UNO_QUERY );
return xUT.is() ? reinterpret_cast< ItemContainer* >(sal::static_int_cast< sal_IntPtr >(
xUT->getSomething( ItemContainer::GetUnoTunnelId() ))) : NULL;
}
diff --git a/framework/source/fwi/uielement/rootitemcontainer.cxx b/framework/source/fwi/uielement/rootitemcontainer.cxx
index 2b2cf4e2ab4e..c08a1ca58e73 100644
--- a/framework/source/fwi/uielement/rootitemcontainer.cxx
+++ b/framework/source/fwi/uielement/rootitemcontainer.cxx
@@ -35,7 +35,7 @@ using namespace com::sun::star::lang;
using namespace com::sun::star::beans;
using namespace com::sun::star::container;
-const char WRONG_TYPE_EXCEPTION[] = "Type must be com::sun::star::uno::Sequence< com::sun::star::beans::PropertyValue >";
+const char WRONG_TYPE_EXCEPTION[] = "Type must be css::uno::Sequence< css::beans::PropertyValue >";
const int PROPHANDLE_UINAME = 1;
const int PROPCOUNT = 1;
@@ -140,7 +140,7 @@ Reference< XIndexAccess > RootItemContainer::deepCopyContainer( const Reference<
}
// XUnoTunnel
-sal_Int64 RootItemContainer::getSomething( const ::com::sun::star::uno::Sequence< sal_Int8 >& rIdentifier ) throw(::com::sun::star::uno::RuntimeException, std::exception)
+sal_Int64 RootItemContainer::getSomething( const css::uno::Sequence< sal_Int8 >& rIdentifier ) throw(css::uno::RuntimeException, std::exception)
{
if( ( rIdentifier.getLength() == 16 ) && ( 0 == memcmp( RootItemContainer::GetUnoTunnelId().getConstArray(), rIdentifier.getConstArray(), 16 ) ) )
return sal::static_int_cast< sal_Int64 >( reinterpret_cast< sal_IntPtr >( this ));
@@ -157,9 +157,9 @@ const Sequence< sal_Int8 >& RootItemContainer::GetUnoTunnelId() throw()
return theRootItemContainerUnoTunnelId::get().getSeq();
}
-RootItemContainer* RootItemContainer::GetImplementation( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& rxIFace ) throw()
+RootItemContainer* RootItemContainer::GetImplementation( const css::uno::Reference< css::uno::XInterface >& rxIFace ) throw()
{
- ::com::sun::star::uno::Reference< ::com::sun::star::lang::XUnoTunnel > xUT( rxIFace, ::com::sun::star::uno::UNO_QUERY );
+ css::uno::Reference< css::lang::XUnoTunnel > xUT( rxIFace, css::uno::UNO_QUERY );
return xUT.is() ? reinterpret_cast< RootItemContainer* >(sal::static_int_cast< sal_IntPtr >(
xUT->getSomething( RootItemContainer::GetUnoTunnelId() ))) : NULL;
}
@@ -258,7 +258,7 @@ sal_Bool SAL_CALL RootItemContainer::convertFastPropertyValue( Any& aConve
Any& aOldValue ,
sal_Int32 nHandle ,
const Any& aValue )
-throw( com::sun::star::lang::IllegalArgumentException )
+throw( css::lang::IllegalArgumentException )
{
// Initialize state with sal_False !!!
// (Handle can be invalid)
@@ -268,7 +268,7 @@ throw( com::sun::star::lang::IllegalArgumentException )
{
case PROPHANDLE_UINAME:
bReturn = PropHelper::willPropertyBeChanged(
- com::sun::star::uno::makeAny(m_aUIName),
+ css::uno::makeAny(m_aUIName),
aValue,
aOldValue,
aConvertedValue);
@@ -280,8 +280,8 @@ throw( com::sun::star::lang::IllegalArgumentException )
}
void SAL_CALL RootItemContainer::setFastPropertyValue_NoBroadcast( sal_Int32 nHandle ,
- const com::sun::star::uno::Any& aValue )
-throw( com::sun::star::uno::Exception, std::exception )
+ const css::uno::Any& aValue )
+throw( css::uno::Exception, std::exception )
{
switch( nHandle )
{
@@ -291,7 +291,7 @@ throw( com::sun::star::uno::Exception, std::exception )
}
}
-void SAL_CALL RootItemContainer::getFastPropertyValue( com::sun::star::uno::Any& aValue ,
+void SAL_CALL RootItemContainer::getFastPropertyValue( css::uno::Any& aValue ,
sal_Int32 nHandle ) const
{
switch( nHandle )
@@ -328,13 +328,13 @@ void SAL_CALL RootItemContainer::getFastPropertyValue( com::sun::star::uno::Any&
return(*pInfoHelper);
}
-com::sun::star::uno::Reference< com::sun::star::beans::XPropertySetInfo > SAL_CALL RootItemContainer::getPropertySetInfo()
-throw (::com::sun::star::uno::RuntimeException, std::exception)
+css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL RootItemContainer::getPropertySetInfo()
+throw (css::uno::RuntimeException, std::exception)
{
// Optimize this method !
// We initialize a static variable only one time. And we don't must use a mutex at every call!
// For the first call; pInfo is NULL - for the second call pInfo is different from NULL!
- static com::sun::star::uno::Reference< com::sun::star::beans::XPropertySetInfo >* pInfo = NULL;
+ static css::uno::Reference< css::beans::XPropertySetInfo >* pInfo = NULL;
if( pInfo == NULL )
{
@@ -345,7 +345,7 @@ throw (::com::sun::star::uno::RuntimeException, std::exception)
{
// Create structure of propertysetinfo for baseclass "OPropertySetHelper".
// (Use method "getInfoHelper()".)
- static com::sun::star::uno::Reference< com::sun::star::beans::XPropertySetInfo > xInfo( createPropertySetInfo( getInfoHelper() ) );
+ static css::uno::Reference< css::beans::XPropertySetInfo > xInfo( createPropertySetInfo( getInfoHelper() ) );
pInfo = &xInfo;
}
}
@@ -353,7 +353,7 @@ throw (::com::sun::star::uno::RuntimeException, std::exception)
return (*pInfo);
}
-const com::sun::star::uno::Sequence< com::sun::star::beans::Property > RootItemContainer::impl_getStaticPropertyDescriptor()
+const css::uno::Sequence< css::beans::Property > RootItemContainer::impl_getStaticPropertyDescriptor()
{
// Create a property array to initialize sequence!
// Table of all predefined properties of this class. Its used from OPropertySetHelper-class!
@@ -362,14 +362,14 @@ const com::sun::star::uno::Sequence< com::sun::star::beans::Property > RootItemC
// ATTENTION:
// YOU MUST SORT FOLLOW TABLE BY NAME ALPHABETICAL !!!
- const com::sun::star::beans::Property pProperties[] =
+ const css::beans::Property pProperties[] =
{
- com::sun::star::beans::Property( OUString(PROPNAME_UINAME), PROPHANDLE_UINAME ,
+ css::beans::Property( OUString(PROPNAME_UINAME), PROPHANDLE_UINAME ,
cppu::UnoType<OUString>::get(),
- com::sun::star::beans::PropertyAttribute::TRANSIENT )
+ css::beans::PropertyAttribute::TRANSIENT )
};
// Use it to initialize sequence!
- const com::sun::star::uno::Sequence< com::sun::star::beans::Property > lPropertyDescriptor( pProperties, PROPCOUNT );
+ const css::uno::Sequence< css::beans::Property > lPropertyDescriptor( pProperties, PROPCOUNT );
// Return "PropertyDescriptor"
return lPropertyDescriptor;
}
diff --git a/framework/source/helper/uiconfigelementwrapperbase.cxx b/framework/source/helper/uiconfigelementwrapperbase.cxx
index a31cdb20e70b..9343024d351b 100644
--- a/framework/source/helper/uiconfigelementwrapperbase.cxx
+++ b/framework/source/helper/uiconfigelementwrapperbase.cxx
@@ -93,12 +93,12 @@ Sequence< Type > SAL_CALL UIConfigElementWrapperBase::getTypes( ) throw(Runtime
}
// XComponent
-void SAL_CALL UIConfigElementWrapperBase::addEventListener( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener >& xListener ) throw (::com::sun::star::uno::RuntimeException, std::exception)
+void SAL_CALL UIConfigElementWrapperBase::addEventListener( const css::uno::Reference< css::lang::XEventListener >& xListener ) throw (css::uno::RuntimeException, std::exception)
{
m_aListenerContainer.addInterface( cppu::UnoType<css::lang::XEventListener>::get(), xListener );
}
-void SAL_CALL UIConfigElementWrapperBase::removeEventListener( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener >& aListener ) throw (::com::sun::star::uno::RuntimeException, std::exception)
+void SAL_CALL UIConfigElementWrapperBase::removeEventListener( const css::uno::Reference< css::lang::XEventListener >& aListener ) throw (css::uno::RuntimeException, std::exception)
{
m_aListenerContainer.removeInterface( cppu::UnoType<css::lang::XEventListener>::get(), aListener );
}
@@ -145,22 +145,22 @@ throw ( Exception, RuntimeException, std::exception )
}
// XUpdatable
-void SAL_CALL UIConfigElementWrapperBase::update() throw (::com::sun::star::uno::RuntimeException, std::exception)
+void SAL_CALL UIConfigElementWrapperBase::update() throw (css::uno::RuntimeException, std::exception)
{
// can be implemented by derived class
}
-void SAL_CALL UIConfigElementWrapperBase::elementInserted( const ::com::sun::star::ui::ConfigurationEvent& ) throw (::com::sun::star::uno::RuntimeException, std::exception)
+void SAL_CALL UIConfigElementWrapperBase::elementInserted( const css::ui::ConfigurationEvent& ) throw (css::uno::RuntimeException, std::exception)
{
// can be implemented by derived class
}
-void SAL_CALL UIConfigElementWrapperBase::elementRemoved( const ::com::sun::star::ui::ConfigurationEvent& ) throw (::com::sun::star::uno::RuntimeException, std::exception)
+void SAL_CALL UIConfigElementWrapperBase::elementRemoved( const css::ui::ConfigurationEvent& ) throw (css::uno::RuntimeException, std::exception)
{
// can be implemented by derived class
}
-void SAL_CALL UIConfigElementWrapperBase::elementReplaced( const ::com::sun::star::ui::ConfigurationEvent& ) throw (::com::sun::star::uno::RuntimeException, std::exception)
+void SAL_CALL UIConfigElementWrapperBase::elementReplaced( const css::ui::ConfigurationEvent& ) throw (css::uno::RuntimeException, std::exception)
{
// can be implemented by derived class
}
@@ -169,7 +169,7 @@ void SAL_CALL UIConfigElementWrapperBase::elementReplaced( const ::com::sun::sta
sal_Bool SAL_CALL UIConfigElementWrapperBase::convertFastPropertyValue( Any& aConvertedValue ,
Any& aOldValue ,
sal_Int32 nHandle ,
- const Any& aValue ) throw( com::sun::star::lang::IllegalArgumentException )
+ const Any& aValue ) throw( css::lang::IllegalArgumentException )
{
// Initialize state with sal_False !!!
// (Handle can be invalid)
@@ -179,7 +179,7 @@ sal_Bool SAL_CALL UIConfigElementWrapperBase::convertFastPropertyValue( Any&
{
case UIELEMENT_PROPHANDLE_CONFIGLISTENER:
bReturn = PropHelper::willPropertyBeChanged(
- com::sun::star::uno::makeAny(m_bConfigListener),
+ css::uno::makeAny(m_bConfigListener),
aValue,
aOldValue,
aConvertedValue);
@@ -187,7 +187,7 @@ sal_Bool SAL_CALL UIConfigElementWrapperBase::convertFastPropertyValue( Any&
case UIELEMENT_PROPHANDLE_CONFIGSOURCE:
bReturn = PropHelper::willPropertyBeChanged(
- com::sun::star::uno::makeAny(m_xConfigSource),
+ css::uno::makeAny(m_xConfigSource),
aValue,
aOldValue,
aConvertedValue);
@@ -197,7 +197,7 @@ sal_Bool SAL_CALL UIConfigElementWrapperBase::convertFastPropertyValue( Any&
{
Reference< XFrame > xFrame( m_xWeakFrame );
bReturn = PropHelper::willPropertyBeChanged(
- com::sun::star::uno::makeAny(xFrame),
+ css::uno::makeAny(xFrame),
aValue,
aOldValue,
aConvertedValue);
@@ -206,7 +206,7 @@ sal_Bool SAL_CALL UIConfigElementWrapperBase::convertFastPropertyValue( Any&
case UIELEMENT_PROPHANDLE_PERSISTENT:
bReturn = PropHelper::willPropertyBeChanged(
- com::sun::star::uno::makeAny(m_bPersistent),
+ css::uno::makeAny(m_bPersistent),
aValue,
aOldValue,
aConvertedValue);
@@ -214,7 +214,7 @@ sal_Bool SAL_CALL UIConfigElementWrapperBase::convertFastPropertyValue( Any&
case UIELEMENT_PROPHANDLE_RESOURCEURL:
bReturn = PropHelper::willPropertyBeChanged(
- com::sun::star::uno::makeAny(m_aResourceURL),
+ css::uno::makeAny(m_aResourceURL),
aValue,
aOldValue,
aConvertedValue);
@@ -222,7 +222,7 @@ sal_Bool SAL_CALL UIConfigElementWrapperBase::convertFastPropertyValue( Any&
case UIELEMENT_PROPHANDLE_TYPE :
bReturn = PropHelper::willPropertyBeChanged(
- com::sun::star::uno::makeAny(m_nType),
+ css::uno::makeAny(m_nType),
aValue,
aOldValue,
aConvertedValue);
@@ -230,7 +230,7 @@ sal_Bool SAL_CALL UIConfigElementWrapperBase::convertFastPropertyValue( Any&
case UIELEMENT_PROPHANDLE_XMENUBAR :
bReturn = PropHelper::willPropertyBeChanged(
- com::sun::star::uno::makeAny(m_xMenuBar),
+ css::uno::makeAny(m_xMenuBar),
aValue,
aOldValue,
aConvertedValue);
@@ -238,7 +238,7 @@ sal_Bool SAL_CALL UIConfigElementWrapperBase::convertFastPropertyValue( Any&
case UIELEMENT_PROPHANDLE_NOCLOSE:
bReturn = PropHelper::willPropertyBeChanged(
- com::sun::star::uno::makeAny(m_bNoClose),
+ css::uno::makeAny(m_bNoClose),
aValue,
aOldValue,
aConvertedValue);
@@ -250,7 +250,7 @@ sal_Bool SAL_CALL UIConfigElementWrapperBase::convertFastPropertyValue( Any&
}
void SAL_CALL UIConfigElementWrapperBase::setFastPropertyValue_NoBroadcast( sal_Int32 nHandle ,
- const com::sun::star::uno::Any& aValue ) throw( com::sun::star::uno::Exception, std::exception )
+ const css::uno::Any& aValue ) throw( css::uno::Exception, std::exception )
{
switch( nHandle )
{
@@ -338,7 +338,7 @@ void SAL_CALL UIConfigElementWrapperBase::setFastPropertyValue_NoBroadcast( sa
}
}
-void SAL_CALL UIConfigElementWrapperBase::getFastPropertyValue( com::sun::star::uno::Any& aValue ,
+void SAL_CALL UIConfigElementWrapperBase::getFastPropertyValue( css::uno::Any& aValue ,
sal_Int32 nHandle ) const
{
switch( nHandle )
@@ -399,12 +399,12 @@ void SAL_CALL UIConfigElementWrapperBase::getFastPropertyValue( com::sun::star::
return(*pInfoHelper);
}
-com::sun::star::uno::Reference< com::sun::star::beans::XPropertySetInfo > SAL_CALL UIConfigElementWrapperBase::getPropertySetInfo() throw (::com::sun::star::uno::RuntimeException, std::exception)
+css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL UIConfigElementWrapperBase::getPropertySetInfo() throw (css::uno::RuntimeException, std::exception)
{
// Optimize this method !
// We initialize a static variable only one time. And we don't must use a mutex at every call!
// For the first call; pInfo is NULL - for the second call pInfo is different from NULL!
- static com::sun::star::uno::Reference< com::sun::star::beans::XPropertySetInfo >* pInfo = NULL;
+ static css::uno::Reference< css::beans::XPropertySetInfo >* pInfo = NULL;
if( pInfo == NULL )
{
@@ -415,7 +415,7 @@ com::sun::star::uno::Reference< com::sun::star::beans::XPropertySetInfo > SAL_CA
{
// Create structure of propertysetinfo for baseclass "OPropertySetHelper".
// (Use method "getInfoHelper()".)
- static com::sun::star::uno::Reference< com::sun::star::beans::XPropertySetInfo > xInfo( createPropertySetInfo( getInfoHelper() ) );
+ static css::uno::Reference< css::beans::XPropertySetInfo > xInfo( createPropertySetInfo( getInfoHelper() ) );
pInfo = &xInfo;
}
}
@@ -423,7 +423,7 @@ com::sun::star::uno::Reference< com::sun::star::beans::XPropertySetInfo > SAL_CA
return (*pInfo);
}
-const com::sun::star::uno::Sequence< com::sun::star::beans::Property > UIConfigElementWrapperBase::impl_getStaticPropertyDescriptor()
+const css::uno::Sequence< css::beans::Property > UIConfigElementWrapperBase::impl_getStaticPropertyDescriptor()
{
// Create property array to initialize sequence!
// Table of all predefined properties of this class. Its used from OPropertySetHelper-class!
@@ -432,19 +432,19 @@ const com::sun::star::uno::Sequence< com::sun::star::beans::Property > UIConfigE
// ATTENTION:
// YOU MUST SORT FOLLOW TABLE BY NAME ALPHABETICAL !!!
- const com::sun::star::beans::Property pProperties[] =
+ const css::beans::Property pProperties[] =
{
- com::sun::star::beans::Property( OUString(UIELEMENT_PROPNAME_CONFIGLISTENER), UIELEMENT_PROPHANDLE_CONFIGLISTENER , cppu::UnoType<sal_Bool>::get(), com::sun::star::beans::PropertyAttribute::TRANSIENT ),
- com::sun::star::beans::Property( OUString(UIELEMENT_PROPNAME_CONFIGSOURCE), UIELEMENT_PROPHANDLE_CONFIGSOURCE , cppu::UnoType<com::sun::star::ui::XUIConfigurationManager>::get(), com::sun::star::beans::PropertyAttribute::TRANSIENT ),
- com::sun::star::beans::Property( OUString(UIELEMENT_PROPNAME_FRAME), UIELEMENT_PROPHANDLE_FRAME , cppu::UnoType<com::sun::star::frame::XFrame>::get(), com::sun::star::beans::PropertyAttribute::TRANSIENT | com::sun::star::beans::PropertyAttribute::READONLY ),
- com::sun::star::beans::Property( OUString(UIELEMENT_PROPNAME_NOCLOSE), UIELEMENT_PROPHANDLE_NOCLOSE , cppu::UnoType<sal_Bool>::get(), com::sun::star::beans::PropertyAttribute::TRANSIENT ),
- com::sun::star::beans::Property( OUString(UIELEMENT_PROPNAME_PERSISTENT), UIELEMENT_PROPHANDLE_PERSISTENT , cppu::UnoType<sal_Bool>::get(), com::sun::star::beans::PropertyAttribute::TRANSIENT ),
- com::sun::star::beans::Property( OUString(UIELEMENT_PROPNAME_RESOURCEURL), UIELEMENT_PROPHANDLE_RESOURCEURL , cppu::UnoType<OUString>::get(), com::sun::star::beans::PropertyAttribute::TRANSIENT | com::sun::star::beans::PropertyAttribute::READONLY ),
- com::sun::star::beans::Property( OUString(UIELEMENT_PROPNAME_TYPE), UIELEMENT_PROPHANDLE_TYPE , cppu::UnoType<OUString>::get(), com::sun::star::beans::PropertyAttribute::TRANSIENT | com::sun::star::beans::PropertyAttribute::READONLY ),
- com::sun::star::beans::Property( OUString(UIELEMENT_PROPNAME_XMENUBAR), UIELEMENT_PROPHANDLE_XMENUBAR , cppu::UnoType<com::sun::star::awt::XMenuBar>::get(), com::sun::star::beans::PropertyAttribute::TRANSIENT | com::sun::star::beans::PropertyAttribute::READONLY )
+ css::beans::Property( OUString(UIELEMENT_PROPNAME_CONFIGLISTENER), UIELEMENT_PROPHANDLE_CONFIGLISTENER , cppu::UnoType<sal_Bool>::get(), css::beans::PropertyAttribute::TRANSIENT ),
+ css::beans::Property( OUString(UIELEMENT_PROPNAME_CONFIGSOURCE), UIELEMENT_PROPHANDLE_CONFIGSOURCE , cppu::UnoType<css::ui::XUIConfigurationManager>::get(), css::beans::PropertyAttribute::TRANSIENT ),
+ css::beans::Property( OUString(UIELEMENT_PROPNAME_FRAME), UIELEMENT_PROPHANDLE_FRAME , cppu::UnoType<css::frame::XFrame>::get(), css::beans::PropertyAttribute::TRANSIENT | css::beans::PropertyAttribute::READONLY ),
+ css::beans::Property( OUString(UIELEMENT_PROPNAME_NOCLOSE), UIELEMENT_PROPHANDLE_NOCLOSE , cppu::UnoType<sal_Bool>::get(), css::beans::PropertyAttribute::TRANSIENT ),
+ css::beans::Property( OUString(UIELEMENT_PROPNAME_PERSISTENT), UIELEMENT_PROPHANDLE_PERSISTENT , cppu::UnoType<sal_Bool>::get(), css::beans::PropertyAttribute::TRANSIENT ),
+ css::beans::Property( OUString(UIELEMENT_PROPNAME_RESOURCEURL), UIELEMENT_PROPHANDLE_RESOURCEURL , cppu::UnoType<OUString>::get(), css::beans::PropertyAttribute::TRANSIENT | css::beans::PropertyAttribute::READONLY ),
+ css::beans::Property( OUString(UIELEMENT_PROPNAME_TYPE), UIELEMENT_PROPHANDLE_TYPE , cppu::UnoType<OUString>::get(), css::beans::PropertyAttribute::TRANSIENT | css::beans::PropertyAttribute::READONLY ),
+ css::beans::Property( OUString(UIELEMENT_PROPNAME_XMENUBAR), UIELEMENT_PROPHANDLE_XMENUBAR , cppu::UnoType<css::awt::XMenuBar>::get(), css::beans::PropertyAttribute::TRANSIENT | css::beans::PropertyAttribute::READONLY )
};
// Use it to initialize sequence!
- const com::sun::star::uno::Sequence< com::sun::star::beans::Property > lPropertyDescriptor( pProperties, UIELEMENT_PROPCOUNT );
+ const css::uno::Sequence< css::beans::Property > lPropertyDescriptor( pProperties, UIELEMENT_PROPCOUNT );
// Return "PropertyDescriptor"
return lPropertyDescriptor;
}
diff --git a/framework/source/helper/uielementwrapperbase.cxx b/framework/source/helper/uielementwrapperbase.cxx
index b8780f214440..adcf2a85392b 100644
--- a/framework/source/helper/uielementwrapperbase.cxx
+++ b/framework/source/helper/uielementwrapperbase.cxx
@@ -73,12 +73,12 @@ Sequence< Type > SAL_CALL UIElementWrapperBase::getTypes( ) throw(RuntimeExcept
);
}
-void SAL_CALL UIElementWrapperBase::addEventListener( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener >& xListener ) throw (::com::sun::star::uno::RuntimeException, std::exception)
+void SAL_CALL UIElementWrapperBase::addEventListener( const css::uno::Reference< css::lang::XEventListener >& xListener ) throw (css::uno::RuntimeException, std::exception)
{
m_aListenerContainer.addInterface( cppu::UnoType<css::lang::XEventListener>::get(), xListener );
}
-void SAL_CALL UIElementWrapperBase::removeEventListener( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener >& xListener ) throw (::com::sun::star::uno::RuntimeException, std::exception)
+void SAL_CALL UIElementWrapperBase::removeEventListener( const css::uno::Reference< css::lang::XEventListener >& xListener ) throw (css::uno::RuntimeException, std::exception)
{
m_aListenerContainer.removeInterface( cppu::UnoType<css::lang::XEventListener>::get(), xListener );
}
@@ -111,24 +111,24 @@ throw ( Exception, RuntimeException, std::exception )
}
// XUIElement
-::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame > SAL_CALL UIElementWrapperBase::getFrame() throw (::com::sun::star::uno::RuntimeException, std::exception)
+css::uno::Reference< css::frame::XFrame > SAL_CALL UIElementWrapperBase::getFrame() throw (css::uno::RuntimeException, std::exception)
{
- ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame > xFrame( m_xWeakFrame );
+ css::uno::Reference< css::frame::XFrame > xFrame( m_xWeakFrame );
return xFrame;
}
-OUString SAL_CALL UIElementWrapperBase::getResourceURL() throw (::com::sun::star::uno::RuntimeException, std::exception)
+OUString SAL_CALL UIElementWrapperBase::getResourceURL() throw (css::uno::RuntimeException, std::exception)
{
return m_aResourceURL;
}
-::sal_Int16 SAL_CALL UIElementWrapperBase::getType() throw (::com::sun::star::uno::RuntimeException, std::exception)
+::sal_Int16 SAL_CALL UIElementWrapperBase::getType() throw (css::uno::RuntimeException, std::exception)
{
return m_nType;
}
// XUpdatable
-void SAL_CALL UIElementWrapperBase::update() throw (::com::sun::star::uno::RuntimeException, std::exception)
+void SAL_CALL UIElementWrapperBase::update() throw (css::uno::RuntimeException, std::exception)
{
// can be implemented by derived class
}
@@ -137,7 +137,7 @@ void SAL_CALL UIElementWrapperBase::update() throw (::com::sun::star::uno::Runti
sal_Bool SAL_CALL UIElementWrapperBase::convertFastPropertyValue( Any& /*aConvertedValue*/ ,
Any& /*aOldValue*/ ,
sal_Int32 /*nHandle*/ ,
- const Any& /*aValue*/ ) throw( com::sun::star::lang::IllegalArgumentException )
+ const Any& /*aValue*/ ) throw( css::lang::IllegalArgumentException )
{
// Initialize state with sal_False !!!
// (Handle can be invalid)
@@ -145,11 +145,11 @@ sal_Bool SAL_CALL UIElementWrapperBase::convertFastPropertyValue( Any& /*a
}
void SAL_CALL UIElementWrapperBase::setFastPropertyValue_NoBroadcast( sal_Int32 /*nHandle*/ ,
- const com::sun::star::uno::Any& /*aValue*/ ) throw( com::sun::star::uno::Exception, std::exception )
+ const css::uno::Any& /*aValue*/ ) throw( css::uno::Exception, std::exception )
{
}
-void SAL_CALL UIElementWrapperBase::getFastPropertyValue( com::sun::star::uno::Any& aValue ,
+void SAL_CALL UIElementWrapperBase::getFastPropertyValue( css::uno::Any& aValue ,
sal_Int32 nHandle ) const
{
switch( nHandle )
@@ -193,12 +193,12 @@ void SAL_CALL UIElementWrapperBase::getFastPropertyValue( com::sun::star::uno::A
return(*pInfoHelper);
}
-com::sun::star::uno::Reference< com::sun::star::beans::XPropertySetInfo > SAL_CALL UIElementWrapperBase::getPropertySetInfo() throw (::com::sun::star::uno::RuntimeException, std::exception)
+css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL UIElementWrapperBase::getPropertySetInfo() throw (css::uno::RuntimeException, std::exception)
{
// Optimize this method !
// We initialize a static variable only one time. And we don't must use a mutex at every call!
// For the first call; pInfo is NULL - for the second call pInfo is different from NULL!
- static com::sun::star::uno::Reference< com::sun::star::beans::XPropertySetInfo >* pInfo = NULL;
+ static css::uno::Reference< css::beans::XPropertySetInfo >* pInfo = NULL;
if( pInfo == NULL )
{
@@ -209,7 +209,7 @@ com::sun::star::uno::Reference< com::sun::star::beans::XPropertySetInfo > SAL_CA
{
// Create structure of propertysetinfo for baseclass "OPropertySetHelper".
// (Use method "getInfoHelper()".)
- static com::sun::star::uno::Reference< com::sun::star::beans::XPropertySetInfo > xInfo( createPropertySetInfo( getInfoHelper() ) );
+ static css::uno::Reference< css::beans::XPropertySetInfo > xInfo( createPropertySetInfo( getInfoHelper() ) );
pInfo = &xInfo;
}
}
@@ -217,7 +217,7 @@ com::sun::star::uno::Reference< com::sun::star::beans::XPropertySetInfo > SAL_CA
return (*pInfo);
}
-const com::sun::star::uno::Sequence< com::sun::star::beans::Property > UIElementWrapperBase::impl_getStaticPropertyDescriptor()
+const css::uno::Sequence< css::beans::Property > UIElementWrapperBase::impl_getStaticPropertyDescriptor()
{
// Create a property array to initialize sequence!
// Table of all predefined properties of this class. Its used from OPropertySetHelper-class!
@@ -226,14 +226,14 @@ const com::sun::star::uno::Sequence< com::sun::star::beans::Property > UIElement
// ATTENTION:
// YOU MUST SORT FOLLOW TABLE BY NAME ALPHABETICAL !!!
- const com::sun::star::beans::Property pProperties[] =
+ const css::beans::Property pProperties[] =
{
- com::sun::star::beans::Property( OUString(UIELEMENT_PROPNAME_FRAME), UIELEMENT_PROPHANDLE_FRAME , cppu::UnoType<XFrame>::get(), com::sun::star::beans::PropertyAttribute::TRANSIENT | com::sun::star::beans::PropertyAttribute::READONLY ),
- com::sun::star::beans::Property( OUString(UIELEMENT_PROPNAME_RESOURCEURL), UIELEMENT_PROPHANDLE_RESOURCEURL , cppu::UnoType<sal_Int16>::get(), com::sun::star::beans::PropertyAttribute::TRANSIENT | com::sun::star::beans::PropertyAttribute::READONLY ),
- com::sun::star::beans::Property( OUString(UIELEMENT_PROPNAME_TYPE), UIELEMENT_PROPHANDLE_TYPE , cppu::UnoType<OUString>::get(), com::sun::star::beans::PropertyAttribute::TRANSIENT | com::sun::star::beans::PropertyAttribute::READONLY )
+ css::beans::Property( OUString(UIELEMENT_PROPNAME_FRAME), UIELEMENT_PROPHANDLE_FRAME , cppu::UnoType<XFrame>::get(), css::beans::PropertyAttribute::TRANSIENT | css::beans::PropertyAttribute::READONLY ),
+ css::beans::Property( OUString(UIELEMENT_PROPNAME_RESOURCEURL), UIELEMENT_PROPHANDLE_RESOURCEURL , cppu::UnoType<sal_Int16>::get(), css::beans::PropertyAttribute::TRANSIENT | css::beans::PropertyAttribute::READONLY ),
+ css::beans::Property( OUString(UIELEMENT_PROPNAME_TYPE), UIELEMENT_PROPHANDLE_TYPE , cppu::UnoType<OUString>::get(), css::beans::PropertyAttribute::TRANSIENT | css::beans::PropertyAttribute::READONLY )
};
// Use it to initialize sequence!
- const com::sun::star::uno::Sequence< com::sun::star::beans::Property > lPropertyDescriptor( pProperties, UIELEMENT_PROPCOUNT );
+ const css::uno::Sequence< css::beans::Property > lPropertyDescriptor( pProperties, UIELEMENT_PROPCOUNT );
// Return "PropertyDescriptor"
return lPropertyDescriptor;
}
diff --git a/framework/source/inc/accelerators/acceleratorconfiguration.hxx b/framework/source/inc/accelerators/acceleratorconfiguration.hxx
index 4d5da66ee75e..be267721a675 100644
--- a/framework/source/inc/accelerators/acceleratorconfiguration.hxx
+++ b/framework/source/inc/accelerators/acceleratorconfiguration.hxx
@@ -354,9 +354,9 @@ class XCUBasedAcceleratorConfiguration : public ::cppu::WeakImplHelper<
throw(css::uno::RuntimeException, std::exception) override;
// 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;
// helper for derived classes
diff --git a/framework/source/inc/accelerators/presethandler.hxx b/framework/source/inc/accelerators/presethandler.hxx
index 6ea5cd4f4b56..79d0ff84a1ce 100644
--- a/framework/source/inc/accelerators/presethandler.hxx
+++ b/framework/source/inc/accelerators/presethandler.hxx
@@ -215,7 +215,7 @@ class PresetHandler
cached then internally till the last instance of such PresetHandler
dies.
- @return com::sun::star::embed::XStorage
+ @return css::embed::XStorage
which represent a root storage.
*/
css::uno::Reference< css::embed::XStorage > getOrCreateRootStorageShare();
@@ -226,7 +226,7 @@ class PresetHandler
@descr Working storages are the "lowest" storages, where the
preset and target files exists.
- @return com::sun::star::embed::XStorage
+ @return css::embed::XStorage
which the current working storage.
*/
css::uno::Reference< css::embed::XStorage > getWorkingStorageShare();
@@ -238,7 +238,7 @@ class PresetHandler
@param xChild
the child storage where a paranet storage should be searched for.
- @return com::sun::star::embed::XStorage
+ @return css::embed::XStorage
A valid storage if a paranet exists. NULL otherwise.
*/
css::uno::Reference< css::embed::XStorage > getParentStorageShare(const css::uno::Reference< css::embed::XStorage >& xChild);
@@ -275,7 +275,7 @@ class PresetHandler
will work in default mode - means "no locale" - automatically.
e.g. "/default.xml"
- @throw com::sun::star::uno::RuntimeException(!)
+ @throw css::uno::RuntimeException(!)
if the specified resource couldn't be located.
*/
void connectToResource( EConfigType eConfigType ,
@@ -298,10 +298,10 @@ class PresetHandler
@param sTarget
the ALIAS name of the target.
- @throw com::sun::star::container::NoSuchElementException
+ @throw css::container::NoSuchElementException
if the specified preset does not exists.
- @throw com::sun::star::io::IOException
+ @throw css::io::IOException
if copying failed.
*/
void copyPresetToTarget(const OUString& sPreset,
diff --git a/framework/source/inc/loadenv/actionlockguard.hxx b/framework/source/inc/loadenv/actionlockguard.hxx
index 8f72381482f6..69404486885c 100644
--- a/framework/source/inc/loadenv/actionlockguard.hxx
+++ b/framework/source/inc/loadenv/actionlockguard.hxx
@@ -26,7 +26,7 @@
namespace framework{
/** @short implements a guard, which can use the interface
- <type scope="com::sun::star::document">XActionLockable</type>.
+ <type scope="css::document">XActionLockable</type>.
@descr This guard should be used to be sure, that any lock will be
released. Otherwise the locked document can hinder the office on shutdown!
diff --git a/framework/source/jobs/jobexecutor.cxx b/framework/source/jobs/jobexecutor.cxx
index 84ed9ca17988..b637b66bc200 100644
--- a/framework/source/jobs/jobexecutor.cxx
+++ b/framework/source/jobs/jobexecutor.cxx
@@ -77,7 +77,7 @@ private:
ConfigAccess m_aConfig;
/** helper to allow us listen to the configuration without a cyclic dependency */
- com::sun::star::uno::Reference<com::sun::star::container::XContainerListener> m_xConfigListener;
+ css::uno::Reference<css::container::XContainerListener> m_xConfigListener;
virtual void SAL_CALL disposing() override;
diff --git a/framework/source/layoutmanager/helpers.cxx b/framework/source/layoutmanager/helpers.cxx
index 5fdbf9a06c9e..898a0e43c6b8 100644
--- a/framework/source/layoutmanager/helpers.cxx
+++ b/framework/source/layoutmanager/helpers.cxx
@@ -39,17 +39,17 @@ using namespace com::sun::star;
namespace framework
{
-bool hasEmptySize( const ::com::sun::star::awt::Size& rSize )
+bool hasEmptySize( const css::awt::Size& rSize )
{
return ( rSize.Width == 0 ) && ( rSize.Height == 0 );
}
-bool hasDefaultPosValue( const ::com::sun::star::awt::Point& rPos )
+bool hasDefaultPosValue( const css::awt::Point& rPos )
{
return (( rPos.X == SAL_MAX_INT32 ) || ( rPos.Y == SAL_MAX_INT32 ));
}
-bool isDefaultPos( const ::com::sun::star::awt::Point& rPos )
+bool isDefaultPos( const css::awt::Point& rPos )
{
return (( rPos.X == SAL_MAX_INT32 ) && ( rPos.Y == SAL_MAX_INT32 ));
}
@@ -224,7 +224,7 @@ void parseResourceURL( const OUString& aResourceURL, OUString& aElementType, OUS
}
}
-::com::sun::star::awt::Rectangle putRectangleValueToAWT( const ::Rectangle& rRect )
+css::awt::Rectangle putRectangleValueToAWT( const ::Rectangle& rRect )
{
css::awt::Rectangle aRect;
aRect.X = rRect.Left();
@@ -235,7 +235,7 @@ void parseResourceURL( const OUString& aResourceURL, OUString& aElementType, OUS
return aRect;
}
-::Rectangle putAWTToRectangle( const ::com::sun::star::awt::Rectangle& rRect )
+::Rectangle putAWTToRectangle( const css::awt::Rectangle& rRect )
{
::Rectangle aRect;
aRect.Left() = rRect.X;
diff --git a/framework/source/layoutmanager/helpers.hxx b/framework/source/layoutmanager/helpers.hxx
index dbb017661176..921a50a98c0b 100644
--- a/framework/source/layoutmanager/helpers.hxx
+++ b/framework/source/layoutmanager/helpers.hxx
@@ -44,31 +44,31 @@
namespace framework
{
-bool hasEmptySize( const ::com::sun::star::awt::Size& rSize );
-bool hasDefaultPosValue( const ::com::sun::star::awt::Point& rPos );
-bool isDefaultPos( const ::com::sun::star::awt::Point& rPos );
+bool hasEmptySize( const css::awt::Size& rSize );
+bool hasDefaultPosValue( const css::awt::Point& rPos );
+bool isDefaultPos( const css::awt::Point& rPos );
bool isToolboxHorizontalAligned( ToolBox* pToolBox );
bool isReverseOrderDockingArea( const sal_Int32 nDockArea );
bool isHorizontalDockingArea( const sal_Int32 nDockArea );
-bool isHorizontalDockingArea( const ::com::sun::star::ui::DockingArea& nDockArea );
+bool isHorizontalDockingArea( const css::ui::DockingArea& nDockArea );
OUString retrieveToolbarNameFromHelpURL( vcl::Window* pWindow );
ToolBox* getToolboxPtr( vcl::Window* pWindow );
-vcl::Window* getWindowFromXUIElement( const ::com::sun::star::uno::Reference< ::com::sun::star::ui::XUIElement >& xUIElement );
-SystemWindow* getTopSystemWindow( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindow >& xWindow );
+vcl::Window* getWindowFromXUIElement( const css::uno::Reference< css::ui::XUIElement >& xUIElement );
+SystemWindow* getTopSystemWindow( const css::uno::Reference< css::awt::XWindow >& xWindow );
bool equalRectangles( const css::awt::Rectangle& rRect1, const css::awt::Rectangle& rRect2 );
void setZeroRectangle( ::Rectangle& rRect );
-bool lcl_checkUIElement(const ::com::sun::star::uno::Reference< ::com::sun::star::ui::XUIElement >& xUIElement,::com::sun::star::awt::Rectangle& _rPosSize, ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindow >& _xWindow);
-::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindowPeer > createToolkitWindow( const css::uno::Reference< ::com::sun::star::uno::XComponentContext >& rxContext, const css::uno::Reference< ::com::sun::star::awt::XWindowPeer >& rParent, const char* pService );
+bool lcl_checkUIElement(const css::uno::Reference< css::ui::XUIElement >& xUIElement,css::awt::Rectangle& _rPosSize, css::uno::Reference< css::awt::XWindow >& _xWindow);
+css::uno::Reference< css::awt::XWindowPeer > createToolkitWindow( const css::uno::Reference< css::uno::XComponentContext >& rxContext, const css::uno::Reference< css::awt::XWindowPeer >& rParent, const char* pService );
WindowAlign ImplConvertAlignment( sal_Int16 aAlignment );
OUString getElementTypeFromResourceURL( const OUString& aResourceURL );
void parseResourceURL( const OUString& aResourceURL, OUString& aElementType, OUString& aElementName );
-::Rectangle putAWTToRectangle( const ::com::sun::star::awt::Rectangle& rRect );
-::com::sun::star::awt::Rectangle putRectangleValueToAWT( const ::Rectangle& rRect );
-::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel > impl_getModelFromFrame( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& rFrame );
-bool implts_isPreviewModel( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel >& xModel );
-bool implts_isFrameOrWindowTop( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& xFrame );
-void impl_setDockingWindowVisibility( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext>& rxContext, const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& rFrame, const OUString& rDockingWindowName, bool bVisible );
-void impl_addWindowListeners( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& xThis, const ::com::sun::star::uno::Reference< css::ui::XUIElement >& xUIElement );
+::Rectangle putAWTToRectangle( const css::awt::Rectangle& rRect );
+css::awt::Rectangle putRectangleValueToAWT( const ::Rectangle& rRect );
+css::uno::Reference< css::frame::XModel > impl_getModelFromFrame( const css::uno::Reference< css::frame::XFrame >& rFrame );
+bool implts_isPreviewModel( const css::uno::Reference< css::frame::XModel >& xModel );
+bool implts_isFrameOrWindowTop( const css::uno::Reference< css::frame::XFrame >& xFrame );
+void impl_setDockingWindowVisibility( const css::uno::Reference< css::uno::XComponentContext>& rxContext, const css::uno::Reference< css::frame::XFrame >& rFrame, const OUString& rDockingWindowName, bool bVisible );
+void impl_addWindowListeners( const css::uno::Reference< css::uno::XInterface >& xThis, const css::uno::Reference< css::ui::XUIElement >& xUIElement );
}
diff --git a/framework/source/layoutmanager/toolbarlayoutmanager.hxx b/framework/source/layoutmanager/toolbarlayoutmanager.hxx
index 597cf4a34d9a..4567f6647796 100644
--- a/framework/source/layoutmanager/toolbarlayoutmanager.hxx
+++ b/framework/source/layoutmanager/toolbarlayoutmanager.hxx
@@ -58,9 +58,9 @@
namespace framework
{
-class ToolbarLayoutManager : public ::cppu::WeakImplHelper< ::com::sun::star::awt::XDockableWindowListener,
- ::com::sun::star::ui::XUIConfigurationListener,
- ::com::sun::star::awt::XWindowListener >
+class ToolbarLayoutManager : public ::cppu::WeakImplHelper< css::awt::XDockableWindowListener,
+ css::ui::XUIConfigurationListener,
+ css::awt::XWindowListener >
{
public:
enum { DOCKINGAREAS_COUNT = 4 };
@@ -72,24 +72,24 @@ class ToolbarLayoutManager : public ::cppu::WeakImplHelper< ::com::sun::star::aw
PREVIEWFRAME_YES
};
- ToolbarLayoutManager( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& rxContext,
- const ::com::sun::star::uno::Reference< ::com::sun::star::ui::XUIElementFactory >& xUIElementFactory,
+ ToolbarLayoutManager( const css::uno::Reference< css::uno::XComponentContext >& rxContext,
+ const css::uno::Reference< css::ui::XUIElementFactory >& xUIElementFactory,
LayoutManager* pParentLayouter );
virtual ~ToolbarLayoutManager();
void reset();
- void attach( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& xFrame,
- const ::com::sun::star::uno::Reference< ::com::sun::star::ui::XUIConfigurationManager >& xModuleCfgMgr,
- const ::com::sun::star::uno::Reference< ::com::sun::star::ui::XUIConfigurationManager >& xDocCfgMgr,
- const ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess >& xPersistentWindowState );
+ void attach( const css::uno::Reference< css::frame::XFrame >& xFrame,
+ const css::uno::Reference< css::ui::XUIConfigurationManager >& xModuleCfgMgr,
+ const css::uno::Reference< css::ui::XUIConfigurationManager >& xDocCfgMgr,
+ const css::uno::Reference< css::container::XNameAccess >& xPersistentWindowState );
- void setParentWindow( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindowPeer >& xParentWindow );
+ void setParentWindow( const css::uno::Reference< css::awt::XWindowPeer >& xParentWindow );
void setDockingAreaOffsets(const ::Rectangle& rOffsets);
void resetDockingArea();
- ::com::sun::star::awt::Rectangle getDockingArea();
- void setDockingArea( const ::com::sun::star::awt::Rectangle& rDockingArea );
+ css::awt::Rectangle getDockingArea();
+ void setDockingArea( const css::awt::Rectangle& rDockingArea );
bool isPreviewFrame();
@@ -114,22 +114,22 @@ class ToolbarLayoutManager : public ::cppu::WeakImplHelper< ::com::sun::star::aw
void setVisible(bool bVisible);
// docking and further functions
- bool dockToolbar( const OUString& rResourceURL, ::com::sun::star::ui::DockingArea eDockingArea, const ::com::sun::star::awt::Point& aPos );
+ bool dockToolbar( const OUString& rResourceURL, css::ui::DockingArea eDockingArea, const css::awt::Point& aPos );
bool dockAllToolbars();
bool floatToolbar( const OUString& rResoureURL );
bool lockToolbar( const OUString& rResourceURL );
bool unlockToolbar( const OUString& rResourceURL );
- void setToolbarPos( const OUString& rResourceURL, const ::com::sun::star::awt::Point& aPos );
- void setToolbarSize( const OUString& rResourceURL, const ::com::sun::star::awt::Size& aSize );
- void setToolbarPosSize( const OUString& rResourceURL, const ::com::sun::star::awt::Point& aPos, const ::com::sun::star::awt::Size& aSize );
+ void setToolbarPos( const OUString& rResourceURL, const css::awt::Point& aPos );
+ void setToolbarSize( const OUString& rResourceURL, const css::awt::Size& aSize );
+ void setToolbarPosSize( const OUString& rResourceURL, const css::awt::Point& aPos, const css::awt::Size& aSize );
bool isToolbarVisible( const OUString& rResourceURL );
bool isToolbarFloating( const OUString& rResourceURL );
bool isToolbarDocked( const OUString& rResourceURL );
bool isToolbarLocked( const OUString& rResourceURL );
- ::com::sun::star::awt::Point getToolbarPos( const OUString& rResourceURL );
- ::com::sun::star::awt::Size getToolbarSize( const OUString& rResourceURL );
- ::com::sun::star::uno::Reference< ::com::sun::star::ui::XUIElement > getToolbar( const OUString& aName );
- ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< ::com::sun::star::ui::XUIElement > > getToolbars();
+ css::awt::Point getToolbarPos( const OUString& rResourceURL );
+ css::awt::Size getToolbarSize( const OUString& rResourceURL );
+ css::uno::Reference< css::ui::XUIElement > getToolbar( const OUString& aName );
+ css::uno::Sequence< css::uno::Reference< css::ui::XUIElement > > getToolbars();
// child window notifications
long childWindowEvent( VclSimpleEvent* pEvent );
@@ -138,7 +138,7 @@ class ToolbarLayoutManager : public ::cppu::WeakImplHelper< ::com::sun::star::aw
virtual void SAL_CALL acquire() throw() override;
virtual void SAL_CALL release() throw() override;
- virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw( ::com::sun::star::uno::RuntimeException, std::exception ) override;
+ virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) throw( css::uno::RuntimeException, std::exception ) override;
// XEventListener
virtual void SAL_CALL disposing( const css::lang::EventObject& aEvent ) throw( css::uno::RuntimeException, std::exception ) override;
@@ -150,18 +150,18 @@ class ToolbarLayoutManager : public ::cppu::WeakImplHelper< ::com::sun::star::aw
virtual void SAL_CALL windowHidden( const css::lang::EventObject& aEvent ) throw( css::uno::RuntimeException, std::exception ) override;
// XDockableWindowListener
- virtual void SAL_CALL startDocking( const ::com::sun::star::awt::DockingEvent& e ) throw (::com::sun::star::uno::RuntimeException, std::exception) override;
- virtual ::com::sun::star::awt::DockingData SAL_CALL docking( const ::com::sun::star::awt::DockingEvent& e ) throw (::com::sun::star::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL endDocking( const ::com::sun::star::awt::EndDockingEvent& e ) throw (::com::sun::star::uno::RuntimeException, std::exception) override;
- virtual sal_Bool SAL_CALL prepareToggleFloatingMode( const ::com::sun::star::lang::EventObject& e ) throw (::com::sun::star::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL toggleFloatingMode( const ::com::sun::star::lang::EventObject& e ) throw (::com::sun::star::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL closed( const ::com::sun::star::lang::EventObject& e ) throw (::com::sun::star::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL endPopupMode( const ::com::sun::star::awt::EndPopupModeEvent& e ) throw (::com::sun::star::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL startDocking( const css::awt::DockingEvent& e ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual css::awt::DockingData SAL_CALL docking( const css::awt::DockingEvent& e ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL endDocking( const css::awt::EndDockingEvent& e ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual sal_Bool SAL_CALL prepareToggleFloatingMode( const css::lang::EventObject& e ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL toggleFloatingMode( const css::lang::EventObject& e ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL closed( const css::lang::EventObject& e ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL endPopupMode( const css::awt::EndPopupModeEvent& e ) throw (css::uno::RuntimeException, std::exception) override;
// XUIConfigurationListener
- virtual void SAL_CALL elementInserted( const ::com::sun::star::ui::ConfigurationEvent& Event ) throw (::com::sun::star::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL elementRemoved( const ::com::sun::star::ui::ConfigurationEvent& Event ) throw (::com::sun::star::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL elementReplaced( const ::com::sun::star::ui::ConfigurationEvent& Event ) throw (::com::sun::star::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL elementInserted( const css::ui::ConfigurationEvent& Event ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL elementRemoved( const css::ui::ConfigurationEvent& Event ) throw (css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL elementReplaced( const css::ui::ConfigurationEvent& Event ) throw (css::uno::RuntimeException, std::exception) override;
private:
enum DockingOperation
@@ -181,15 +181,15 @@ class ToolbarLayoutManager : public ::cppu::WeakImplHelper< ::com::sun::star::aw
, nRowColumn(0)
{}
- std::vector< OUString > aUIElementNames;
- std::vector< ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindow > > aRowColumnWindows;
- std::vector< ::com::sun::star::awt::Rectangle > aRowColumnWindowSizes;
- std::vector< sal_Int32 > aRowColumnSpace;
- ::com::sun::star::awt::Rectangle aRowColumnRect;
- sal_Int32 nVarSize;
- sal_Int32 nStaticSize;
- sal_Int32 nSpace;
- sal_Int32 nRowColumn;
+ std::vector< OUString > aUIElementNames;
+ std::vector< css::uno::Reference< css::awt::XWindow > > aRowColumnWindows;
+ std::vector< css::awt::Rectangle > aRowColumnWindowSizes;
+ std::vector< sal_Int32 > aRowColumnSpace;
+ css::awt::Rectangle aRowColumnRect;
+ sal_Int32 nVarSize;
+ sal_Int32 nStaticSize;
+ sal_Int32 nSpace;
+ sal_Int32 nRowColumn;
};
// internal helper methods
@@ -198,15 +198,15 @@ class ToolbarLayoutManager : public ::cppu::WeakImplHelper< ::com::sun::star::aw
::Rectangle implts_calcDockingArea();
void implts_sortUIElements();
void implts_reparentToolbars();
- OUString implts_generateGenericAddonToolbarTitle( sal_Int32 nNumber ) const;
- void implts_setElementData( UIElement& rUIElement, const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XDockableWindow >& rDockWindow );
+ OUString implts_generateGenericAddonToolbarTitle( sal_Int32 nNumber ) const;
+ void implts_setElementData( UIElement& rUIElement, const css::uno::Reference< css::awt::XDockableWindow >& rDockWindow );
void implts_destroyDockingAreaWindows();
// layout methods
- void implts_setDockingAreaWindowSizes( const ::com::sun::star::awt::Rectangle& rBorderSpace );
- ::com::sun::star::awt::Point implts_findNextCascadeFloatingPos();
- void implts_renumberRowColumnData( ::com::sun::star::ui::DockingArea eDockingArea, DockingOperation eDockingOperation, const UIElement& rUIElement );
+ void implts_setDockingAreaWindowSizes( const css::awt::Rectangle& rBorderSpace );
+ css::awt::Point implts_findNextCascadeFloatingPos();
+ void implts_renumberRowColumnData( css::ui::DockingArea eDockingArea, DockingOperation eDockingOperation, const UIElement& rUIElement );
void implts_calcWindowPosSizeOnSingleRowColumn( sal_Int32 nDockingArea,
sal_Int32 nOffset,
SingleRowColumnWindowData& rRowColumnWindowData,
@@ -217,10 +217,10 @@ class ToolbarLayoutManager : public ::cppu::WeakImplHelper< ::com::sun::star::aw
// lookup/container methods
UIElement implts_findToolbar( const OUString& aName );
- UIElement implts_findToolbar( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& xToolbar );
+ UIElement implts_findToolbar( const css::uno::Reference< css::uno::XInterface >& xToolbar );
UIElement& impl_findToolbar( const OUString& aName );
- ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindow > implts_getXWindow( const OUString& aName );
- vcl::Window* implts_getWindow( const OUString& aName );
+ css::uno::Reference< css::awt::XWindow > implts_getXWindow( const OUString& aName );
+ vcl::Window* implts_getWindow( const OUString& aName );
bool implts_insertToolbar( const UIElement& rUIElement );
void implts_setToolbar( const UIElement& rUIElement );
::Size implts_getTopBottomDockingAreaSizes();
@@ -230,31 +230,31 @@ class ToolbarLayoutManager : public ::cppu::WeakImplHelper< ::com::sun::star::aw
::Rectangle implts_calcHotZoneRect( const ::Rectangle& rRect, sal_Int32 nHotZoneOffset );
void implts_calcDockingPosSize( UIElement& aUIElement, DockingOperation& eDockOperation, ::Rectangle& rTrackingRect, const Point& rMousePos );
- DockingOperation implts_determineDockingOperation( ::com::sun::star::ui::DockingArea DockingArea, const ::Rectangle& rRowColRect, const Point& rMousePos );
- ::Rectangle implts_getWindowRectFromRowColumn( ::com::sun::star::ui::DockingArea DockingArea, const SingleRowColumnWindowData& rRowColumnWindowData, const ::Point& rMousePos, const OUString& rExcludeElementName );
- ::Rectangle implts_determineFrontDockingRect( ::com::sun::star::ui::DockingArea eDockingArea,
+ DockingOperation implts_determineDockingOperation( css::ui::DockingArea DockingArea, const ::Rectangle& rRowColRect, const Point& rMousePos );
+ ::Rectangle implts_getWindowRectFromRowColumn( css::ui::DockingArea DockingArea, const SingleRowColumnWindowData& rRowColumnWindowData, const ::Point& rMousePos, const OUString& rExcludeElementName );
+ ::Rectangle implts_determineFrontDockingRect( css::ui::DockingArea eDockingArea,
sal_Int32 nRowCol,
const ::Rectangle& rDockedElementRect,
const OUString& rMovedElementName,
const ::Rectangle& rMovedElementRect );
- ::Rectangle implts_calcTrackingAndElementRect( ::com::sun::star::ui::DockingArea eDockingArea,
+ ::Rectangle implts_calcTrackingAndElementRect( css::ui::DockingArea eDockingArea,
sal_Int32 nRowCol,
UIElement& rUIElement,
const ::Rectangle& rTrackingRect,
const ::Rectangle& rRowColumnRect,
const ::Size& rContainerWinSize );
- void implts_getDockingAreaElementInfos( ::com::sun::star::ui::DockingArea DockingArea, std::vector< SingleRowColumnWindowData >& rRowColumnsWindowData );
- void implts_getDockingAreaElementInfoOnSingleRowCol( ::com::sun::star::ui::DockingArea, sal_Int32 nRowCol, SingleRowColumnWindowData& rRowColumnWindowData );
- void implts_findNextDockingPos( ::com::sun::star::ui::DockingArea DockingArea, const ::Size& aUIElementSize, ::com::sun::star::awt::Point& rVirtualPos, ::Point& rPixelPos );
- void implts_setTrackingRect( ::com::sun::star::ui::DockingArea eDockingArea, const ::Point& rMousePos, ::Rectangle& rTrackingRect );
+ void implts_getDockingAreaElementInfos( css::ui::DockingArea DockingArea, std::vector< SingleRowColumnWindowData >& rRowColumnsWindowData );
+ void implts_getDockingAreaElementInfoOnSingleRowCol( css::ui::DockingArea, sal_Int32 nRowCol, SingleRowColumnWindowData& rRowColumnWindowData );
+ void implts_findNextDockingPos( css::ui::DockingArea DockingArea, const ::Size& aUIElementSize, css::awt::Point& rVirtualPos, ::Point& rPixelPos );
+ void implts_setTrackingRect( css::ui::DockingArea eDockingArea, const ::Point& rMousePos, ::Rectangle& rTrackingRect );
// creation methods
void implts_createAddonsToolBars();
void implts_createCustomToolBars();
void implts_createNonContextSensitiveToolBars();
- void implts_createCustomToolBars( const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue > >& aCustomTbxSeq );
+ void implts_createCustomToolBars( const css::uno::Sequence< css::uno::Sequence< css::beans::PropertyValue > >& aCustomTbxSeq );
void implts_createCustomToolBar( const OUString& aTbxResName, const OUString& aTitle );
void implts_setToolbarCreation( bool bStart = true );
bool implts_isToolbarCreationActive();
@@ -270,10 +270,10 @@ class ToolbarLayoutManager : public ::cppu::WeakImplHelper< ::com::sun::star::aw
css::uno::Reference< css::frame::XFrame > m_xFrame;
css::uno::Reference< css::awt::XWindow2 > m_xContainerWindow;
css::uno::Reference< css::awt::XWindow > m_xDockAreaWindows[DOCKINGAREAS_COUNT];
- css::uno::Reference< ::com::sun::star::ui::XUIElementFactory > m_xUIElementFactoryManager;
- css::uno::Reference< ::com::sun::star::ui::XUIConfigurationManager > m_xModuleCfgMgr;
- css::uno::Reference< ::com::sun::star::ui::XUIConfigurationManager > m_xDocCfgMgr;
- css::uno::Reference< ::com::sun::star::container::XNameAccess > m_xPersistentWindowState;
+ css::uno::Reference< css::ui::XUIElementFactory > m_xUIElementFactoryManager;
+ css::uno::Reference< css::ui::XUIConfigurationManager > m_xModuleCfgMgr;
+ css::uno::Reference< css::ui::XUIConfigurationManager > m_xDocCfgMgr;
+ css::uno::Reference< css::container::XNameAccess > m_xPersistentWindowState;
LayoutManager* m_pParentLayouter;
UIElementVector m_aUIElements;
diff --git a/framework/source/recording/dispatchrecorder.cxx b/framework/source/recording/dispatchrecorder.cxx
index 85b089b0ca74..51dd50f2232d 100644
--- a/framework/source/recording/dispatchrecorder.cxx
+++ b/framework/source/recording/dispatchrecorder.cxx
@@ -110,7 +110,7 @@ void SAL_CALL DispatchRecorder::recordDispatch( const css::util::URL& aURL,
{
OUString aTarget;
- com::sun::star::frame::DispatchStatement aStatement( aURL.Complete, aTarget, lArguments, 0, sal_False );
+ css::frame::DispatchStatement aStatement( aURL.Complete, aTarget, lArguments, 0, sal_False );
m_aStatements.push_back( aStatement );
}
@@ -120,7 +120,7 @@ void SAL_CALL DispatchRecorder::recordDispatchAsComment( const css::util::URL&
OUString aTarget;
// last parameter must be set to true -> it's a comment
- com::sun::star::frame::DispatchStatement aStatement( aURL.Complete, aTarget, lArguments, 0, sal_True );
+ css::frame::DispatchStatement aStatement( aURL.Complete, aTarget, lArguments, 0, sal_True );
m_aStatements.push_back( aStatement );
}
@@ -150,7 +150,7 @@ OUString SAL_CALL DispatchRecorder::getRecordedMacro() throw( css::uno::RuntimeE
aScriptBuffer.append("document = ThisComponent.CurrentController.Frame\n");
aScriptBuffer.append("dispatcher = createUnoService(\"com.sun.star.frame.DispatchHelper\")\n\n");
- std::vector< com::sun::star::frame::DispatchStatement>::iterator p;
+ std::vector< css::frame::DispatchStatement>::iterator p;
for ( p = m_aStatements.begin(); p != m_aStatements.end(); ++p )
implts_recordMacro( p->aCommand, p->aArgs, p->bIsComment, aScriptBuffer );
OUString sScript = aScriptBuffer.makeStringAndClear();
@@ -374,53 +374,53 @@ void SAL_CALL DispatchRecorder::implts_recordMacro( const OUString& aURL,
/* } */
}
-com::sun::star::uno::Type SAL_CALL DispatchRecorder::getElementType() throw (::com::sun::star::uno::RuntimeException, std::exception)
+css::uno::Type SAL_CALL DispatchRecorder::getElementType() throw (css::uno::RuntimeException, std::exception)
{
- return cppu::UnoType<com::sun::star::frame::DispatchStatement>::get();
+ return cppu::UnoType<css::frame::DispatchStatement>::get();
}
-sal_Bool SAL_CALL DispatchRecorder::hasElements() throw (::com::sun::star::uno::RuntimeException, std::exception)
+sal_Bool SAL_CALL DispatchRecorder::hasElements() throw (css::uno::RuntimeException, std::exception)
{
return (! m_aStatements.empty());
}
-sal_Int32 SAL_CALL DispatchRecorder::getCount() throw (::com::sun::star::uno::RuntimeException, std::exception)
+sal_Int32 SAL_CALL DispatchRecorder::getCount() throw (css::uno::RuntimeException, std::exception)
{
return m_aStatements.size();
}
-com::sun::star::uno::Any SAL_CALL DispatchRecorder::getByIndex(sal_Int32 idx) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException, std::exception)
+css::uno::Any SAL_CALL DispatchRecorder::getByIndex(sal_Int32 idx) throw (css::lang::IndexOutOfBoundsException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception)
{
if (idx >= (sal_Int32)m_aStatements.size()) {
- throw com::sun::star::lang::IndexOutOfBoundsException( "Dispatch recorder out of bounds" );
+ throw css::lang::IndexOutOfBoundsException( "Dispatch recorder out of bounds" );
}
Any element(&m_aStatements[idx],
- cppu::UnoType<com::sun::star::frame::DispatchStatement>::get());
+ cppu::UnoType<css::frame::DispatchStatement>::get());
return element;
}
-void SAL_CALL DispatchRecorder::replaceByIndex(sal_Int32 idx, const com::sun::star::uno::Any& element) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException, std::exception)
+void SAL_CALL DispatchRecorder::replaceByIndex(sal_Int32 idx, const css::uno::Any& element) throw (css::lang::IllegalArgumentException, css::lang::IndexOutOfBoundsException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception)
{
if (element.getValueType() !=
- cppu::UnoType<com::sun::star::frame::DispatchStatement>::get()) {
- throw com::sun::star::lang::IllegalArgumentException(
+ cppu::UnoType<css::frame::DispatchStatement>::get()) {
+ throw css::lang::IllegalArgumentException(
"Illegal argument in dispatch recorder",
Reference< XInterface >(), 2 );
}
if (idx >= (sal_Int32)m_aStatements.size()) {
- throw com::sun::star::lang::IndexOutOfBoundsException(
+ throw css::lang::IndexOutOfBoundsException(
"Dispatch recorder out of bounds" );
}
- com::sun::star::frame::DispatchStatement const *pStatement;
+ css::frame::DispatchStatement const *pStatement;
- pStatement = static_cast<com::sun::star::frame::DispatchStatement const *>(element.getValue());
+ pStatement = static_cast<css::frame::DispatchStatement const *>(element.getValue());
- com::sun::star::frame::DispatchStatement aStatement(
+ css::frame::DispatchStatement aStatement(
pStatement->aCommand,
pStatement->aTarget,
pStatement->aArgs,
diff --git a/framework/source/services/desktop.cxx b/framework/source/services/desktop.cxx
index 7a5a71155b01..7d09db7ca614 100644
--- a/framework/source/services/desktop.cxx
+++ b/framework/source/services/desktop.cxx
@@ -1470,7 +1470,7 @@ void SAL_CALL Desktop::getFastPropertyValue( css::uno::Any& aValue ,
@return reference to object with information [XPropertySetInfo]
@threadsafe yes
*//*-*************************************************************************************************************/
-css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL Desktop::getPropertySetInfo() throw (::com::sun::star::uno::RuntimeException, std::exception)
+css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL Desktop::getPropertySetInfo() throw (css::uno::RuntimeException, std::exception)
{
/* UNSAFE AREA --------------------------------------------------------------------------------------------- */
// Register transaction and reject wrong calls.
diff --git a/framework/source/services/frame.cxx b/framework/source/services/frame.cxx
index 9d3aec94af4b..74d7f51c6d57 100644
--- a/framework/source/services/frame.cxx
+++ b/framework/source/services/frame.cxx
@@ -2670,7 +2670,7 @@ void Frame::impl_initializePropInfo()
css::beans::Property(
FRAME_PROPNAME_LAYOUTMANAGER,
FRAME_PROPHANDLE_LAYOUTMANAGER,
- cppu::UnoType<com::sun::star::frame::XLayoutManager>::get(),
+ cppu::UnoType<css::frame::XLayoutManager>::get(),
css::beans::PropertyAttribute::TRANSIENT));
impl_addPropertyInfo(
diff --git a/framework/source/services/pathsettings.cxx b/framework/source/services/pathsettings.cxx
index f87ac62ab072..6764d1e1cbe7 100644
--- a/framework/source/services/pathsettings.cxx
+++ b/framework/source/services/pathsettings.cxx
@@ -443,8 +443,8 @@ private:
virtual void SAL_CALL getFastPropertyValue( css::uno::Any& aValue,
sal_Int32 nHandle ) const override;
// Avoid:
- // warning: ‘virtual com::sun::star::uno::Any cppu::OPropertySetHelper::getFastPropertyValue(sal_Int32)’ was hidden [-Woverloaded-virtual]
- // warning: by ‘virtual void {anonymous}::PathSettings::getFastPropertyValue(com::sun::star::uno::Any&, sal_Int32) const’ [-Woverloaded-virtual]
+ // warning: ‘virtual css::uno::Any cppu::OPropertySetHelper::getFastPropertyValue(sal_Int32)’ was hidden [-Woverloaded-virtual]
+ // warning: by ‘virtual void {anonymous}::PathSettings::getFastPropertyValue(css::uno::Any&, sal_Int32) const’ [-Woverloaded-virtual]
using cppu::OPropertySetHelper::getFastPropertyValue;
virtual ::cppu::IPropertyArrayHelper& SAL_CALL getInfoHelper() override;
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() throw(css::uno::RuntimeException, std::exception) override;
diff --git a/framework/source/services/sessionlistener.cxx b/framework/source/services/sessionlistener.cxx
index f02d3902207e..e3fdf1c59582 100644
--- a/framework/source/services/sessionlistener.cxx
+++ b/framework/source/services/sessionlistener.cxx
@@ -131,7 +131,7 @@ public:
return aSeq;
}
- virtual void SAL_CALL disposing(const com::sun::star::lang::EventObject&) throw (css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL disposing(const css::lang::EventObject&) throw (css::uno::RuntimeException, std::exception) override;
// XInitialization
virtual void SAL_CALL initialize(const css::uno::Sequence< css::uno::Any >& args) throw (css::uno::RuntimeException, std::exception) override;
@@ -148,10 +148,10 @@ public:
// XSessionManagerListener2
virtual void SAL_CALL doQuit()
- throw (::com::sun::star::uno::RuntimeException, std::exception) override;
+ throw (css::uno::RuntimeException, std::exception) override;
// XStatusListener
- virtual void SAL_CALL statusChanged(const com::sun::star::frame::FeatureStateEvent& event)
+ virtual void SAL_CALL statusChanged(const css::frame::FeatureStateEvent& event)
throw (css::uno::RuntimeException, std::exception) override;
};
@@ -199,7 +199,7 @@ void SessionListener::StoreSession( bool bAsync )
Sequence< PropertyValue > args(1);
args[0] = PropertyValue(OUString("DispatchAsynchron"),-1,makeAny(bAsync),PropertyState_DIRECT_VALUE);
xDispatch->dispatch(aURL, args);
- } catch (const com::sun::star::uno::Exception& e) {
+ } catch (const css::uno::Exception& e) {
SAL_WARN("fwk.session",e.Message);
// save failed, but tell manager to go on if we havent yet dispatched the request
// in case of synchronous saving the notification is done by the caller
@@ -227,12 +227,12 @@ void SessionListener::QuitSessionQuietly()
Sequence< PropertyValue > args(1);
args[0] = PropertyValue(OUString("DispatchAsynchron"),-1,makeAny(sal_False),PropertyState_DIRECT_VALUE);
xDispatch->dispatch(aURL, args);
- } catch (const com::sun::star::uno::Exception& e) {
+ } catch (const css::uno::Exception& e) {
SAL_WARN("fwk.session",e.Message);
}
}
-void SAL_CALL SessionListener::disposing(const com::sun::star::lang::EventObject&) throw (RuntimeException, std::exception)
+void SAL_CALL SessionListener::disposing(const css::lang::EventObject&) throw (RuntimeException, std::exception)
{
SAL_INFO("fwk.session", "SessionListener::disposing");
}
@@ -309,7 +309,7 @@ sal_Bool SAL_CALL SessionListener::doRestore()
xDispatch->dispatch(aURL, args);
m_bRestored = true;
- } catch (const com::sun::star::uno::Exception& e) {
+ } catch (const css::uno::Exception& e) {
SAL_WARN("fwk.session",e.Message);
}
diff --git a/framework/source/services/substitutepathvars.cxx b/framework/source/services/substitutepathvars.cxx
index db337135a543..9f40be23b408 100644
--- a/framework/source/services/substitutepathvars.cxx
+++ b/framework/source/services/substitutepathvars.cxx
@@ -92,7 +92,7 @@ struct SubstituteRule
SubstituteRule( const OUString& aVarName,
const OUString& aValue,
- const com::sun::star::uno::Any& aVal,
+ const css::uno::Any& aVal,
EnvironmentType aType )
: aSubstVariable(aVarName)
, aSubstValue(aValue)
@@ -102,8 +102,8 @@ struct SubstituteRule
OUString aSubstVariable;
OUString aSubstValue;
- com::sun::star::uno::Any aEnvValue;
- EnvironmentType aEnvType;
+ css::uno::Any aEnvValue;
+ EnvironmentType aEnvType;
};
typedef std::unordered_map<OUString, SubstituteRule, OUStringHash>
@@ -123,7 +123,7 @@ class SubstitutePathVariables_Impl : public utl::ConfigItem
/** is called from the ConfigManager before application ends or from the
PropertyChangeListener if the sub tree broadcasts changes. */
- virtual void Notify( const com::sun::star::uno::Sequence< OUString >& aPropertyNames ) override;
+ virtual void Notify( const css::uno::Sequence< OUString >& aPropertyNames ) override;
private:
@@ -137,7 +137,7 @@ class SubstitutePathVariables_Impl : public utl::ConfigItem
bool FilterRuleSet(const SubstituteRuleVector& aRuleSet, SubstituteRule& aActiveRule);
- void ReadSharePointsFromConfiguration(com::sun::star::uno::Sequence< OUString >& aSharePointsSeq);
+ void ReadSharePointsFromConfiguration(css::uno::Sequence< OUString >& aSharePointsSeq);
void ReadSharePointRuleSetFromConfiguration(const OUString& aSharePointName,
const OUString& aSharePointNodeName,
SubstituteRuleVector& aRuleSet);
@@ -227,7 +227,7 @@ class SubstitutePathVariables : private cppu::BaseMutex,
friend class SubstitutePathVariables_Impl;
public:
- SubstitutePathVariables( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& xContext );
+ SubstitutePathVariables( const css::uno::Reference< css::uno::XComponentContext >& xContext );
virtual ~SubstitutePathVariables();
virtual OUString SAL_CALL getImplementationName()
@@ -252,11 +252,11 @@ public:
// XStringSubstitution
virtual OUString SAL_CALL substituteVariables( const OUString& aText, sal_Bool bSubstRequired )
- throw (::com::sun::star::container::NoSuchElementException, ::com::sun::star::uno::RuntimeException, std::exception) override;
+ throw (css::container::NoSuchElementException, css::uno::RuntimeException, std::exception) override;
virtual OUString SAL_CALL reSubstituteVariables( const OUString& aText )
- throw (::com::sun::star::uno::RuntimeException, std::exception) override;
+ throw (css::uno::RuntimeException, std::exception) override;
virtual OUString SAL_CALL getSubstituteVariableValue( const OUString& variable )
- throw (::com::sun::star::container::NoSuchElementException, ::com::sun::star::uno::RuntimeException, std::exception) override;
+ throw (css::container::NoSuchElementException, css::uno::RuntimeException, std::exception) override;
protected:
void SetPredefinedPathVariables();
@@ -271,11 +271,11 @@ protected:
// XStringSubstitution implementation methods
OUString impl_substituteVariable( const OUString& aText, bool bSustRequired )
- throw (::com::sun::star::container::NoSuchElementException, ::com::sun::star::uno::RuntimeException);
+ throw (css::container::NoSuchElementException, css::uno::RuntimeException);
OUString impl_reSubstituteVariables( const OUString& aText )
- throw (::com::sun::star::uno::RuntimeException);
+ throw (css::uno::RuntimeException);
OUString impl_getSubstituteVariableValue( const OUString& variable )
- throw (::com::sun::star::container::NoSuchElementException, ::com::sun::star::uno::RuntimeException);
+ throw (css::container::NoSuchElementException, css::uno::RuntimeException);
private:
typedef std::unordered_map<OUString, PreDefVariable, OUStringHash>
@@ -448,7 +448,7 @@ void SubstitutePathVariables_Impl::GetSharePointsRules( SubstituteVariables& aSu
}
}
-void SubstitutePathVariables_Impl::Notify( const com::sun::star::uno::Sequence< OUString >& /*aPropertyNames*/ )
+void SubstitutePathVariables_Impl::Notify( const css::uno::Sequence< OUString >& /*aPropertyNames*/ )
{
// NOT implemented yet!
}
diff --git a/framework/source/services/uriabbreviation.cxx b/framework/source/services/uriabbreviation.cxx
index 1ef9391ac134..2491471cf17e 100644
--- a/framework/source/services/uriabbreviation.cxx
+++ b/framework/source/services/uriabbreviation.cxx
@@ -48,7 +48,7 @@ UriAbbreviation::UriAbbreviation(css::uno::Reference< css::uno::XComponentContex
{
}
-// ::com::sun::star::util::XStringAbbreviation:
+// css::util::XStringAbbreviation:
OUString SAL_CALL UriAbbreviation::abbreviateString(const css::uno::Reference< css::util::XStringWidth > & xStringWidth, ::sal_Int32 nWidth, const OUString & aString) throw (css::uno::RuntimeException, std::exception)
{
OUString aResult( aString );
diff --git a/framework/source/tabwin/tabwindow.cxx b/framework/source/tabwin/tabwindow.cxx
index 584112614f78..931b1873a222 100644
--- a/framework/source/tabwin/tabwindow.cxx
+++ b/framework/source/tabwin/tabwindow.cxx
@@ -802,7 +802,7 @@ throw( css::lang::IllegalArgumentException )
{
case TABWINDOW_PROPHANDLE_PARENTWINDOW :
bReturn = PropHelper::willPropertyBeChanged(
- com::sun::star::uno::makeAny( m_xContainerWindow ),
+ css::uno::makeAny( m_xContainerWindow ),
aValue,
aOldValue,
aConvertedValue);
@@ -810,7 +810,7 @@ throw( css::lang::IllegalArgumentException )
case TABWINDOW_PROPHANDLE_TOPWINDOW :
bReturn = PropHelper::willPropertyBeChanged(
- com::sun::star::uno::makeAny( m_xTopWindow ),
+ css::uno::makeAny( m_xTopWindow ),
aValue,
aOldValue,
aConvertedValue);
@@ -901,18 +901,18 @@ const css::uno::Sequence< css::beans::Property > TabWindow::impl_getStaticProper
// ATTENTION:
// YOU MUST SORT FOLLOW TABLE BY NAME ALPHABETICAL !!!
- const com::sun::star::beans::Property pProperties[] =
+ const css::beans::Property pProperties[] =
{
- com::sun::star::beans::Property( TABWINDOW_PROPNAME_PARENTWINDOW,
+ css::beans::Property( TABWINDOW_PROPNAME_PARENTWINDOW,
TABWINDOW_PROPHANDLE_PARENTWINDOW,
cppu::UnoType<css::awt::XWindow>::get(),
- com::sun::star::beans::PropertyAttribute::READONLY ),
- com::sun::star::beans::Property( TABWINDOW_PROPNAME_TOPWINDOW,
+ css::beans::PropertyAttribute::READONLY ),
+ css::beans::Property( TABWINDOW_PROPNAME_TOPWINDOW,
TABWINDOW_PROPHANDLE_TOPWINDOW,
cppu::UnoType<css::awt::XWindow>::get(),
- com::sun::star::beans::PropertyAttribute::READONLY )
+ css::beans::PropertyAttribute::READONLY )
}; // Use it to initialize sequence!
- const com::sun::star::uno::Sequence< com::sun::star::beans::Property > lPropertyDescriptor( pProperties, TABWINDOW_PROPCOUNT );
+ const css::uno::Sequence< css::beans::Property > lPropertyDescriptor( pProperties, TABWINDOW_PROPCOUNT );
// Return "PropertyDescriptor"
return lPropertyDescriptor;
diff --git a/framework/source/tabwin/tabwinfactory.cxx b/framework/source/tabwin/tabwinfactory.cxx
index bcc705b2813d..08f8e77c2298 100644
--- a/framework/source/tabwin/tabwinfactory.cxx
+++ b/framework/source/tabwin/tabwinfactory.cxx
@@ -49,7 +49,7 @@ DEFINE_XSERVICEINFO_ONEINSTANCESERVICE_2( TabWinFactory
DEFINE_INIT_SERVICE ( TabWinFactory, {} )
-TabWinFactory::TabWinFactory( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& xContext ) :
+TabWinFactory::TabWinFactory( const css::uno::Reference< css::uno::XComponentContext >& xContext ) :
m_xContext( xContext )
{
}
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 ));
diff --git a/framework/source/uiconfiguration/graphicnameaccess.cxx b/framework/source/uiconfiguration/graphicnameaccess.cxx
index e81a79797181..69c083da09ba 100644
--- a/framework/source/uiconfiguration/graphicnameaccess.cxx
+++ b/framework/source/uiconfiguration/graphicnameaccess.cxx
@@ -53,7 +53,7 @@ throw( container::NoSuchElementException,
}
uno::Sequence< OUString > SAL_CALL GraphicNameAccess::getElementNames()
-throw(::com::sun::star::uno::RuntimeException, std::exception)
+throw(css::uno::RuntimeException, std::exception)
{
if ( m_aSeq.getLength() == 0 )
{
@@ -72,7 +72,7 @@ throw(::com::sun::star::uno::RuntimeException, std::exception)
}
sal_Bool SAL_CALL GraphicNameAccess::hasByName( const OUString& aName )
-throw(::com::sun::star::uno::RuntimeException, std::exception)
+throw(css::uno::RuntimeException, std::exception)
{
NameGraphicHashMap::const_iterator pIter = m_aNameToElementMap.find( aName );
return ( pIter != m_aNameToElementMap.end() );
diff --git a/framework/source/uiconfiguration/imagemanager.cxx b/framework/source/uiconfiguration/imagemanager.cxx
index 20cac0ff8d2a..786ebae08d1a 100644
--- a/framework/source/uiconfiguration/imagemanager.cxx
+++ b/framework/source/uiconfiguration/imagemanager.cxx
@@ -68,17 +68,17 @@ ImageManager::~ImageManager()
}
// XComponent
-void SAL_CALL ImageManager::dispose() throw (::com::sun::star::uno::RuntimeException, std::exception)
+void SAL_CALL ImageManager::dispose() throw (css::uno::RuntimeException, std::exception)
{
m_pImpl->dispose();
}
-void SAL_CALL ImageManager::addEventListener( const uno::Reference< XEventListener >& xListener ) throw (::com::sun::star::uno::RuntimeException, std::exception)
+void SAL_CALL ImageManager::addEventListener( const uno::Reference< XEventListener >& xListener ) throw (css::uno::RuntimeException, std::exception)
{
m_pImpl->addEventListener(xListener);
}
-void SAL_CALL ImageManager::removeEventListener( const uno::Reference< XEventListener >& xListener ) throw (::com::sun::star::uno::RuntimeException, std::exception)
+void SAL_CALL ImageManager::removeEventListener( const uno::Reference< XEventListener >& xListener ) throw (css::uno::RuntimeException, std::exception)
{
/* SAFE AREA ----------------------------------------------------------------------------------------------- */
m_pImpl->removeEventListener(xListener);
@@ -86,7 +86,7 @@ void SAL_CALL ImageManager::removeEventListener( const uno::Reference< XEventLis
// Non-UNO methods
void ImageManager::setStorage( const uno::Reference< XStorage >& Storage )
-throw (::com::sun::star::uno::RuntimeException)
+throw (css::uno::RuntimeException)
{
SolarMutexGuard g;
@@ -111,13 +111,13 @@ void SAL_CALL ImageManager::reset()
}
Sequence< OUString > SAL_CALL ImageManager::getAllImageNames( ::sal_Int16 nImageType )
-throw (::com::sun::star::uno::RuntimeException, std::exception)
+throw (css::uno::RuntimeException, std::exception)
{
return m_pImpl->getAllImageNames( nImageType );
}
sal_Bool SAL_CALL ImageManager::hasImage( ::sal_Int16 nImageType, const OUString& aCommandURL )
-throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException, std::exception)
+throw (css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception)
{
return m_pImpl->hasImage(nImageType,aCommandURL);
}
@@ -125,7 +125,7 @@ throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::
Sequence< uno::Reference< XGraphic > > SAL_CALL ImageManager::getImages(
::sal_Int16 nImageType,
const Sequence< OUString >& aCommandURLSequence )
-throw ( ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException, std::exception )
+throw ( css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception )
{
return m_pImpl->getImages(nImageType,aCommandURLSequence);
}
@@ -134,39 +134,39 @@ void SAL_CALL ImageManager::replaceImages(
::sal_Int16 nImageType,
const Sequence< OUString >& aCommandURLSequence,
const Sequence< uno::Reference< XGraphic > >& aGraphicsSequence )
-throw ( ::com::sun::star::lang::IllegalArgumentException,
- ::com::sun::star::lang::IllegalAccessException,
- ::com::sun::star::uno::RuntimeException, std::exception)
+throw ( css::lang::IllegalArgumentException,
+ css::lang::IllegalAccessException,
+ css::uno::RuntimeException, std::exception)
{
m_pImpl->replaceImages(nImageType,aCommandURLSequence,aGraphicsSequence);
}
void SAL_CALL ImageManager::removeImages( ::sal_Int16 nImageType, const Sequence< OUString >& aCommandURLSequence )
-throw ( ::com::sun::star::lang::IllegalArgumentException,
- ::com::sun::star::lang::IllegalAccessException,
- ::com::sun::star::uno::RuntimeException, std::exception)
+throw ( css::lang::IllegalArgumentException,
+ css::lang::IllegalAccessException,
+ css::uno::RuntimeException, std::exception)
{
m_pImpl->removeImages(nImageType,aCommandURLSequence);
}
void SAL_CALL ImageManager::insertImages( ::sal_Int16 nImageType, const Sequence< OUString >& aCommandURLSequence, const Sequence< uno::Reference< XGraphic > >& aGraphicSequence )
-throw ( ::com::sun::star::container::ElementExistException,
- ::com::sun::star::lang::IllegalArgumentException,
- ::com::sun::star::lang::IllegalAccessException,
- ::com::sun::star::uno::RuntimeException, std::exception)
+throw ( css::container::ElementExistException,
+ css::lang::IllegalArgumentException,
+ css::lang::IllegalAccessException,
+ css::uno::RuntimeException, std::exception)
{
m_pImpl->insertImages(nImageType,aCommandURLSequence,aGraphicSequence);
}
// XUIConfiguration
-void SAL_CALL ImageManager::addConfigurationListener( const uno::Reference< ::com::sun::star::ui::XUIConfigurationListener >& xListener )
-throw (::com::sun::star::uno::RuntimeException, std::exception)
+void SAL_CALL ImageManager::addConfigurationListener( const uno::Reference< css::ui::XUIConfigurationListener >& xListener )
+throw (css::uno::RuntimeException, std::exception)
{
m_pImpl->addConfigurationListener(xListener);
}
-void SAL_CALL ImageManager::removeConfigurationListener( const uno::Reference< ::com::sun::star::ui::XUIConfigurationListener >& xListener )
-throw (::com::sun::star::uno::RuntimeException, std::exception)
+void SAL_CALL ImageManager::removeConfigurationListener( const uno::Reference< css::ui::XUIConfigurationListener >& xListener )
+throw (css::uno::RuntimeException, std::exception)
{
/* SAFE AREA ----------------------------------------------------------------------------------------------- */
m_pImpl->removeConfigurationListener(xListener);
@@ -174,31 +174,31 @@ throw (::com::sun::star::uno::RuntimeException, std::exception)
// XUIConfigurationPersistence
void SAL_CALL ImageManager::reload()
-throw ( ::com::sun::star::uno::Exception,
- ::com::sun::star::uno::RuntimeException, std::exception )
+throw ( css::uno::Exception,
+ css::uno::RuntimeException, std::exception )
{
m_pImpl->reload();
}
void SAL_CALL ImageManager::store()
-throw (::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException, std::exception)
+throw (css::uno::Exception, css::uno::RuntimeException, std::exception)
{
m_pImpl->store();
}
void SAL_CALL ImageManager::storeToStorage( const uno::Reference< XStorage >& Storage )
-throw (::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException, std::exception)
+throw (css::uno::Exception, css::uno::RuntimeException, std::exception)
{
m_pImpl->storeToStorage(Storage);
}
sal_Bool SAL_CALL ImageManager::isModified()
-throw (::com::sun::star::uno::RuntimeException, std::exception)
+throw (css::uno::RuntimeException, std::exception)
{
return m_pImpl->isModified();
}
-sal_Bool SAL_CALL ImageManager::isReadOnly() throw (::com::sun::star::uno::RuntimeException, std::exception)
+sal_Bool SAL_CALL ImageManager::isReadOnly() throw (css::uno::RuntimeException, std::exception)
{
return m_pImpl->isReadOnly();
}
diff --git a/framework/source/uiconfiguration/imagemanagerimpl.cxx b/framework/source/uiconfiguration/imagemanagerimpl.cxx
index a88bc651243f..2de5f0e9a90d 100644
--- a/framework/source/uiconfiguration/imagemanagerimpl.cxx
+++ b/framework/source/uiconfiguration/imagemanagerimpl.cxx
@@ -66,7 +66,7 @@ using namespace ::cppu;
// Image sizes for our toolbars/menus
const sal_Int32 IMAGE_SIZE_NORMAL = 16;
const sal_Int32 IMAGE_SIZE_LARGE = 26;
-const sal_Int16 MAX_IMAGETYPE_VALUE = ::com::sun::star::ui::ImageType::SIZE_LARGE;
+const sal_Int16 MAX_IMAGETYPE_VALUE = css::ui::ImageType::SIZE_LARGE;
static const char IMAGE_FOLDER[] = "images";
static const char BITMAPS_FOLDER[] = "Bitmaps";
@@ -369,7 +369,7 @@ static bool implts_checkAndScaleGraphic( uno::Reference< XGraphic >& rOutGraphic
static sal_Int16 implts_convertImageTypeToIndex( sal_Int16 nImageType )
{
sal_Int16 nIndex( 0 );
- if ( nImageType & ::com::sun::star::ui::ImageType::SIZE_LARGE )
+ if ( nImageType & css::ui::ImageType::SIZE_LARGE )
nIndex += 1;
return nIndex;
}
@@ -400,19 +400,19 @@ void ImageManagerImpl::implts_initialize()
nModes );
}
}
- catch ( const ::com::sun::star::container::NoSuchElementException& )
+ catch ( const css::container::NoSuchElementException& )
{
}
- catch ( const ::com::sun::star::embed::InvalidStorageException& )
+ catch ( const css::embed::InvalidStorageException& )
{
}
- catch ( const ::com::sun::star::lang::IllegalArgumentException& )
+ catch ( const css::lang::IllegalArgumentException& )
{
}
- catch ( const ::com::sun::star::io::IOException& )
+ catch ( const css::io::IOException& )
{
}
- catch ( const ::com::sun::star::embed::StorageWrappedTargetException& )
+ catch ( const css::embed::StorageWrappedTargetException& )
{
}
}
@@ -472,19 +472,19 @@ bool ImageManagerImpl::implts_loadUserImages(
}
}
}
- catch ( const ::com::sun::star::container::NoSuchElementException& )
+ catch ( const css::container::NoSuchElementException& )
{
}
- catch ( const ::com::sun::star::embed::InvalidStorageException& )
+ catch ( const css::embed::InvalidStorageException& )
{
}
- catch ( const ::com::sun::star::lang::IllegalArgumentException& )
+ catch ( const css::lang::IllegalArgumentException& )
{
}
- catch ( const ::com::sun::star::io::IOException& )
+ catch ( const css::io::IOException& )
{
}
- catch ( const ::com::sun::star::embed::StorageWrappedTargetException& )
+ catch ( const css::embed::StorageWrappedTargetException& )
{
}
}
@@ -569,7 +569,7 @@ bool ImageManagerImpl::implts_storeUserImages(
{
xUserImageStorage->removeElement( OUString::createFromAscii( IMAGELIST_XML_FILE[nImageType] ));
}
- catch ( const ::com::sun::star::container::NoSuchElementException& )
+ catch ( const css::container::NoSuchElementException& )
{
}
@@ -577,7 +577,7 @@ bool ImageManagerImpl::implts_storeUserImages(
{
xUserBitmapsStorage->removeElement( OUString::createFromAscii( BITMAP_FILE_NAMES[nImageType] ));
}
- catch ( const ::com::sun::star::container::NoSuchElementException& )
+ catch ( const css::container::NoSuchElementException& )
{
}
@@ -671,7 +671,7 @@ void ImageManagerImpl::dispose()
}
}
-void ImageManagerImpl::addEventListener( const uno::Reference< XEventListener >& xListener ) throw (::com::sun::star::uno::RuntimeException)
+void ImageManagerImpl::addEventListener( const uno::Reference< XEventListener >& xListener ) throw (css::uno::RuntimeException)
{
{
SolarMutexGuard g;
@@ -684,7 +684,7 @@ void ImageManagerImpl::addEventListener( const uno::Reference< XEventListener >&
m_aListenerContainer.addInterface( cppu::UnoType<XEventListener>::get(), xListener );
}
-void ImageManagerImpl::removeEventListener( const uno::Reference< XEventListener >& xListener ) throw (::com::sun::star::uno::RuntimeException)
+void ImageManagerImpl::removeEventListener( const uno::Reference< XEventListener >& xListener ) throw (css::uno::RuntimeException)
{
/* SAFE AREA ----------------------------------------------------------------------------------------------- */
m_aListenerContainer.removeInterface( cppu::UnoType<XEventListener>::get(), xListener );
@@ -736,7 +736,7 @@ void ImageManagerImpl::initialize( const Sequence< Any >& aArguments )
// XImageManagerImpl
void ImageManagerImpl::reset()
-throw (::com::sun::star::uno::RuntimeException, lang::IllegalAccessException)
+throw (css::uno::RuntimeException, lang::IllegalAccessException)
{
SolarMutexGuard g;
@@ -766,7 +766,7 @@ throw (::com::sun::star::uno::RuntimeException, lang::IllegalAccessException)
}
Sequence< OUString > ImageManagerImpl::getAllImageNames( ::sal_Int16 nImageType )
-throw (::com::sun::star::uno::RuntimeException)
+throw (css::uno::RuntimeException)
{
SolarMutexGuard g;
@@ -811,7 +811,7 @@ throw (::com::sun::star::uno::RuntimeException)
}
bool ImageManagerImpl::hasImage( ::sal_Int16 nImageType, const OUString& aCommandURL )
-throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException)
+throw (css::lang::IllegalArgumentException, css::uno::RuntimeException)
{
SolarMutexGuard g;
@@ -844,7 +844,7 @@ throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::
Sequence< uno::Reference< XGraphic > > ImageManagerImpl::getImages(
::sal_Int16 nImageType,
const Sequence< OUString >& aCommandURLSequence )
-throw ( ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException )
+throw ( css::lang::IllegalArgumentException, css::uno::RuntimeException )
{
SolarMutexGuard g;
@@ -977,9 +977,9 @@ throw (css::lang::IllegalArgumentException,
}
void ImageManagerImpl::removeImages( ::sal_Int16 nImageType, const Sequence< OUString >& aCommandURLSequence )
-throw ( ::com::sun::star::lang::IllegalArgumentException,
- ::com::sun::star::lang::IllegalAccessException,
- ::com::sun::star::uno::RuntimeException)
+throw ( css::lang::IllegalArgumentException,
+ css::lang::IllegalAccessException,
+ css::uno::RuntimeException)
{
CmdToXGraphicNameAccess* pRemovedImages( 0 );
CmdToXGraphicNameAccess* pReplacedImages( 0 );
@@ -1081,10 +1081,10 @@ throw ( ::com::sun::star::lang::IllegalArgumentException,
}
void ImageManagerImpl::insertImages( ::sal_Int16 nImageType, const Sequence< OUString >& aCommandURLSequence, const Sequence< uno::Reference< XGraphic > >& aGraphicSequence )
-throw ( ::com::sun::star::container::ElementExistException,
- ::com::sun::star::lang::IllegalArgumentException,
- ::com::sun::star::lang::IllegalAccessException,
- ::com::sun::star::uno::RuntimeException)
+throw ( css::container::ElementExistException,
+ css::lang::IllegalArgumentException,
+ css::lang::IllegalAccessException,
+ css::uno::RuntimeException)
{
replaceImages(nImageType,aCommandURLSequence,aGraphicSequence);
}
@@ -1243,8 +1243,8 @@ void ImageManagerImpl::reload()
}
void ImageManagerImpl::store()
- throw (::com::sun::star::uno::Exception,
- ::com::sun::star::uno::RuntimeException,
+ throw (css::uno::Exception,
+ css::uno::RuntimeException,
std::exception)
{
SolarMutexGuard g;
@@ -1278,8 +1278,8 @@ void ImageManagerImpl::store()
}
void ImageManagerImpl::storeToStorage( const uno::Reference< XStorage >& Storage )
- throw (::com::sun::star::uno::Exception,
- ::com::sun::star::uno::RuntimeException,
+ throw (css::uno::Exception,
+ css::uno::RuntimeException,
std::exception)
{
SolarMutexGuard g;
@@ -1311,20 +1311,20 @@ void ImageManagerImpl::storeToStorage( const uno::Reference< XStorage >& Storage
}
bool ImageManagerImpl::isModified()
-throw (::com::sun::star::uno::RuntimeException)
+throw (css::uno::RuntimeException)
{
SolarMutexGuard g;
return m_bModified;
}
-bool ImageManagerImpl::isReadOnly() throw (::com::sun::star::uno::RuntimeException)
+bool ImageManagerImpl::isReadOnly() throw (css::uno::RuntimeException)
{
SolarMutexGuard g;
return m_bReadOnly;
}
// XUIConfiguration
-void ImageManagerImpl::addConfigurationListener( const uno::Reference< ::com::sun::star::ui::XUIConfigurationListener >& xListener )
-throw (::com::sun::star::uno::RuntimeException)
+void ImageManagerImpl::addConfigurationListener( const uno::Reference< css::ui::XUIConfigurationListener >& xListener )
+throw (css::uno::RuntimeException)
{
{
SolarMutexGuard g;
@@ -1337,8 +1337,8 @@ throw (::com::sun::star::uno::RuntimeException)
m_aListenerContainer.addInterface( cppu::UnoType<XUIConfigurationListener>::get(), xListener );
}
-void ImageManagerImpl::removeConfigurationListener( const uno::Reference< ::com::sun::star::ui::XUIConfigurationListener >& xListener )
-throw (::com::sun::star::uno::RuntimeException)
+void ImageManagerImpl::removeConfigurationListener( const uno::Reference< css::ui::XUIConfigurationListener >& xListener )
+throw (css::uno::RuntimeException)
{
/* SAFE AREA ----------------------------------------------------------------------------------------------- */
m_aListenerContainer.removeInterface( cppu::UnoType<XUIConfigurationListener>::get(), xListener );
@@ -1347,7 +1347,7 @@ throw (::com::sun::star::uno::RuntimeException)
void ImageManagerImpl::implts_notifyContainerListener( const ConfigurationEvent& aEvent, NotifyOp eOp )
{
::cppu::OInterfaceContainerHelper* pContainer = m_aListenerContainer.getContainer(
- cppu::UnoType<com::sun::star::ui::XUIConfigurationListener>::get());
+ cppu::UnoType<css::ui::XUIConfigurationListener>::get());
if ( pContainer != NULL )
{
::cppu::OInterfaceIteratorHelper pIterator( *pContainer );
@@ -1358,13 +1358,13 @@ void ImageManagerImpl::implts_notifyContainerListener( const ConfigurationEvent&
switch ( eOp )
{
case NotifyOp_Replace:
- static_cast< ::com::sun::star::ui::XUIConfigurationListener*>(pIterator.next())->elementReplaced( aEvent );
+ static_cast< css::ui::XUIConfigurationListener*>(pIterator.next())->elementReplaced( aEvent );
break;
case NotifyOp_Insert:
- static_cast< ::com::sun::star::ui::XUIConfigurationListener*>(pIterator.next())->elementInserted( aEvent );
+ static_cast< css::ui::XUIConfigurationListener*>(pIterator.next())->elementInserted( aEvent );
break;
case NotifyOp_Remove:
- static_cast< ::com::sun::star::ui::XUIConfigurationListener*>(pIterator.next())->elementRemoved( aEvent );
+ static_cast< css::ui::XUIConfigurationListener*>(pIterator.next())->elementRemoved( aEvent );
break;
}
}
diff --git a/framework/source/uiconfiguration/imagemanagerimpl.hxx b/framework/source/uiconfiguration/imagemanagerimpl.hxx
index fd384c571894..91cec796e0f5 100644
--- a/framework/source/uiconfiguration/imagemanagerimpl.hxx
+++ b/framework/source/uiconfiguration/imagemanagerimpl.hxx
@@ -55,7 +55,7 @@ namespace framework
class CmdImageList
{
public:
- CmdImageList( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& rxContext,
+ CmdImageList( const css::uno::Reference< css::uno::XComponentContext >& rxContext,
const OUString& aModuleIdentifier );
virtual ~CmdImageList();
@@ -69,65 +69,65 @@ namespace framework
std::vector< OUString >& impl_getImageCommandNameVector() { return m_aImageCommandNameVector;}
private:
- bool m_bVectorInit;
- OUString m_aModuleIdentifier;
- ImageList* m_pImageList[ImageType_COUNT];
- CommandToImageNameMap m_aCommandToImageNameMap;
- ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > m_xContext;
- ::std::vector< OUString > m_aImageNameVector;
- ::std::vector< OUString > m_aImageCommandNameVector;
- OUString m_sIconTheme;
+ bool m_bVectorInit;
+ OUString m_aModuleIdentifier;
+ ImageList* m_pImageList[ImageType_COUNT];
+ CommandToImageNameMap m_aCommandToImageNameMap;
+ css::uno::Reference< css::uno::XComponentContext > m_xContext;
+ ::std::vector< OUString > m_aImageNameVector;
+ ::std::vector< OUString > m_aImageCommandNameVector;
+ OUString m_sIconTheme;
};
class GlobalImageList : public CmdImageList, public salhelper::SimpleReferenceObject
{
public:
- GlobalImageList( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& rxContext );
+ GlobalImageList( const css::uno::Reference< css::uno::XComponentContext >& rxContext );
virtual ~GlobalImageList();
virtual Image getImageFromCommandURL( sal_Int16 nImageType, const OUString& rCommandURL ) override;
virtual bool hasImage( sal_Int16 nImageType, const OUString& rCommandURL ) override;
- virtual ::std::vector< OUString >& getImageCommandNames() override;
+ virtual ::std::vector< OUString >& getImageCommandNames() override;
};
class ImageManagerImpl
{
public:
- ImageManagerImpl(const com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext >& rxContext
+ ImageManagerImpl(const css::uno::Reference< css::uno::XComponentContext >& rxContext
,::cppu::OWeakObject *pOwner
,bool _bUseGlobal);
~ImageManagerImpl();
void dispose();
- void initialize( const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& aArguments );
- void addEventListener( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener >& xListener ) throw (::com::sun::star::uno::RuntimeException);
- void removeEventListener( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener >& aListener ) throw (::com::sun::star::uno::RuntimeException);
+ void initialize( const css::uno::Sequence< css::uno::Any >& aArguments );
+ void addEventListener( const css::uno::Reference< css::lang::XEventListener >& xListener ) throw (css::uno::RuntimeException);
+ void removeEventListener( const css::uno::Reference< css::lang::XEventListener >& aListener ) throw (css::uno::RuntimeException);
// XImageManager
- void reset() throw (::com::sun::star::uno::RuntimeException, css::lang::IllegalAccessException);
- ::com::sun::star::uno::Sequence< OUString > getAllImageNames( ::sal_Int16 nImageType ) throw (::com::sun::star::uno::RuntimeException);
- bool hasImage( ::sal_Int16 nImageType, const OUString& aCommandURL ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException);
- ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< ::com::sun::star::graphic::XGraphic > > getImages( ::sal_Int16 nImageType, const ::com::sun::star::uno::Sequence< OUString >& aCommandURLSequence ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException);
- void replaceImages( ::sal_Int16 nImageType, const ::com::sun::star::uno::Sequence< OUString >& aCommandURLSequence, const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< ::com::sun::star::graphic::XGraphic > >& aGraphicsSequence ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::IllegalAccessException, ::com::sun::star::uno::RuntimeException, std::exception);
- void removeImages( ::sal_Int16 nImageType, const ::com::sun::star::uno::Sequence< OUString >& aResourceURLSequence ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::IllegalAccessException, ::com::sun::star::uno::RuntimeException);
- void insertImages( ::sal_Int16 nImageType, const ::com::sun::star::uno::Sequence< OUString >& aCommandURLSequence, const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< ::com::sun::star::graphic::XGraphic > >& aGraphicSequence ) throw (::com::sun::star::container::ElementExistException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::IllegalAccessException, ::com::sun::star::uno::RuntimeException);
+ void reset() throw (css::uno::RuntimeException, css::lang::IllegalAccessException);
+ css::uno::Sequence< OUString > getAllImageNames( ::sal_Int16 nImageType ) throw (css::uno::RuntimeException);
+ bool hasImage( ::sal_Int16 nImageType, const OUString& aCommandURL ) throw (css::lang::IllegalArgumentException, css::uno::RuntimeException);
+ css::uno::Sequence< css::uno::Reference< css::graphic::XGraphic > > getImages( ::sal_Int16 nImageType, const css::uno::Sequence< OUString >& aCommandURLSequence ) throw (css::lang::IllegalArgumentException, css::uno::RuntimeException);
+ void replaceImages( ::sal_Int16 nImageType, const css::uno::Sequence< OUString >& aCommandURLSequence, const css::uno::Sequence< css::uno::Reference< css::graphic::XGraphic > >& aGraphicsSequence ) throw (css::lang::IllegalArgumentException, css::lang::IllegalAccessException, css::uno::RuntimeException, std::exception);
+ void removeImages( ::sal_Int16 nImageType, const css::uno::Sequence< OUString >& aResourceURLSequence ) throw (css::lang::IllegalArgumentException, css::lang::IllegalAccessException, css::uno::RuntimeException);
+ void insertImages( ::sal_Int16 nImageType, const css::uno::Sequence< OUString >& aCommandURLSequence, const css::uno::Sequence< css::uno::Reference< css::graphic::XGraphic > >& aGraphicSequence ) throw (css::container::ElementExistException, css::lang::IllegalArgumentException, css::lang::IllegalAccessException, css::uno::RuntimeException);
// XUIConfiguration
- void addConfigurationListener( const ::com::sun::star::uno::Reference< ::com::sun::star::ui::XUIConfigurationListener >& Listener ) throw (::com::sun::star::uno::RuntimeException);
- void removeConfigurationListener( const ::com::sun::star::uno::Reference< ::com::sun::star::ui::XUIConfigurationListener >& Listener ) throw (::com::sun::star::uno::RuntimeException);
+ void addConfigurationListener( const css::uno::Reference< css::ui::XUIConfigurationListener >& Listener ) throw (css::uno::RuntimeException);
+ void removeConfigurationListener( const css::uno::Reference< css::ui::XUIConfigurationListener >& Listener ) throw (css::uno::RuntimeException);
// XUIConfigurationPersistence
void reload() throw (css::uno::Exception, css::uno::RuntimeException, std::exception);
void store()
- throw (::com::sun::star::uno::Exception,
- ::com::sun::star::uno::RuntimeException,
+ throw (css::uno::Exception,
+ css::uno::RuntimeException,
std::exception);
- void storeToStorage( const ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage >& Storage )
- throw (::com::sun::star::uno::Exception,
- ::com::sun::star::uno::RuntimeException,
+ void storeToStorage( const css::uno::Reference< css::embed::XStorage >& Storage )
+ throw (css::uno::Exception,
+ css::uno::RuntimeException,
std::exception);
- bool isModified() throw (::com::sun::star::uno::RuntimeException);
- bool isReadOnly() throw (::com::sun::star::uno::RuntimeException);
+ bool isModified() throw (css::uno::RuntimeException);
+ bool isReadOnly() throw (css::uno::RuntimeException);
void clear();
@@ -150,25 +150,25 @@ namespace framework
NotifyOp_Replace
};
- typedef ::std::vector< ::com::sun::star::ui::ConfigurationEvent > ConfigEventNotifyContainer;
+ typedef ::std::vector< css::ui::ConfigurationEvent > ConfigEventNotifyContainer;
void implts_initialize();
- void implts_notifyContainerListener( const ::com::sun::star::ui::ConfigurationEvent& aEvent, NotifyOp eOp );
+ void implts_notifyContainerListener( const css::ui::ConfigurationEvent& aEvent, NotifyOp eOp );
ImageList* implts_getUserImageList( ImageType nImageType );
bool implts_loadUserImages( ImageType nImageType,
- const com::sun::star::uno::Reference< com::sun::star::embed::XStorage >& xUserImageStorage,
- const com::sun::star::uno::Reference< com::sun::star::embed::XStorage >& xUserBitmapsStorage );
+ const css::uno::Reference< css::embed::XStorage >& xUserImageStorage,
+ const css::uno::Reference< css::embed::XStorage >& xUserBitmapsStorage );
bool implts_storeUserImages( ImageType nImageType,
- const com::sun::star::uno::Reference< com::sun::star::embed::XStorage >& xUserImageStorage,
- const com::sun::star::uno::Reference< com::sun::star::embed::XStorage >& xUserBitmapsStorage );
+ const css::uno::Reference< css::embed::XStorage >& xUserImageStorage,
+ const css::uno::Reference< css::embed::XStorage >& xUserBitmapsStorage );
const rtl::Reference< GlobalImageList >& implts_getGlobalImageList();
CmdImageList* implts_getDefaultImageList();
- com::sun::star::uno::Reference< com::sun::star::embed::XStorage > m_xUserConfigStorage;
- com::sun::star::uno::Reference< com::sun::star::embed::XStorage > m_xUserImageStorage;
- com::sun::star::uno::Reference< com::sun::star::embed::XStorage > m_xUserBitmapsStorage;
- com::sun::star::uno::Reference< com::sun::star::embed::XTransactedObject > m_xUserRootCommit;
- com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext > m_xContext;
+ css::uno::Reference< css::embed::XStorage > m_xUserConfigStorage;
+ css::uno::Reference< css::embed::XStorage > m_xUserImageStorage;
+ css::uno::Reference< css::embed::XStorage > m_xUserBitmapsStorage;
+ css::uno::Reference< css::embed::XTransactedObject > m_xUserRootCommit;
+ css::uno::Reference< css::uno::XComponentContext > m_xContext;
::cppu::OWeakObject* m_pOwner;
rtl::Reference< GlobalImageList > m_pGlobalImageList;
CmdImageList* m_pDefaultImageList;
diff --git a/framework/source/uiconfiguration/moduleimagemanager.cxx b/framework/source/uiconfiguration/moduleimagemanager.cxx
index d9979c6fead9..f3724e722fbc 100644
--- a/framework/source/uiconfiguration/moduleimagemanager.cxx
+++ b/framework/source/uiconfiguration/moduleimagemanager.cxx
@@ -76,17 +76,17 @@ ModuleImageManager::~ModuleImageManager()
}
// XComponent
-void SAL_CALL ModuleImageManager::dispose() throw (::com::sun::star::uno::RuntimeException, std::exception)
+void SAL_CALL ModuleImageManager::dispose() throw (css::uno::RuntimeException, std::exception)
{
m_pImpl->dispose();
}
-void SAL_CALL ModuleImageManager::addEventListener( const uno::Reference< XEventListener >& xListener ) throw (::com::sun::star::uno::RuntimeException, std::exception)
+void SAL_CALL ModuleImageManager::addEventListener( const uno::Reference< XEventListener >& xListener ) throw (css::uno::RuntimeException, std::exception)
{
m_pImpl->addEventListener(xListener);
}
-void SAL_CALL ModuleImageManager::removeEventListener( const uno::Reference< XEventListener >& xListener ) throw (::com::sun::star::uno::RuntimeException, std::exception)
+void SAL_CALL ModuleImageManager::removeEventListener( const uno::Reference< XEventListener >& xListener ) throw (css::uno::RuntimeException, std::exception)
{
/* SAFE AREA ----------------------------------------------------------------------------------------------- */
m_pImpl->removeEventListener(xListener);
@@ -108,13 +108,13 @@ void SAL_CALL ModuleImageManager::reset()
}
Sequence< OUString > SAL_CALL ModuleImageManager::getAllImageNames( ::sal_Int16 nImageType )
-throw (::com::sun::star::uno::RuntimeException, std::exception)
+throw (css::uno::RuntimeException, std::exception)
{
return m_pImpl->getAllImageNames( nImageType );
}
sal_Bool SAL_CALL ModuleImageManager::hasImage( ::sal_Int16 nImageType, const OUString& aCommandURL )
-throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException, std::exception)
+throw (css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception)
{
return m_pImpl->hasImage(nImageType,aCommandURL);
}
@@ -122,7 +122,7 @@ throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::
Sequence< uno::Reference< XGraphic > > SAL_CALL ModuleImageManager::getImages(
::sal_Int16 nImageType,
const Sequence< OUString >& aCommandURLSequence )
-throw ( ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException, std::exception )
+throw ( css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception )
{
SAL_INFO( "fwk", "framework: ModuleImageManager::getImages" );
return m_pImpl->getImages(nImageType,aCommandURLSequence);
@@ -132,70 +132,70 @@ void SAL_CALL ModuleImageManager::replaceImages(
::sal_Int16 nImageType,
const Sequence< OUString >& aCommandURLSequence,
const Sequence< uno::Reference< XGraphic > >& aGraphicsSequence )
-throw ( ::com::sun::star::lang::IllegalArgumentException,
- ::com::sun::star::lang::IllegalAccessException,
- ::com::sun::star::uno::RuntimeException, std::exception)
+throw ( css::lang::IllegalArgumentException,
+ css::lang::IllegalAccessException,
+ css::uno::RuntimeException, std::exception)
{
m_pImpl->replaceImages(nImageType,aCommandURLSequence,aGraphicsSequence);
}
void SAL_CALL ModuleImageManager::removeImages( ::sal_Int16 nImageType, const Sequence< OUString >& aCommandURLSequence )
-throw ( ::com::sun::star::lang::IllegalArgumentException,
- ::com::sun::star::lang::IllegalAccessException,
- ::com::sun::star::uno::RuntimeException, std::exception)
+throw ( css::lang::IllegalArgumentException,
+ css::lang::IllegalAccessException,
+ css::uno::RuntimeException, std::exception)
{
m_pImpl->removeImages(nImageType,aCommandURLSequence);
}
void SAL_CALL ModuleImageManager::insertImages( ::sal_Int16 nImageType, const Sequence< OUString >& aCommandURLSequence, const Sequence< uno::Reference< XGraphic > >& aGraphicSequence )
-throw ( ::com::sun::star::container::ElementExistException,
- ::com::sun::star::lang::IllegalArgumentException,
- ::com::sun::star::lang::IllegalAccessException,
- ::com::sun::star::uno::RuntimeException, std::exception)
+throw ( css::container::ElementExistException,
+ css::lang::IllegalArgumentException,
+ css::lang::IllegalAccessException,
+ css::uno::RuntimeException, std::exception)
{
m_pImpl->insertImages(nImageType,aCommandURLSequence,aGraphicSequence);
}
// XUIConfiguration
-void SAL_CALL ModuleImageManager::addConfigurationListener( const uno::Reference< ::com::sun::star::ui::XUIConfigurationListener >& xListener )
-throw (::com::sun::star::uno::RuntimeException, std::exception)
+void SAL_CALL ModuleImageManager::addConfigurationListener( const uno::Reference< css::ui::XUIConfigurationListener >& xListener )
+throw (css::uno::RuntimeException, std::exception)
{
m_pImpl->addConfigurationListener(xListener);
}
-void SAL_CALL ModuleImageManager::removeConfigurationListener( const uno::Reference< ::com::sun::star::ui::XUIConfigurationListener >& xListener )
-throw (::com::sun::star::uno::RuntimeException, std::exception)
+void SAL_CALL ModuleImageManager::removeConfigurationListener( const uno::Reference< css::ui::XUIConfigurationListener >& xListener )
+throw (css::uno::RuntimeException, std::exception)
{
m_pImpl->removeConfigurationListener(xListener);
}
// XUIConfigurationPersistence
void SAL_CALL ModuleImageManager::reload()
-throw ( ::com::sun::star::uno::Exception,
- ::com::sun::star::uno::RuntimeException, std::exception )
+throw ( css::uno::Exception,
+ css::uno::RuntimeException, std::exception )
{
m_pImpl->reload();
}
void SAL_CALL ModuleImageManager::store()
-throw (::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException, std::exception)
+throw (css::uno::Exception, css::uno::RuntimeException, std::exception)
{
m_pImpl->store();
}
void SAL_CALL ModuleImageManager::storeToStorage( const uno::Reference< XStorage >& Storage )
-throw (::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException, std::exception)
+throw (css::uno::Exception, css::uno::RuntimeException, std::exception)
{
m_pImpl->storeToStorage(Storage);
}
sal_Bool SAL_CALL ModuleImageManager::isModified()
-throw (::com::sun::star::uno::RuntimeException, std::exception)
+throw (css::uno::RuntimeException, std::exception)
{
return m_pImpl->isModified();
}
-sal_Bool SAL_CALL ModuleImageManager::isReadOnly() throw (::com::sun::star::uno::RuntimeException, std::exception)
+sal_Bool SAL_CALL ModuleImageManager::isReadOnly() throw (css::uno::RuntimeException, std::exception)
{
return m_pImpl->isReadOnly();
}
diff --git a/framework/source/uiconfiguration/moduleuiconfigurationmanager.cxx b/framework/source/uiconfiguration/moduleuiconfigurationmanager.cxx
index 43d4bef949c6..6aa77d2a10fb 100644
--- a/framework/source/uiconfiguration/moduleuiconfigurationmanager.cxx
+++ b/framework/source/uiconfiguration/moduleuiconfigurationmanager.cxx
@@ -199,29 +199,29 @@ private:
void impl_resetElementTypeData( UIElementType& rUserElementType, UIElementType& rDefaultElementType, ConfigEventNotifyContainer& rRemoveNotifyContainer, ConfigEventNotifyContainer& rReplaceNotifyContainer );
void impl_reloadElementTypeData( UIElementType& rUserElementType, UIElementType& rDefaultElementType, ConfigEventNotifyContainer& rRemoveNotifyContainer, ConfigEventNotifyContainer& rReplaceNotifyContainer );
- UIElementTypesVector m_aUIElements[LAYER_COUNT];
- PresetHandler* m_pStorageHandler[css::ui::UIElementType::COUNT];
+ UIElementTypesVector m_aUIElements[LAYER_COUNT];
+ PresetHandler* m_pStorageHandler[css::ui::UIElementType::COUNT];
css::uno::Reference< css::embed::XStorage > m_xDefaultConfigStorage;
css::uno::Reference< css::embed::XStorage > m_xUserConfigStorage;
- bool m_bReadOnly;
- bool m_bModified;
- bool m_bConfigRead;
- bool m_bDisposed;
- OUString m_aXMLPostfix;
- OUString m_aPropUIName;
- OUString m_aPropResourceURL;
- OUString m_aModuleIdentifier;
- OUString m_aModuleShortName;
+ bool m_bReadOnly;
+ bool m_bModified;
+ bool m_bConfigRead;
+ bool m_bDisposed;
+ OUString m_aXMLPostfix;
+ OUString m_aPropUIName;
+ OUString m_aPropResourceURL;
+ OUString m_aModuleIdentifier;
+ OUString m_aModuleShortName;
css::uno::Reference< css::embed::XTransactedObject > m_xUserRootCommit;
css::uno::Reference< css::uno::XComponentContext > m_xContext;
- osl::Mutex m_mutex;
- ::cppu::OMultiTypeInterfaceContainerHelper m_aListenerContainer; /// container for ALL Listener
+ osl::Mutex m_mutex;
+ ::cppu::OMultiTypeInterfaceContainerHelper m_aListenerContainer; /// container for ALL Listener
css::uno::Reference< css::lang::XComponent > m_xModuleImageManager;
css::uno::Reference< css::ui::XAcceleratorConfiguration > m_xModuleAcceleratorManager;
};
// important: The order and position of the elements must match the constant
-// definition of "::com::sun::star::ui::UIElementType"
+// definition of "css::ui::UIElementType"
static const char* UIELEMENTTYPENAMES[] =
{
"", // Dummy value for unknown!
@@ -425,10 +425,10 @@ void ModuleUIConfigurationManager::impl_requestUIElementData( sal_Int16 nElement
{
switch ( nElementType )
{
- case ::com::sun::star::ui::UIElementType::UNKNOWN:
+ case css::ui::UIElementType::UNKNOWN:
break;
- case ::com::sun::star::ui::UIElementType::MENUBAR:
+ case css::ui::UIElementType::MENUBAR:
{
try
{
@@ -441,18 +441,18 @@ void ModuleUIConfigurationManager::impl_requestUIElementData( sal_Int16 nElement
aUIElementData.xSettings = Reference< XIndexAccess >( static_cast< OWeakObject * >( new ConstItemContainer( xContainer, true ) ), UNO_QUERY );
return;
}
- catch ( const ::com::sun::star::lang::WrappedTargetException& )
+ catch ( const css::lang::WrappedTargetException& )
{
}
}
break;
- case ::com::sun::star::ui::UIElementType::POPUPMENU:
+ case css::ui::UIElementType::POPUPMENU:
{
break;
}
- case ::com::sun::star::ui::UIElementType::TOOLBAR:
+ case css::ui::UIElementType::TOOLBAR:
{
try
{
@@ -462,14 +462,14 @@ void ModuleUIConfigurationManager::impl_requestUIElementData( sal_Int16 nElement
aUIElementData.xSettings = Reference< XIndexAccess >( static_cast< OWeakObject * >( new ConstItemContainer( pRootItemContainer, true ) ), UNO_QUERY );
return;
}
- catch ( const ::com::sun::star::lang::WrappedTargetException& )
+ catch ( const css::lang::WrappedTargetException& )
{
}
break;
}
- case ::com::sun::star::ui::UIElementType::STATUSBAR:
+ case css::ui::UIElementType::STATUSBAR:
{
try
{
@@ -479,30 +479,30 @@ void ModuleUIConfigurationManager::impl_requestUIElementData( sal_Int16 nElement
aUIElementData.xSettings = Reference< XIndexAccess >( static_cast< OWeakObject * >( new ConstItemContainer( pRootItemContainer, true ) ), UNO_QUERY );
return;
}
- catch ( const ::com::sun::star::lang::WrappedTargetException& )
+ catch ( const css::lang::WrappedTargetException& )
{
}
break;
}
- case ::com::sun::star::ui::UIElementType::FLOATINGWINDOW:
+ case css::ui::UIElementType::FLOATINGWINDOW:
{
break;
}
}
}
}
- catch ( const ::com::sun::star::embed::InvalidStorageException& )
+ catch ( const css::embed::InvalidStorageException& )
{
}
- catch ( const ::com::sun::star::lang::IllegalArgumentException& )
+ catch ( const css::lang::IllegalArgumentException& )
{
}
- catch ( const ::com::sun::star::io::IOException& )
+ catch ( const css::io::IOException& )
{
}
- catch ( const ::com::sun::star::embed::StorageWrappedTargetException& )
+ catch ( const css::embed::StorageWrappedTargetException& )
{
}
}
@@ -569,38 +569,38 @@ void ModuleUIConfigurationManager::impl_storeElementTypeData( Reference< XStorag
{
switch( rElementType.nElementType )
{
- case ::com::sun::star::ui::UIElementType::MENUBAR:
+ case css::ui::UIElementType::MENUBAR:
{
try
{
MenuConfiguration aMenuCfg( m_xContext );
aMenuCfg.StoreMenuBarConfigurationToXML( rElement.xSettings, xOutputStream );
}
- catch ( const ::com::sun::star::lang::WrappedTargetException& )
+ catch ( const css::lang::WrappedTargetException& )
{
}
}
break;
- case ::com::sun::star::ui::UIElementType::TOOLBAR:
+ case css::ui::UIElementType::TOOLBAR:
{
try
{
ToolBoxConfiguration::StoreToolBox( m_xContext, xOutputStream, rElement.xSettings );
}
- catch ( const ::com::sun::star::lang::WrappedTargetException& )
+ catch ( const css::lang::WrappedTargetException& )
{
}
}
break;
- case ::com::sun::star::ui::UIElementType::STATUSBAR:
+ case css::ui::UIElementType::STATUSBAR:
{
try
{
StatusBarConfiguration::StoreStatusBar( m_xContext, xOutputStream, rElement.xSettings );
}
- catch ( const ::com::sun::star::lang::WrappedTargetException& )
+ catch ( const css::lang::WrappedTargetException& )
{
}
}
@@ -788,7 +788,7 @@ void ModuleUIConfigurationManager::impl_Initialize()
if ( m_xUserConfigStorage.is() )
{
// Try to access our module sub folder
- for ( sal_Int16 i = 1; i < ::com::sun::star::ui::UIElementType::COUNT;
+ for ( sal_Int16 i = 1; i < css::ui::UIElementType::COUNT;
i++ )
{
Reference< XStorage > xElementTypeStorage;
@@ -797,19 +797,19 @@ void ModuleUIConfigurationManager::impl_Initialize()
if ( m_pStorageHandler[i] )
xElementTypeStorage = m_pStorageHandler[i]->getWorkingStorageUser();
}
- catch ( const com::sun::star::container::NoSuchElementException& )
+ catch ( const css::container::NoSuchElementException& )
{
}
- catch ( const ::com::sun::star::embed::InvalidStorageException& )
+ catch ( const css::embed::InvalidStorageException& )
{
}
- catch ( const ::com::sun::star::lang::IllegalArgumentException& )
+ catch ( const css::lang::IllegalArgumentException& )
{
}
- catch ( const ::com::sun::star::io::IOException& )
+ catch ( const css::io::IOException& )
{
}
- catch ( const ::com::sun::star::embed::StorageWrappedTargetException& )
+ catch ( const css::embed::StorageWrappedTargetException& )
{
}
@@ -825,7 +825,7 @@ void ModuleUIConfigurationManager::impl_Initialize()
Reference< XNameAccess > xNameAccess( m_xDefaultConfigStorage, UNO_QUERY_THROW );
// Try to access our module sub folder
- for ( sal_Int16 i = 1; i < ::com::sun::star::ui::UIElementType::COUNT;
+ for ( sal_Int16 i = 1; i < css::ui::UIElementType::COUNT;
i++ )
{
Reference< XStorage > xElementTypeStorage;
@@ -835,7 +835,7 @@ void ModuleUIConfigurationManager::impl_Initialize()
if( xNameAccess->hasByName( sName ) )
xNameAccess->getByName( sName ) >>= xElementTypeStorage;
}
- catch ( const com::sun::star::container::NoSuchElementException& )
+ catch ( const css::container::NoSuchElementException& )
{
}
@@ -862,13 +862,13 @@ ModuleUIConfigurationManager::ModuleUIConfigurationManager(
, m_xContext( xContext )
, m_aListenerContainer( m_mutex )
{
- for ( int i = 0; i < ::com::sun::star::ui::UIElementType::COUNT; i++ )
+ for ( int i = 0; i < css::ui::UIElementType::COUNT; i++ )
m_pStorageHandler[i] = 0;
// Make sure we have a default initialized entry for every layer and user interface element type!
// The following code depends on this!
- m_aUIElements[LAYER_DEFAULT].resize( ::com::sun::star::ui::UIElementType::COUNT );
- m_aUIElements[LAYER_USERDEFINED].resize( ::com::sun::star::ui::UIElementType::COUNT );
+ m_aUIElements[LAYER_DEFAULT].resize( css::ui::UIElementType::COUNT );
+ m_aUIElements[LAYER_USERDEFINED].resize( css::ui::UIElementType::COUNT );
SolarMutexGuard g;
@@ -882,14 +882,14 @@ ModuleUIConfigurationManager::ModuleUIConfigurationManager(
m_aModuleIdentifier = lArgs.getUnpackedValueOrDefault("ModuleIdentifier", OUString());
}
- for ( int i = 1; i < ::com::sun::star::ui::UIElementType::COUNT; i++ )
+ for ( int i = 1; i < css::ui::UIElementType::COUNT; i++ )
{
OUString aResourceType;
- if ( i == ::com::sun::star::ui::UIElementType::MENUBAR )
+ if ( i == css::ui::UIElementType::MENUBAR )
aResourceType = RESOURCETYPE_MENUBAR;
- else if ( i == ::com::sun::star::ui::UIElementType::TOOLBAR )
+ else if ( i == css::ui::UIElementType::TOOLBAR )
aResourceType = RESOURCETYPE_TOOLBAR;
- else if ( i == ::com::sun::star::ui::UIElementType::STATUSBAR )
+ else if ( i == css::ui::UIElementType::STATUSBAR )
aResourceType = RESOURCETYPE_STATUSBAR;
if ( !aResourceType.isEmpty() )
@@ -904,11 +904,11 @@ ModuleUIConfigurationManager::ModuleUIConfigurationManager(
// initialize root storages for all resource types
m_xUserRootCommit = css::uno::Reference< css::embed::XTransactedObject >(
- m_pStorageHandler[::com::sun::star::ui::UIElementType::MENUBAR]->getOrCreateRootStorageUser(), css::uno::UNO_QUERY); // can be empty
- m_xDefaultConfigStorage = m_pStorageHandler[::com::sun::star::ui::UIElementType::MENUBAR]->getParentStorageShare(
- m_pStorageHandler[::com::sun::star::ui::UIElementType::MENUBAR]->getWorkingStorageShare());
- m_xUserConfigStorage = m_pStorageHandler[::com::sun::star::ui::UIElementType::MENUBAR]->getParentStorageUser(
- m_pStorageHandler[::com::sun::star::ui::UIElementType::MENUBAR]->getWorkingStorageUser());
+ m_pStorageHandler[css::ui::UIElementType::MENUBAR]->getOrCreateRootStorageUser(), css::uno::UNO_QUERY); // can be empty
+ m_xDefaultConfigStorage = m_pStorageHandler[css::ui::UIElementType::MENUBAR]->getParentStorageShare(
+ m_pStorageHandler[css::ui::UIElementType::MENUBAR]->getWorkingStorageShare());
+ m_xUserConfigStorage = m_pStorageHandler[css::ui::UIElementType::MENUBAR]->getParentStorageUser(
+ m_pStorageHandler[css::ui::UIElementType::MENUBAR]->getWorkingStorageUser());
if ( m_xUserConfigStorage.is() )
{
@@ -927,12 +927,12 @@ ModuleUIConfigurationManager::ModuleUIConfigurationManager(
ModuleUIConfigurationManager::~ModuleUIConfigurationManager()
{
- for ( int i = 0; i < ::com::sun::star::ui::UIElementType::COUNT; i++ )
+ for ( int i = 0; i < css::ui::UIElementType::COUNT; i++ )
delete m_pStorageHandler[i];
}
// XComponent
-void SAL_CALL ModuleUIConfigurationManager::dispose() throw (::com::sun::star::uno::RuntimeException, std::exception)
+void SAL_CALL ModuleUIConfigurationManager::dispose() throw (css::uno::RuntimeException, std::exception)
{
Reference< XComponent > xThis( static_cast< OWeakObject* >(this), UNO_QUERY );
@@ -968,7 +968,7 @@ void SAL_CALL ModuleUIConfigurationManager::dispose() throw (::com::sun::star::u
}
}
-void SAL_CALL ModuleUIConfigurationManager::addEventListener( const Reference< XEventListener >& xListener ) throw (::com::sun::star::uno::RuntimeException, std::exception)
+void SAL_CALL ModuleUIConfigurationManager::addEventListener( const Reference< XEventListener >& xListener ) throw (css::uno::RuntimeException, std::exception)
{
{
SolarMutexGuard g;
@@ -981,14 +981,14 @@ void SAL_CALL ModuleUIConfigurationManager::addEventListener( const Reference< X
m_aListenerContainer.addInterface( cppu::UnoType<XEventListener>::get(), xListener );
}
-void SAL_CALL ModuleUIConfigurationManager::removeEventListener( const Reference< XEventListener >& xListener ) throw (::com::sun::star::uno::RuntimeException, std::exception)
+void SAL_CALL ModuleUIConfigurationManager::removeEventListener( const Reference< XEventListener >& xListener ) throw (css::uno::RuntimeException, std::exception)
{
/* SAFE AREA ----------------------------------------------------------------------------------------------- */
m_aListenerContainer.removeInterface( cppu::UnoType<XEventListener>::get(), xListener );
}
// XUIConfiguration
-void SAL_CALL ModuleUIConfigurationManager::addConfigurationListener( const Reference< ::com::sun::star::ui::XUIConfigurationListener >& xListener ) throw (::com::sun::star::uno::RuntimeException, std::exception)
+void SAL_CALL ModuleUIConfigurationManager::addConfigurationListener( const Reference< css::ui::XUIConfigurationListener >& xListener ) throw (css::uno::RuntimeException, std::exception)
{
{
SolarMutexGuard g;
@@ -1001,14 +1001,14 @@ void SAL_CALL ModuleUIConfigurationManager::addConfigurationListener( const Refe
m_aListenerContainer.addInterface( cppu::UnoType<ui::XUIConfigurationListener>::get(), xListener );
}
-void SAL_CALL ModuleUIConfigurationManager::removeConfigurationListener( const Reference< ::com::sun::star::ui::XUIConfigurationListener >& xListener ) throw (::com::sun::star::uno::RuntimeException, std::exception)
+void SAL_CALL ModuleUIConfigurationManager::removeConfigurationListener( const Reference< css::ui::XUIConfigurationListener >& xListener ) throw (css::uno::RuntimeException, std::exception)
{
/* SAFE AREA ----------------------------------------------------------------------------------------------- */
m_aListenerContainer.removeInterface( cppu::UnoType<ui::XUIConfigurationListener>::get(), xListener );
}
// XUIConfigurationManager
-void SAL_CALL ModuleUIConfigurationManager::reset() throw (::com::sun::star::uno::RuntimeException, std::exception)
+void SAL_CALL ModuleUIConfigurationManager::reset() throw (css::uno::RuntimeException, std::exception)
{
SolarMutexClearableGuard aGuard;
@@ -1021,7 +1021,7 @@ void SAL_CALL ModuleUIConfigurationManager::reset() throw (::com::sun::star::uno
// Remove all elements from our user-defined storage!
try
{
- for ( int i = 1; i < ::com::sun::star::ui::UIElementType::COUNT; i++ )
+ for ( int i = 1; i < css::ui::UIElementType::COUNT; i++ )
{
UIElementType& rElementType = m_aUIElements[LAYER_USERDEFINED][i];
Reference< XStorage > xSubStorage( rElementType.xStorage, UNO_QUERY );
@@ -1049,7 +1049,7 @@ void SAL_CALL ModuleUIConfigurationManager::reset() throw (::com::sun::star::uno
// remove settings from user defined layer and notify listener about removed settings data!
ConfigEventNotifyContainer aRemoveEventNotifyContainer;
ConfigEventNotifyContainer aReplaceEventNotifyContainer;
- for ( sal_Int16 j = 1; j < ::com::sun::star::ui::UIElementType::COUNT; j++ )
+ for ( sal_Int16 j = 1; j < css::ui::UIElementType::COUNT; j++ )
{
try
{
@@ -1080,16 +1080,16 @@ void SAL_CALL ModuleUIConfigurationManager::reset() throw (::com::sun::star::uno
for ( k = 0; k < aReplaceEventNotifyContainer.size(); k++ )
implts_notifyContainerListener( aReplaceEventNotifyContainer[k], NotifyOp_Replace );
}
- catch ( const ::com::sun::star::lang::IllegalArgumentException& )
+ catch ( const css::lang::IllegalArgumentException& )
{
}
- catch ( const ::com::sun::star::container::NoSuchElementException& )
+ catch ( const css::container::NoSuchElementException& )
{
}
- catch ( const ::com::sun::star::embed::InvalidStorageException& )
+ catch ( const css::embed::InvalidStorageException& )
{
}
- catch ( const ::com::sun::star::embed::StorageWrappedTargetException& )
+ catch ( const css::embed::StorageWrappedTargetException& )
{
}
}
@@ -1098,7 +1098,7 @@ void SAL_CALL ModuleUIConfigurationManager::reset() throw (::com::sun::star::uno
Sequence< Sequence< PropertyValue > > SAL_CALL ModuleUIConfigurationManager::getUIElementsInfo( sal_Int16 ElementType )
throw ( IllegalArgumentException, RuntimeException, std::exception )
{
- if (( ElementType < 0 ) || ( ElementType >= ::com::sun::star::ui::UIElementType::COUNT ))
+ if (( ElementType < 0 ) || ( ElementType >= css::ui::UIElementType::COUNT ))
throw IllegalArgumentException();
SolarMutexGuard g;
@@ -1108,9 +1108,9 @@ throw ( IllegalArgumentException, RuntimeException, std::exception )
Sequence< Sequence< PropertyValue > > aElementInfoSeq;
UIElementInfoHashMap aUIElementInfoCollection;
- if ( ElementType == ::com::sun::star::ui::UIElementType::UNKNOWN )
+ if ( ElementType == css::ui::UIElementType::UNKNOWN )
{
- for ( sal_Int16 i = 0; i < ::com::sun::star::ui::UIElementType::COUNT; i++ )
+ for ( sal_Int16 i = 0; i < css::ui::UIElementType::COUNT; i++ )
impl_fillSequenceWithElementTypeInfo( aUIElementInfoCollection, sal_Int16( i ) );
}
else
@@ -1135,7 +1135,7 @@ throw ( IllegalArgumentException, RuntimeException, std::exception )
return aElementInfoSeq;
}
-Reference< XIndexContainer > SAL_CALL ModuleUIConfigurationManager::createSettings() throw (::com::sun::star::uno::RuntimeException, std::exception)
+Reference< XIndexContainer > SAL_CALL ModuleUIConfigurationManager::createSettings() throw (css::uno::RuntimeException, std::exception)
{
SolarMutexGuard g;
@@ -1147,12 +1147,12 @@ Reference< XIndexContainer > SAL_CALL ModuleUIConfigurationManager::createSettin
}
sal_Bool SAL_CALL ModuleUIConfigurationManager::hasSettings( const OUString& ResourceURL )
-throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException, std::exception)
+throw (css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception)
{
sal_Int16 nElementType = RetrieveTypeFromResourceURL( ResourceURL );
- if (( nElementType == ::com::sun::star::ui::UIElementType::UNKNOWN ) ||
- ( nElementType >= ::com::sun::star::ui::UIElementType::COUNT ))
+ if (( nElementType == css::ui::UIElementType::UNKNOWN ) ||
+ ( nElementType >= css::ui::UIElementType::COUNT ))
throw IllegalArgumentException();
else
{
@@ -1170,12 +1170,12 @@ throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::
}
Reference< XIndexAccess > SAL_CALL ModuleUIConfigurationManager::getSettings( const OUString& ResourceURL, sal_Bool bWriteable )
-throw (::com::sun::star::container::NoSuchElementException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException, std::exception)
+throw (css::container::NoSuchElementException, css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception)
{
sal_Int16 nElementType = RetrieveTypeFromResourceURL( ResourceURL );
- if (( nElementType == ::com::sun::star::ui::UIElementType::UNKNOWN ) ||
- ( nElementType >= ::com::sun::star::ui::UIElementType::COUNT ))
+ if (( nElementType == css::ui::UIElementType::UNKNOWN ) ||
+ ( nElementType >= css::ui::UIElementType::COUNT ))
throw IllegalArgumentException();
else
{
@@ -1198,13 +1198,13 @@ throw (::com::sun::star::container::NoSuchElementException, ::com::sun::star::la
throw NoSuchElementException();
}
-void SAL_CALL ModuleUIConfigurationManager::replaceSettings( const OUString& ResourceURL, const Reference< ::com::sun::star::container::XIndexAccess >& aNewData )
-throw (::com::sun::star::container::NoSuchElementException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::IllegalAccessException, ::com::sun::star::uno::RuntimeException, std::exception)
+void SAL_CALL ModuleUIConfigurationManager::replaceSettings( const OUString& ResourceURL, const Reference< css::container::XIndexAccess >& aNewData )
+throw (css::container::NoSuchElementException, css::lang::IllegalArgumentException, css::lang::IllegalAccessException, css::uno::RuntimeException, std::exception)
{
sal_Int16 nElementType = RetrieveTypeFromResourceURL( ResourceURL );
- if (( nElementType == ::com::sun::star::ui::UIElementType::UNKNOWN ) ||
- ( nElementType >= ::com::sun::star::ui::UIElementType::COUNT ))
+ if (( nElementType == css::ui::UIElementType::UNKNOWN ) ||
+ ( nElementType >= css::ui::UIElementType::COUNT ))
throw IllegalArgumentException();
else if ( m_bReadOnly )
throw IllegalAccessException();
@@ -1312,8 +1312,8 @@ throw ( NoSuchElementException, IllegalArgumentException, IllegalAccessException
{
sal_Int16 nElementType = RetrieveTypeFromResourceURL( ResourceURL );
- if (( nElementType == ::com::sun::star::ui::UIElementType::UNKNOWN ) ||
- ( nElementType >= ::com::sun::star::ui::UIElementType::COUNT ))
+ if (( nElementType == css::ui::UIElementType::UNKNOWN ) ||
+ ( nElementType >= css::ui::UIElementType::COUNT ))
throw IllegalArgumentException();
else if ( m_bReadOnly )
throw IllegalAccessException();
@@ -1391,8 +1391,8 @@ throw ( ElementExistException, IllegalArgumentException, IllegalAccessException,
{
sal_Int16 nElementType = RetrieveTypeFromResourceURL( NewResourceURL );
- if (( nElementType == ::com::sun::star::ui::UIElementType::UNKNOWN ) ||
- ( nElementType >= ::com::sun::star::ui::UIElementType::COUNT ))
+ if (( nElementType == css::ui::UIElementType::UNKNOWN ) ||
+ ( nElementType >= css::ui::UIElementType::COUNT ))
throw IllegalArgumentException();
else if ( m_bReadOnly )
throw IllegalAccessException();
@@ -1448,7 +1448,7 @@ throw ( ElementExistException, IllegalArgumentException, IllegalAccessException,
}
}
-Reference< XInterface > SAL_CALL ModuleUIConfigurationManager::getImageManager() throw (::com::sun::star::uno::RuntimeException, std::exception)
+Reference< XInterface > SAL_CALL ModuleUIConfigurationManager::getImageManager() throw (css::uno::RuntimeException, std::exception)
{
SolarMutexGuard g;
@@ -1479,7 +1479,7 @@ Reference< XInterface > SAL_CALL ModuleUIConfigurationManager::getImageManager()
return Reference< XInterface >( m_xModuleImageManager, UNO_QUERY );
}
-Reference< ui::XAcceleratorConfiguration > SAL_CALL ModuleUIConfigurationManager::getShortCutManager() throw (::com::sun::star::uno::RuntimeException, std::exception)
+Reference< ui::XAcceleratorConfiguration > SAL_CALL ModuleUIConfigurationManager::getShortCutManager() throw (css::uno::RuntimeException, std::exception)
{
SolarMutexGuard g;
@@ -1500,19 +1500,19 @@ Reference< ui::XAcceleratorConfiguration > SAL_CALL ModuleUIConfigurationManager
return m_xModuleAcceleratorManager;
}
-Reference< XInterface > SAL_CALL ModuleUIConfigurationManager::getEventsManager() throw (::com::sun::star::uno::RuntimeException, std::exception)
+Reference< XInterface > SAL_CALL ModuleUIConfigurationManager::getEventsManager() throw (css::uno::RuntimeException, std::exception)
{
return Reference< XInterface >();
}
// XModuleUIConfigurationManager
sal_Bool SAL_CALL ModuleUIConfigurationManager::isDefaultSettings( const OUString& ResourceURL )
-throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException, std::exception)
+throw (css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception)
{
sal_Int16 nElementType = RetrieveTypeFromResourceURL( ResourceURL );
- if (( nElementType == ::com::sun::star::ui::UIElementType::UNKNOWN ) ||
- ( nElementType >= ::com::sun::star::ui::UIElementType::COUNT ))
+ if (( nElementType == css::ui::UIElementType::UNKNOWN ) ||
+ ( nElementType >= css::ui::UIElementType::COUNT ))
throw IllegalArgumentException();
else
{
@@ -1530,12 +1530,12 @@ throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::
}
Reference< XIndexAccess > SAL_CALL ModuleUIConfigurationManager::getDefaultSettings( const OUString& ResourceURL )
-throw (::com::sun::star::container::NoSuchElementException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException, std::exception)
+throw (css::container::NoSuchElementException, css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception)
{
sal_Int16 nElementType = RetrieveTypeFromResourceURL( ResourceURL );
- if (( nElementType == ::com::sun::star::ui::UIElementType::UNKNOWN ) ||
- ( nElementType >= ::com::sun::star::ui::UIElementType::COUNT ))
+ if (( nElementType == css::ui::UIElementType::UNKNOWN ) ||
+ ( nElementType >= css::ui::UIElementType::COUNT ))
throw IllegalArgumentException();
else
{
@@ -1563,7 +1563,7 @@ throw (::com::sun::star::container::NoSuchElementException, ::com::sun::star::la
}
// XUIConfigurationPersistence
-void SAL_CALL ModuleUIConfigurationManager::reload() throw (::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException, std::exception)
+void SAL_CALL ModuleUIConfigurationManager::reload() throw (css::uno::Exception, css::uno::RuntimeException, std::exception)
{
SolarMutexClearableGuard aGuard;
@@ -1575,7 +1575,7 @@ void SAL_CALL ModuleUIConfigurationManager::reload() throw (::com::sun::star::un
// Try to access our module sub folder
ConfigEventNotifyContainer aRemoveNotifyContainer;
ConfigEventNotifyContainer aReplaceNotifyContainer;
- for ( sal_Int16 i = 1; i < ::com::sun::star::ui::UIElementType::COUNT; i++ )
+ for ( sal_Int16 i = 1; i < css::ui::UIElementType::COUNT; i++ )
{
try
{
@@ -1604,7 +1604,7 @@ void SAL_CALL ModuleUIConfigurationManager::reload() throw (::com::sun::star::un
}
}
-void SAL_CALL ModuleUIConfigurationManager::store() throw (::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException, std::exception)
+void SAL_CALL ModuleUIConfigurationManager::store() throw (css::uno::Exception, css::uno::RuntimeException, std::exception)
{
SolarMutexGuard g;
@@ -1614,7 +1614,7 @@ void SAL_CALL ModuleUIConfigurationManager::store() throw (::com::sun::star::uno
if ( m_xUserConfigStorage.is() && m_bModified && !m_bReadOnly )
{
// Try to access our module sub folder
- for ( int i = 1; i < ::com::sun::star::ui::UIElementType::COUNT; i++ )
+ for ( int i = 1; i < css::ui::UIElementType::COUNT; i++ )
{
try
{
@@ -1637,7 +1637,7 @@ void SAL_CALL ModuleUIConfigurationManager::store() throw (::com::sun::star::uno
}
}
-void SAL_CALL ModuleUIConfigurationManager::storeToStorage( const Reference< XStorage >& Storage ) throw (::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException, std::exception)
+void SAL_CALL ModuleUIConfigurationManager::storeToStorage( const Reference< XStorage >& Storage ) throw (css::uno::Exception, css::uno::RuntimeException, std::exception)
{
SolarMutexGuard g;
@@ -1647,7 +1647,7 @@ void SAL_CALL ModuleUIConfigurationManager::storeToStorage( const Reference< XSt
if ( m_xUserConfigStorage.is() && m_bModified && !m_bReadOnly )
{
// Try to access our module sub folder
- for ( int i = 1; i < ::com::sun::star::ui::UIElementType::COUNT; i++ )
+ for ( int i = 1; i < css::ui::UIElementType::COUNT; i++ )
{
try
{
@@ -1670,14 +1670,14 @@ void SAL_CALL ModuleUIConfigurationManager::storeToStorage( const Reference< XSt
}
}
-sal_Bool SAL_CALL ModuleUIConfigurationManager::isModified() throw (::com::sun::star::uno::RuntimeException, std::exception)
+sal_Bool SAL_CALL ModuleUIConfigurationManager::isModified() throw (css::uno::RuntimeException, std::exception)
{
SolarMutexGuard g;
return m_bModified;
}
-sal_Bool SAL_CALL ModuleUIConfigurationManager::isReadOnly() throw (::com::sun::star::uno::RuntimeException, std::exception)
+sal_Bool SAL_CALL ModuleUIConfigurationManager::isReadOnly() throw (css::uno::RuntimeException, std::exception)
{
SolarMutexGuard g;
@@ -1686,7 +1686,7 @@ sal_Bool SAL_CALL ModuleUIConfigurationManager::isReadOnly() throw (::com::sun::
void ModuleUIConfigurationManager::implts_notifyContainerListener( const ui::ConfigurationEvent& aEvent, NotifyOp eOp )
{
- ::cppu::OInterfaceContainerHelper* pContainer = m_aListenerContainer.getContainer( cppu::UnoType<com::sun::star::ui::XUIConfigurationListener>::get());
+ ::cppu::OInterfaceContainerHelper* pContainer = m_aListenerContainer.getContainer( cppu::UnoType<css::ui::XUIConfigurationListener>::get());
if ( pContainer != NULL )
{
::cppu::OInterfaceIteratorHelper pIterator( *pContainer );
@@ -1697,13 +1697,13 @@ void ModuleUIConfigurationManager::implts_notifyContainerListener( const ui::Con
switch ( eOp )
{
case NotifyOp_Replace:
- static_cast< ::com::sun::star::ui::XUIConfigurationListener*>(pIterator.next())->elementReplaced( aEvent );
+ static_cast< css::ui::XUIConfigurationListener*>(pIterator.next())->elementReplaced( aEvent );
break;
case NotifyOp_Insert:
- static_cast< ::com::sun::star::ui::XUIConfigurationListener*>(pIterator.next())->elementInserted( aEvent );
+ static_cast< css::ui::XUIConfigurationListener*>(pIterator.next())->elementInserted( aEvent );
break;
case NotifyOp_Remove:
- static_cast< ::com::sun::star::ui::XUIConfigurationListener*>(pIterator.next())->elementRemoved( aEvent );
+ static_cast< css::ui::XUIConfigurationListener*>(pIterator.next())->elementRemoved( aEvent );
break;
}
}
diff --git a/framework/source/uiconfiguration/uicategorydescription.cxx b/framework/source/uiconfiguration/uicategorydescription.cxx
index df0b39f1c319..2172f3e3cdff 100644
--- a/framework/source/uiconfiguration/uicategorydescription.cxx
+++ b/framework/source/uiconfiguration/uicategorydescription.cxx
@@ -70,21 +70,21 @@ class ConfigurationAccess_UICategory : public ::cppu::WeakImplHelper<XNameAccess
virtual ~ConfigurationAccess_UICategory();
// XNameAccess
- virtual ::com::sun::star::uno::Any SAL_CALL getByName( const OUString& aName )
- throw (::com::sun::star::container::NoSuchElementException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Any SAL_CALL getByName( const OUString& aName )
+ throw (css::container::NoSuchElementException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) override;
- virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getElementNames()
- throw (::com::sun::star::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Sequence< OUString > SAL_CALL getElementNames()
+ throw (css::uno::RuntimeException, std::exception) override;
virtual sal_Bool SAL_CALL hasByName( const OUString& aName )
- throw (::com::sun::star::uno::RuntimeException, std::exception) override;
+ throw (css::uno::RuntimeException, std::exception) override;
// XElementAccess
- virtual ::com::sun::star::uno::Type SAL_CALL getElementType()
- throw (::com::sun::star::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Type SAL_CALL getElementType()
+ throw (css::uno::RuntimeException, std::exception) override;
virtual sal_Bool SAL_CALL hasElements()
- throw (::com::sun::star::uno::RuntimeException, std::exception) override;
+ throw (css::uno::RuntimeException, std::exception) override;
// container.XContainerListener
virtual void SAL_CALL elementInserted( const ContainerEvent& aEvent ) throw(RuntimeException, std::exception) override;
@@ -108,14 +108,14 @@ class ConfigurationAccess_UICategory : public ::cppu::WeakImplHelper<XNameAccess
bool initializeConfigAccess();
- OUString m_aConfigCategoryAccess;
- OUString m_aPropUIName;
+ OUString m_aConfigCategoryAccess;
+ OUString m_aPropUIName;
Reference< XNameAccess > m_xGenericUICategories;
Reference< XMultiServiceFactory > m_xConfigProvider;
Reference< XNameAccess > m_xConfigAccess;
Reference< XContainerListener > m_xConfigListener;
- bool m_bConfigAccessInitialized;
- bool m_bCacheFilled;
+ bool m_bConfigAccessInitialized;
+ bool m_bCacheFilled;
IdToInfoCache m_aIdCache;
};
@@ -172,7 +172,7 @@ throw ( RuntimeException, std::exception )
}
sal_Bool SAL_CALL ConfigurationAccess_UICategory::hasByName( const OUString& rId )
-throw (::com::sun::star::uno::RuntimeException, std::exception)
+throw (css::uno::RuntimeException, std::exception)
{
return getByName( rId ).hasValue();
}
@@ -214,10 +214,10 @@ bool ConfigurationAccess_UICategory::fillCache()
m_aIdCache.insert( IdToInfoCache::value_type( aNameSeq[i], aUIName ));
}
}
- catch ( const com::sun::star::lang::WrappedTargetException& )
+ catch ( const css::lang::WrappedTargetException& )
{
}
- catch ( const com::sun::star::container::NoSuchElementException& )
+ catch ( const css::container::NoSuchElementException& )
{
}
}
@@ -243,19 +243,19 @@ Any ConfigurationAccess_UICategory::getUINameFromID( const OUString& rId )
{
return m_xGenericUICategories->getByName( rId );
}
- catch ( const com::sun::star::lang::WrappedTargetException& )
+ catch ( const css::lang::WrappedTargetException& )
{
}
- catch ( const com::sun::star::container::NoSuchElementException& )
+ catch ( const css::container::NoSuchElementException& )
{
}
}
}
}
- catch( const com::sun::star::container::NoSuchElementException& )
+ catch( const css::container::NoSuchElementException& )
{
}
- catch ( const com::sun::star::lang::WrappedTargetException& )
+ catch ( const css::lang::WrappedTargetException& )
{
}
@@ -309,10 +309,10 @@ Sequence< OUString > ConfigurationAccess_UICategory::getAllIds()
return aNameSeq;
}
- catch( const com::sun::star::container::NoSuchElementException& )
+ catch( const css::container::NoSuchElementException& )
{
}
- catch ( const com::sun::star::lang::WrappedTargetException& )
+ catch ( const css::lang::WrappedTargetException& )
{
}
}
diff --git a/framework/source/uiconfiguration/uiconfigurationmanager.cxx b/framework/source/uiconfiguration/uiconfigurationmanager.cxx
index 072449051aeb..153265749e10 100644
--- a/framework/source/uiconfiguration/uiconfigurationmanager.cxx
+++ b/framework/source/uiconfiguration/uiconfigurationmanager.cxx
@@ -192,14 +192,14 @@ private:
OUString m_aPropResourceURL;
OUString m_aModuleIdentifier;
css::uno::Reference< css::uno::XComponentContext > m_xContext;
- osl::Mutex m_mutex;
+ osl::Mutex m_mutex;
cppu::OMultiTypeInterfaceContainerHelper m_aListenerContainer; /// container for ALL Listener
css::uno::Reference< css::lang::XComponent > m_xImageManager;
css::uno::Reference< css::ui::XAcceleratorConfiguration > m_xAccConfig;
};
// important: The order and position of the elements must match the constant
-// definition of "::com::sun::star::ui::UIElementType"
+// definition of "css::ui::UIElementType"
static const char* UIELEMENTTYPENAMES[] =
{
"", // Dummy value for unknown!
@@ -343,10 +343,10 @@ void UIConfigurationManager::impl_requestUIElementData( sal_Int16 nElementType,
{
switch ( nElementType )
{
- case ::com::sun::star::ui::UIElementType::UNKNOWN:
+ case css::ui::UIElementType::UNKNOWN:
break;
- case ::com::sun::star::ui::UIElementType::MENUBAR:
+ case css::ui::UIElementType::MENUBAR:
{
try
{
@@ -359,18 +359,18 @@ void UIConfigurationManager::impl_requestUIElementData( sal_Int16 nElementType,
aUIElementData.xSettings = Reference< XIndexAccess >( static_cast< OWeakObject * >( new ConstItemContainer( xContainer, true ) ), UNO_QUERY );
return;
}
- catch ( const ::com::sun::star::lang::WrappedTargetException& )
+ catch ( const css::lang::WrappedTargetException& )
{
}
}
break;
- case ::com::sun::star::ui::UIElementType::POPUPMENU:
+ case css::ui::UIElementType::POPUPMENU:
{
break;
}
- case ::com::sun::star::ui::UIElementType::TOOLBAR:
+ case css::ui::UIElementType::TOOLBAR:
{
try
{
@@ -380,14 +380,14 @@ void UIConfigurationManager::impl_requestUIElementData( sal_Int16 nElementType,
aUIElementData.xSettings = Reference< XIndexAccess >( static_cast< OWeakObject * >( new ConstItemContainer( pRootItemContainer, true ) ), UNO_QUERY );
return;
}
- catch ( const ::com::sun::star::lang::WrappedTargetException& )
+ catch ( const css::lang::WrappedTargetException& )
{
}
break;
}
- case ::com::sun::star::ui::UIElementType::STATUSBAR:
+ case css::ui::UIElementType::STATUSBAR:
{
try
{
@@ -397,30 +397,30 @@ void UIConfigurationManager::impl_requestUIElementData( sal_Int16 nElementType,
aUIElementData.xSettings = Reference< XIndexAccess >( static_cast< OWeakObject * >( new ConstItemContainer( pRootItemContainer, true ) ), UNO_QUERY );
return;
}
- catch ( const ::com::sun::star::lang::WrappedTargetException& )
+ catch ( const css::lang::WrappedTargetException& )
{
}
break;
}
- case ::com::sun::star::ui::UIElementType::FLOATINGWINDOW:
+ case css::ui::UIElementType::FLOATINGWINDOW:
{
break;
}
}
}
}
- catch ( const ::com::sun::star::embed::InvalidStorageException& )
+ catch ( const css::embed::InvalidStorageException& )
{
}
- catch ( const ::com::sun::star::lang::IllegalArgumentException& )
+ catch ( const css::lang::IllegalArgumentException& )
{
}
- catch ( const ::com::sun::star::io::IOException& )
+ catch ( const css::io::IOException& )
{
}
- catch ( const ::com::sun::star::embed::StorageWrappedTargetException& )
+ catch ( const css::embed::StorageWrappedTargetException& )
{
}
}
@@ -478,38 +478,38 @@ void UIConfigurationManager::impl_storeElementTypeData( Reference< XStorage >& x
{
switch( rElementType.nElementType )
{
- case ::com::sun::star::ui::UIElementType::MENUBAR:
+ case css::ui::UIElementType::MENUBAR:
{
try
{
MenuConfiguration aMenuCfg( m_xContext );
aMenuCfg.StoreMenuBarConfigurationToXML( rElement.xSettings, xOutputStream );
}
- catch ( const ::com::sun::star::lang::WrappedTargetException& )
+ catch ( const css::lang::WrappedTargetException& )
{
}
}
break;
- case ::com::sun::star::ui::UIElementType::TOOLBAR:
+ case css::ui::UIElementType::TOOLBAR:
{
try
{
ToolBoxConfiguration::StoreToolBox( m_xContext, xOutputStream, rElement.xSettings );
}
- catch ( const ::com::sun::star::lang::WrappedTargetException& )
+ catch ( const css::lang::WrappedTargetException& )
{
}
}
break;
- case ::com::sun::star::ui::UIElementType::STATUSBAR:
+ case css::ui::UIElementType::STATUSBAR:
{
try
{
StatusBarConfiguration::StoreStatusBar( m_xContext, xOutputStream, rElement.xSettings );
}
- catch ( const ::com::sun::star::lang::WrappedTargetException& )
+ catch ( const css::lang::WrappedTargetException& )
{
}
}
@@ -646,7 +646,7 @@ void UIConfigurationManager::impl_Initialize()
long nModes = m_bReadOnly ? ElementModes::READ : ElementModes::READWRITE;
// Try to access our module sub folder
- for ( sal_Int16 i = 1; i < ::com::sun::star::ui::UIElementType::COUNT;
+ for ( sal_Int16 i = 1; i < css::ui::UIElementType::COUNT;
i++ )
{
Reference< XStorage > xElementTypeStorage;
@@ -654,19 +654,19 @@ void UIConfigurationManager::impl_Initialize()
{
xElementTypeStorage = m_xDocConfigStorage->openStorageElement( OUString::createFromAscii( UIELEMENTTYPENAMES[i] ), nModes );
}
- catch ( const com::sun::star::container::NoSuchElementException& )
+ catch ( const css::container::NoSuchElementException& )
{
}
- catch ( const ::com::sun::star::embed::InvalidStorageException& )
+ catch ( const css::embed::InvalidStorageException& )
{
}
- catch ( const ::com::sun::star::lang::IllegalArgumentException& )
+ catch ( const css::lang::IllegalArgumentException& )
{
}
- catch ( const ::com::sun::star::io::IOException& )
+ catch ( const css::io::IOException& )
{
}
- catch ( const ::com::sun::star::embed::StorageWrappedTargetException& )
+ catch ( const css::embed::StorageWrappedTargetException& )
{
}
@@ -679,12 +679,12 @@ void UIConfigurationManager::impl_Initialize()
else
{
// We have no storage, just initialize ui element types with empty storage!
- for ( int i = 1; i < ::com::sun::star::ui::UIElementType::COUNT; i++ )
+ for ( int i = 1; i < css::ui::UIElementType::COUNT; i++ )
m_aUIElements[i].xStorage = m_xDocConfigStorage;
}
}
-UIConfigurationManager::UIConfigurationManager( const com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext > & rxContext ) :
+UIConfigurationManager::UIConfigurationManager( const css::uno::Reference< css::uno::XComponentContext > & rxContext ) :
m_xDocConfigStorage( 0 )
, m_bReadOnly( true )
, m_bModified( false )
@@ -698,7 +698,7 @@ UIConfigurationManager::UIConfigurationManager( const com::sun::star::uno::Refer
{
// Make sure we have a default initialized entry for every layer and user interface element type!
// The following code depends on this!
- m_aUIElements.resize( ::com::sun::star::ui::UIElementType::COUNT );
+ m_aUIElements.resize( css::ui::UIElementType::COUNT );
}
UIConfigurationManager::~UIConfigurationManager()
@@ -706,7 +706,7 @@ UIConfigurationManager::~UIConfigurationManager()
}
// XComponent
-void SAL_CALL UIConfigurationManager::dispose() throw (::com::sun::star::uno::RuntimeException, std::exception)
+void SAL_CALL UIConfigurationManager::dispose() throw (css::uno::RuntimeException, std::exception)
{
Reference< XComponent > xThis( static_cast< OWeakObject* >(this), UNO_QUERY );
@@ -733,7 +733,7 @@ void SAL_CALL UIConfigurationManager::dispose() throw (::com::sun::star::uno::Ru
}
}
-void SAL_CALL UIConfigurationManager::addEventListener( const Reference< XEventListener >& xListener ) throw (::com::sun::star::uno::RuntimeException, std::exception)
+void SAL_CALL UIConfigurationManager::addEventListener( const Reference< XEventListener >& xListener ) throw (css::uno::RuntimeException, std::exception)
{
{
SolarMutexGuard g;
@@ -746,14 +746,14 @@ void SAL_CALL UIConfigurationManager::addEventListener( const Reference< XEventL
m_aListenerContainer.addInterface( cppu::UnoType<XEventListener>::get(), xListener );
}
-void SAL_CALL UIConfigurationManager::removeEventListener( const Reference< XEventListener >& xListener ) throw (::com::sun::star::uno::RuntimeException, std::exception)
+void SAL_CALL UIConfigurationManager::removeEventListener( const Reference< XEventListener >& xListener ) throw (css::uno::RuntimeException, std::exception)
{
/* SAFE AREA ----------------------------------------------------------------------------------------------- */
m_aListenerContainer.removeInterface( cppu::UnoType<XEventListener>::get(), xListener );
}
// XUIConfigurationManager
-void SAL_CALL UIConfigurationManager::addConfigurationListener( const Reference< ::com::sun::star::ui::XUIConfigurationListener >& xListener ) throw (::com::sun::star::uno::RuntimeException, std::exception)
+void SAL_CALL UIConfigurationManager::addConfigurationListener( const Reference< css::ui::XUIConfigurationListener >& xListener ) throw (css::uno::RuntimeException, std::exception)
{
{
SolarMutexGuard g;
@@ -766,13 +766,13 @@ void SAL_CALL UIConfigurationManager::addConfigurationListener( const Reference<
m_aListenerContainer.addInterface( cppu::UnoType<XUIConfigurationListener>::get(), xListener );
}
-void SAL_CALL UIConfigurationManager::removeConfigurationListener( const Reference< ::com::sun::star::ui::XUIConfigurationListener >& xListener ) throw (::com::sun::star::uno::RuntimeException, std::exception)
+void SAL_CALL UIConfigurationManager::removeConfigurationListener( const Reference< css::ui::XUIConfigurationListener >& xListener ) throw (css::uno::RuntimeException, std::exception)
{
/* SAFE AREA ----------------------------------------------------------------------------------------------- */
m_aListenerContainer.removeInterface( cppu::UnoType<XUIConfigurationListener>::get(), xListener );
}
-void SAL_CALL UIConfigurationManager::reset() throw (::com::sun::star::uno::RuntimeException, std::exception)
+void SAL_CALL UIConfigurationManager::reset() throw (css::uno::RuntimeException, std::exception)
{
SolarMutexClearableGuard aGuard;
@@ -789,7 +789,7 @@ void SAL_CALL UIConfigurationManager::reset() throw (::com::sun::star::uno::Runt
{
// Remove all elements from our user-defined storage!
bool bCommit( false );
- for ( int i = 1; i < ::com::sun::star::ui::UIElementType::COUNT; i++ )
+ for ( int i = 1; i < css::ui::UIElementType::COUNT; i++ )
{
UIElementType& rElementType = m_aUIElements[i];
Reference< XStorage > xSubStorage( rElementType.xStorage, UNO_QUERY );
@@ -825,7 +825,7 @@ void SAL_CALL UIConfigurationManager::reset() throw (::com::sun::star::uno::Runt
// remove settings from user defined layer and notify listener about removed settings data!
// Try to access our module sub folder
ConfigEventNotifyContainer aRemoveEventNotifyContainer;
- for ( sal_Int16 j = 1; j < ::com::sun::star::ui::UIElementType::COUNT; j++ )
+ for ( sal_Int16 j = 1; j < css::ui::UIElementType::COUNT; j++ )
{
UIElementType& rDocElementType = m_aUIElements[j];
@@ -842,16 +842,16 @@ void SAL_CALL UIConfigurationManager::reset() throw (::com::sun::star::uno::Runt
for ( size_t k = 0; k < aRemoveEventNotifyContainer.size(); k++ )
implts_notifyContainerListener( aRemoveEventNotifyContainer[k], NotifyOp_Remove );
}
- catch ( const ::com::sun::star::lang::IllegalArgumentException& )
+ catch ( const css::lang::IllegalArgumentException& )
{
}
- catch ( const ::com::sun::star::container::NoSuchElementException& )
+ catch ( const css::container::NoSuchElementException& )
{
}
- catch ( const ::com::sun::star::embed::InvalidStorageException& )
+ catch ( const css::embed::InvalidStorageException& )
{
}
- catch ( const ::com::sun::star::embed::StorageWrappedTargetException& )
+ catch ( const css::embed::StorageWrappedTargetException& )
{
}
}
@@ -860,7 +860,7 @@ void SAL_CALL UIConfigurationManager::reset() throw (::com::sun::star::uno::Runt
Sequence< Sequence< PropertyValue > > SAL_CALL UIConfigurationManager::getUIElementsInfo( sal_Int16 ElementType )
throw ( IllegalArgumentException, RuntimeException, std::exception )
{
- if (( ElementType < 0 ) || ( ElementType >= ::com::sun::star::ui::UIElementType::COUNT ))
+ if (( ElementType < 0 ) || ( ElementType >= css::ui::UIElementType::COUNT ))
throw IllegalArgumentException();
SolarMutexGuard g;
@@ -870,9 +870,9 @@ throw ( IllegalArgumentException, RuntimeException, std::exception )
Sequence< Sequence< PropertyValue > > aElementInfoSeq;
UIElementInfoHashMap aUIElementInfoCollection;
- if ( ElementType == ::com::sun::star::ui::UIElementType::UNKNOWN )
+ if ( ElementType == css::ui::UIElementType::UNKNOWN )
{
- for ( sal_Int16 i = 0; i < ::com::sun::star::ui::UIElementType::COUNT; i++ )
+ for ( sal_Int16 i = 0; i < css::ui::UIElementType::COUNT; i++ )
impl_fillSequenceWithElementTypeInfo( aUIElementInfoCollection, sal_Int16( i ) );
}
else
@@ -897,7 +897,7 @@ throw ( IllegalArgumentException, RuntimeException, std::exception )
return aElementInfoSeq;
}
-Reference< XIndexContainer > SAL_CALL UIConfigurationManager::createSettings() throw (::com::sun::star::uno::RuntimeException, std::exception)
+Reference< XIndexContainer > SAL_CALL UIConfigurationManager::createSettings() throw (css::uno::RuntimeException, std::exception)
{
SolarMutexGuard g;
@@ -909,12 +909,12 @@ Reference< XIndexContainer > SAL_CALL UIConfigurationManager::createSettings() t
}
sal_Bool SAL_CALL UIConfigurationManager::hasSettings( const OUString& ResourceURL )
-throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException, std::exception)
+throw (css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception)
{
sal_Int16 nElementType = RetrieveTypeFromResourceURL( ResourceURL );
- if (( nElementType == ::com::sun::star::ui::UIElementType::UNKNOWN ) ||
- ( nElementType >= ::com::sun::star::ui::UIElementType::COUNT ))
+ if (( nElementType == css::ui::UIElementType::UNKNOWN ) ||
+ ( nElementType >= css::ui::UIElementType::COUNT ))
throw IllegalArgumentException();
else
{
@@ -927,12 +927,12 @@ throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::
}
Reference< XIndexAccess > SAL_CALL UIConfigurationManager::getSettings( const OUString& ResourceURL, sal_Bool bWriteable )
-throw (::com::sun::star::container::NoSuchElementException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException, std::exception)
+throw (css::container::NoSuchElementException, css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception)
{
sal_Int16 nElementType = RetrieveTypeFromResourceURL( ResourceURL );
- if (( nElementType == ::com::sun::star::ui::UIElementType::UNKNOWN ) ||
- ( nElementType >= ::com::sun::star::ui::UIElementType::COUNT ))
+ if (( nElementType == css::ui::UIElementType::UNKNOWN ) ||
+ ( nElementType >= css::ui::UIElementType::COUNT ))
throw IllegalArgumentException();
else
{
@@ -955,13 +955,13 @@ throw (::com::sun::star::container::NoSuchElementException, ::com::sun::star::la
throw NoSuchElementException();
}
-void SAL_CALL UIConfigurationManager::replaceSettings( const OUString& ResourceURL, const Reference< ::com::sun::star::container::XIndexAccess >& aNewData )
-throw (::com::sun::star::container::NoSuchElementException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::IllegalAccessException, ::com::sun::star::uno::RuntimeException, std::exception)
+void SAL_CALL UIConfigurationManager::replaceSettings( const OUString& ResourceURL, const Reference< css::container::XIndexAccess >& aNewData )
+throw (css::container::NoSuchElementException, css::lang::IllegalArgumentException, css::lang::IllegalAccessException, css::uno::RuntimeException, std::exception)
{
sal_Int16 nElementType = RetrieveTypeFromResourceURL( ResourceURL );
- if (( nElementType == ::com::sun::star::ui::UIElementType::UNKNOWN ) ||
- ( nElementType >= ::com::sun::star::ui::UIElementType::COUNT ))
+ if (( nElementType == css::ui::UIElementType::UNKNOWN ) ||
+ ( nElementType >= css::ui::UIElementType::COUNT ))
throw IllegalArgumentException();
else if ( m_bReadOnly )
throw IllegalAccessException();
@@ -1019,8 +1019,8 @@ throw ( NoSuchElementException, IllegalArgumentException, IllegalAccessException
{
sal_Int16 nElementType = RetrieveTypeFromResourceURL( ResourceURL );
- if (( nElementType == ::com::sun::star::ui::UIElementType::UNKNOWN ) ||
- ( nElementType >= ::com::sun::star::ui::UIElementType::COUNT ))
+ if (( nElementType == css::ui::UIElementType::UNKNOWN ) ||
+ ( nElementType >= css::ui::UIElementType::COUNT ))
throw IllegalArgumentException();
else if ( m_bReadOnly )
throw IllegalAccessException();
@@ -1077,8 +1077,8 @@ throw ( ElementExistException, IllegalArgumentException, IllegalAccessException,
{
sal_Int16 nElementType = RetrieveTypeFromResourceURL( NewResourceURL );
- if (( nElementType == ::com::sun::star::ui::UIElementType::UNKNOWN ) ||
- ( nElementType >= ::com::sun::star::ui::UIElementType::COUNT ))
+ if (( nElementType == css::ui::UIElementType::UNKNOWN ) ||
+ ( nElementType >= css::ui::UIElementType::COUNT ))
throw IllegalArgumentException();
else if ( m_bReadOnly )
throw IllegalAccessException();
@@ -1146,7 +1146,7 @@ throw ( ElementExistException, IllegalArgumentException, IllegalAccessException,
}
}
-Reference< XInterface > SAL_CALL UIConfigurationManager::getImageManager() throw (::com::sun::star::uno::RuntimeException, std::exception)
+Reference< XInterface > SAL_CALL UIConfigurationManager::getImageManager() throw (css::uno::RuntimeException, std::exception)
{
if ( m_bDisposed )
throw DisposedException();
@@ -1172,7 +1172,7 @@ Reference< XInterface > SAL_CALL UIConfigurationManager::getImageManager() throw
return Reference< XInterface >( m_xImageManager, UNO_QUERY );
}
-Reference< XAcceleratorConfiguration > SAL_CALL UIConfigurationManager::getShortCutManager() throw (::com::sun::star::uno::RuntimeException, std::exception)
+Reference< XAcceleratorConfiguration > SAL_CALL UIConfigurationManager::getShortCutManager() throw (css::uno::RuntimeException, std::exception)
{
// SAFE ->
SolarMutexGuard g;
@@ -1191,13 +1191,13 @@ Reference< XAcceleratorConfiguration > SAL_CALL UIConfigurationManager::getShort
return m_xAccConfig;
}
-Reference< XInterface > SAL_CALL UIConfigurationManager::getEventsManager() throw (::com::sun::star::uno::RuntimeException, std::exception)
+Reference< XInterface > SAL_CALL UIConfigurationManager::getEventsManager() throw (css::uno::RuntimeException, std::exception)
{
return Reference< XInterface >();
}
// XUIConfigurationStorage
-void SAL_CALL UIConfigurationManager::setStorage( const Reference< XStorage >& Storage ) throw (::com::sun::star::uno::RuntimeException, std::exception)
+void SAL_CALL UIConfigurationManager::setStorage( const Reference< XStorage >& Storage ) throw (css::uno::RuntimeException, std::exception)
{
SolarMutexGuard g;
@@ -1245,10 +1245,10 @@ void SAL_CALL UIConfigurationManager::setStorage( const Reference< XStorage >& S
if ( a >>= nOpenMode )
m_bReadOnly = !( nOpenMode & ElementModes::WRITE );
}
- catch ( const com::sun::star::beans::UnknownPropertyException& )
+ catch ( const css::beans::UnknownPropertyException& )
{
}
- catch ( const com::sun::star::lang::WrappedTargetException& )
+ catch ( const css::lang::WrappedTargetException& )
{
}
}
@@ -1257,7 +1257,7 @@ void SAL_CALL UIConfigurationManager::setStorage( const Reference< XStorage >& S
impl_Initialize();
}
-sal_Bool SAL_CALL UIConfigurationManager::hasStorage() throw (::com::sun::star::uno::RuntimeException, std::exception)
+sal_Bool SAL_CALL UIConfigurationManager::hasStorage() throw (css::uno::RuntimeException, std::exception)
{
SolarMutexGuard g;
@@ -1268,7 +1268,7 @@ sal_Bool SAL_CALL UIConfigurationManager::hasStorage() throw (::com::sun::star::
}
// XUIConfigurationPersistence
-void SAL_CALL UIConfigurationManager::reload() throw (::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException, std::exception)
+void SAL_CALL UIConfigurationManager::reload() throw (css::uno::Exception, css::uno::RuntimeException, std::exception)
{
SolarMutexClearableGuard aGuard;
@@ -1280,7 +1280,7 @@ void SAL_CALL UIConfigurationManager::reload() throw (::com::sun::star::uno::Exc
// Try to access our module sub folder
ConfigEventNotifyContainer aRemoveNotifyContainer;
ConfigEventNotifyContainer aReplaceNotifyContainer;
- for ( sal_Int16 i = 1; i < ::com::sun::star::ui::UIElementType::COUNT; i++ )
+ for ( sal_Int16 i = 1; i < css::ui::UIElementType::COUNT; i++ )
{
try
{
@@ -1307,7 +1307,7 @@ void SAL_CALL UIConfigurationManager::reload() throw (::com::sun::star::uno::Exc
}
}
-void SAL_CALL UIConfigurationManager::store() throw (::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException, std::exception)
+void SAL_CALL UIConfigurationManager::store() throw (css::uno::Exception, css::uno::RuntimeException, std::exception)
{
SolarMutexGuard g;
@@ -1317,7 +1317,7 @@ void SAL_CALL UIConfigurationManager::store() throw (::com::sun::star::uno::Exce
if ( m_xDocConfigStorage.is() && m_bModified && !m_bReadOnly )
{
// Try to access our module sub folder
- for ( int i = 1; i < ::com::sun::star::ui::UIElementType::COUNT; i++ )
+ for ( int i = 1; i < css::ui::UIElementType::COUNT; i++ )
{
try
{
@@ -1340,7 +1340,7 @@ void SAL_CALL UIConfigurationManager::store() throw (::com::sun::star::uno::Exce
}
}
-void SAL_CALL UIConfigurationManager::storeToStorage( const Reference< XStorage >& Storage ) throw (::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException, std::exception)
+void SAL_CALL UIConfigurationManager::storeToStorage( const Reference< XStorage >& Storage ) throw (css::uno::Exception, css::uno::RuntimeException, std::exception)
{
SolarMutexGuard g;
@@ -1350,7 +1350,7 @@ void SAL_CALL UIConfigurationManager::storeToStorage( const Reference< XStorage
if ( m_xDocConfigStorage.is() && m_bModified && !m_bReadOnly )
{
// Try to access our module sub folder
- for ( int i = 1; i < ::com::sun::star::ui::UIElementType::COUNT; i++ )
+ for ( int i = 1; i < css::ui::UIElementType::COUNT; i++ )
{
try
{
@@ -1373,14 +1373,14 @@ void SAL_CALL UIConfigurationManager::storeToStorage( const Reference< XStorage
}
}
-sal_Bool SAL_CALL UIConfigurationManager::isModified() throw (::com::sun::star::uno::RuntimeException, std::exception)
+sal_Bool SAL_CALL UIConfigurationManager::isModified() throw (css::uno::RuntimeException, std::exception)
{
SolarMutexGuard g;
return m_bModified;
}
-sal_Bool SAL_CALL UIConfigurationManager::isReadOnly() throw (::com::sun::star::uno::RuntimeException, std::exception)
+sal_Bool SAL_CALL UIConfigurationManager::isReadOnly() throw (css::uno::RuntimeException, std::exception)
{
SolarMutexGuard g;
@@ -1389,7 +1389,7 @@ sal_Bool SAL_CALL UIConfigurationManager::isReadOnly() throw (::com::sun::star::
void UIConfigurationManager::implts_notifyContainerListener( const ConfigurationEvent& aEvent, NotifyOp eOp )
{
- ::cppu::OInterfaceContainerHelper* pContainer = m_aListenerContainer.getContainer( cppu::UnoType<com::sun::star::ui::XUIConfigurationListener>::get());
+ ::cppu::OInterfaceContainerHelper* pContainer = m_aListenerContainer.getContainer( cppu::UnoType<css::ui::XUIConfigurationListener>::get());
if ( pContainer != NULL )
{
::cppu::OInterfaceIteratorHelper pIterator( *pContainer );
@@ -1400,13 +1400,13 @@ void UIConfigurationManager::implts_notifyContainerListener( const Configuration
switch ( eOp )
{
case NotifyOp_Replace:
- static_cast< ::com::sun::star::ui::XUIConfigurationListener*>(pIterator.next())->elementReplaced( aEvent );
+ static_cast< css::ui::XUIConfigurationListener*>(pIterator.next())->elementReplaced( aEvent );
break;
case NotifyOp_Insert:
- static_cast< ::com::sun::star::ui::XUIConfigurationListener*>(pIterator.next())->elementInserted( aEvent );
+ static_cast< css::ui::XUIConfigurationListener*>(pIterator.next())->elementInserted( aEvent );
break;
case NotifyOp_Remove:
- static_cast< ::com::sun::star::ui::XUIConfigurationListener*>(pIterator.next())->elementRemoved( aEvent );
+ static_cast< css::ui::XUIConfigurationListener*>(pIterator.next())->elementRemoved( aEvent );
break;
}
}
diff --git a/framework/source/uiconfiguration/windowstateconfiguration.cxx b/framework/source/uiconfiguration/windowstateconfiguration.cxx
index a972a514755a..bccb30d9795a 100644
--- a/framework/source/uiconfiguration/windowstateconfiguration.cxx
+++ b/framework/source/uiconfiguration/windowstateconfiguration.cxx
@@ -108,14 +108,14 @@ class ConfigurationAccess_WindowState : public ::cppu::WeakImplHelper< XNameCon
virtual ~ConfigurationAccess_WindowState();
// XNameAccess
- virtual ::com::sun::star::uno::Any SAL_CALL getByName( const OUString& aName )
- throw (::com::sun::star::container::NoSuchElementException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Any SAL_CALL getByName( const OUString& aName )
+ throw (css::container::NoSuchElementException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) override;
- virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getElementNames()
- throw (::com::sun::star::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Sequence< OUString > SAL_CALL getElementNames()
+ throw (css::uno::RuntimeException, std::exception) override;
virtual sal_Bool SAL_CALL hasByName( const OUString& aName )
- throw (::com::sun::star::uno::RuntimeException, std::exception) override;
+ throw (css::uno::RuntimeException, std::exception) override;
// XNameContainer
virtual void SAL_CALL removeByName( const OUString& sName )
@@ -129,11 +129,11 @@ class ConfigurationAccess_WindowState : public ::cppu::WeakImplHelper< XNameCon
throw(css::lang::IllegalArgumentException, css::container::NoSuchElementException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception ) override;
// XElementAccess
- virtual ::com::sun::star::uno::Type SAL_CALL getElementType()
- throw (::com::sun::star::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Type SAL_CALL getElementType()
+ throw (css::uno::RuntimeException, std::exception) override;
virtual sal_Bool SAL_CALL hasElements()
- throw (::com::sun::star::uno::RuntimeException, std::exception) override;
+ throw (css::uno::RuntimeException, std::exception) override;
// container.XContainerListener
virtual void SAL_CALL elementInserted( const ContainerEvent& aEvent ) throw(RuntimeException, std::exception) override;
@@ -177,7 +177,7 @@ class ConfigurationAccess_WindowState : public ::cppu::WeakImplHelper< XNameCon
, bNoClose(false)
, bSoftClose(false)
, bContextActive(false)
- , aDockingArea(::com::sun::star::ui::DockingArea_DOCKINGAREA_TOP)
+ , aDockingArea(css::ui::DockingArea_DOCKINGAREA_TOP)
, aDockPos(0, 0)
, aPos(0, 0)
, aSize(0, 0)
@@ -195,12 +195,12 @@ class ConfigurationAccess_WindowState : public ::cppu::WeakImplHelper< XNameCon
bNoClose : 1,
bSoftClose : 1,
bContextActive : 1;
- ::com::sun::star::ui::DockingArea aDockingArea;
- com::sun::star::awt::Point aDockPos;
- com::sun::star::awt::Size aDockSize;
- com::sun::star::awt::Point aPos;
- com::sun::star::awt::Size aSize;
- OUString aUIName;
+ css::ui::DockingArea aDockingArea;
+ css::awt::Point aDockPos;
+ css::awt::Size aDockSize;
+ css::awt::Point aPos;
+ css::awt::Size aSize;
+ OUString aUIName;
sal_uInt32 nInternalState;
sal_uInt16 nStyle;
sal_uInt32 nMask; // see WindowStateMask
@@ -212,7 +212,7 @@ class ConfigurationAccess_WindowState : public ::cppu::WeakImplHelper< XNameCon
Any impl_getSequenceFromStruct( const WindowStateInfo& rWinStateInfo );
void impl_fillStructFromSequence( WindowStateInfo& rWinStateInfo, const Sequence< PropertyValue >& rSeq );
Any impl_getWindowStateFromResourceURL( const OUString& rResourceURL );
- bool impl_initializeConfigAccess();
+ bool impl_initializeConfigAccess();
private:
typedef std::unordered_map< OUString,
@@ -220,13 +220,13 @@ class ConfigurationAccess_WindowState : public ::cppu::WeakImplHelper< XNameCon
OUStringHash,
std::equal_to< OUString > > ResourceURLToInfoCache;
- osl::Mutex m_aMutex;
- OUString m_aConfigWindowAccess;
+ osl::Mutex m_aMutex;
+ OUString m_aConfigWindowAccess;
Reference< XMultiServiceFactory > m_xConfigProvider;
Reference< XNameAccess > m_xConfigAccess;
Reference< XContainerListener > m_xConfigListener;
ResourceURLToInfoCache m_aResourceURLToInfoCache;
- bool m_bConfigAccessInitialized : 1,
+ bool m_bConfigAccessInitialized : 1,
m_bModified : 1;
std::vector< OUString > m_aPropArray;
};
@@ -298,7 +298,7 @@ throw ( RuntimeException, std::exception )
}
sal_Bool SAL_CALL ConfigurationAccess_WindowState::hasByName( const OUString& rResourceURL )
-throw (::com::sun::star::uno::RuntimeException, std::exception)
+throw (css::uno::RuntimeException, std::exception)
{
// SAFE
osl::MutexGuard g(m_aMutex);
@@ -372,7 +372,7 @@ throw( NoSuchElementException, WrappedTargetException, RuntimeException, std::ex
xFlush->commitChanges();
}
}
- catch ( const com::sun::star::lang::WrappedTargetException& )
+ catch ( const css::lang::WrappedTargetException& )
{
}
}
@@ -681,7 +681,7 @@ Any ConfigurationAccess_WindowState::impl_insertCacheAndReturnSequence( const OU
OUString aXStr = aString.getToken( 0, ',', nToken );
if ( nToken > 0 )
{
- com::sun::star::awt::Point aPos;
+ css::awt::Point aPos;
aPos.X = aXStr.toInt32();
aPos.Y = aString.getToken( 0, ',', nToken ).toInt32();
@@ -713,7 +713,7 @@ Any ConfigurationAccess_WindowState::impl_insertCacheAndReturnSequence( const OU
OUString aStr = aString.getToken( 0, ',', nToken );
if ( nToken > 0 )
{
- com::sun::star::awt::Size aSize;
+ css::awt::Size aSize;
aSize.Width = aStr.toInt32();
aSize.Height = aString.getToken( 0, ',', nToken ).toInt32();
if ( i == PROPERTY_SIZE )
@@ -783,10 +783,10 @@ Any ConfigurationAccess_WindowState::impl_insertCacheAndReturnSequence( const OU
aPropSeq[nIndex].Value = a;
}
}
- catch( const com::sun::star::container::NoSuchElementException& )
+ catch( const css::container::NoSuchElementException& )
{
}
- catch ( const com::sun::star::lang::WrappedTargetException& )
+ catch ( const css::lang::WrappedTargetException& )
{
}
}
@@ -874,7 +874,7 @@ ConfigurationAccess_WindowState::WindowStateInfo& ConfigurationAccess_WindowStat
OUString aXStr = aString.getToken( 0, ',', nToken );
if ( nToken > 0 )
{
- com::sun::star::awt::Point aPos;
+ css::awt::Point aPos;
aPos.X = aXStr.toInt32();
aPos.Y = aString.getToken( 0, ',', nToken ).toInt32();
@@ -903,7 +903,7 @@ ConfigurationAccess_WindowState::WindowStateInfo& ConfigurationAccess_WindowStat
OUString aStr = aString.getToken( 0, ',', nToken );
if ( nToken > 0 )
{
- com::sun::star::awt::Size aSize;
+ css::awt::Size aSize;
aSize.Width = aStr.toInt32();
aSize.Height = aString.getToken( 0, ',', nToken ).toInt32();
if ( i == PROPERTY_SIZE )
@@ -958,10 +958,10 @@ ConfigurationAccess_WindowState::WindowStateInfo& ConfigurationAccess_WindowStat
DBG_ASSERT( false, "Wrong value for ConfigurationAccess_WindowState. Who has forgotten to add this new property!" );
}
}
- catch( const com::sun::star::container::NoSuchElementException& )
+ catch( const css::container::NoSuchElementException& )
{
}
- catch ( const com::sun::star::lang::WrappedTargetException& )
+ catch ( const css::lang::WrappedTargetException& )
{
}
}
@@ -990,10 +990,10 @@ Any ConfigurationAccess_WindowState::impl_getWindowStateFromResourceURL( const O
return impl_insertCacheAndReturnSequence( rResourceURL, xNameAccess );
}
}
- catch( const com::sun::star::container::NoSuchElementException& )
+ catch( const css::container::NoSuchElementException& )
{
}
- catch ( const com::sun::star::lang::WrappedTargetException& )
+ catch ( const css::lang::WrappedTargetException& )
{
}
@@ -1061,7 +1061,7 @@ void ConfigurationAccess_WindowState::impl_fillStructFromSequence( WindowStateIn
case PROPERTY_DOCKINGAREA:
{
- ::com::sun::star::ui::DockingArea eDockingArea;
+ css::ui::DockingArea eDockingArea;
if ( rSeq[i].Value >>= eDockingArea )
{
rWinStateInfo.aDockingArea = eDockingArea;
@@ -1073,7 +1073,7 @@ void ConfigurationAccess_WindowState::impl_fillStructFromSequence( WindowStateIn
case PROPERTY_POS:
case PROPERTY_DOCKPOS:
{
- com::sun::star::awt::Point aPoint;
+ css::awt::Point aPoint;
if ( rSeq[i].Value >>= aPoint )
{
if ( j == PROPERTY_POS )
@@ -1093,7 +1093,7 @@ void ConfigurationAccess_WindowState::impl_fillStructFromSequence( WindowStateIn
case PROPERTY_SIZE:
case PROPERTY_DOCKSIZE:
{
- com::sun::star::awt::Size aSize;
+ css::awt::Size aSize;
if ( rSeq[i].Value >>= aSize )
{
if ( j == PROPERTY_SIZE )
@@ -1348,7 +1348,7 @@ WindowStateConfiguration::WindowStateConfiguration( const Reference< XComponentC
{
aElementNames = xModuleManager->getElementNames();
}
- catch (const ::com::sun::star::uno::RuntimeException &)
+ catch (const css::uno::RuntimeException &)
{
}
Sequence< PropertyValue > aSeq;
@@ -1391,7 +1391,7 @@ WindowStateConfiguration::~WindowStateConfiguration()
}
Any SAL_CALL WindowStateConfiguration::getByName( const OUString& aModuleIdentifier )
-throw (::com::sun::star::container::NoSuchElementException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException, std::exception)
+throw (css::container::NoSuchElementException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception)
{
osl::MutexGuard g(cppu::WeakComponentImplHelperBase::rBHelper.rMutex);
@@ -1423,7 +1423,7 @@ throw (::com::sun::star::container::NoSuchElementException, ::com::sun::star::la
}
Sequence< OUString > SAL_CALL WindowStateConfiguration::getElementNames()
-throw (::com::sun::star::uno::RuntimeException, std::exception)
+throw (css::uno::RuntimeException, std::exception)
{
osl::MutexGuard g(cppu::WeakComponentImplHelperBase::rBHelper.rMutex);
@@ -1441,7 +1441,7 @@ throw (::com::sun::star::uno::RuntimeException, std::exception)
}
sal_Bool SAL_CALL WindowStateConfiguration::hasByName( const OUString& aName )
-throw (::com::sun::star::uno::RuntimeException, std::exception)
+throw (css::uno::RuntimeException, std::exception)
{
osl::MutexGuard g(cppu::WeakComponentImplHelperBase::rBHelper.rMutex);
@@ -1451,13 +1451,13 @@ throw (::com::sun::star::uno::RuntimeException, std::exception)
// XElementAccess
Type SAL_CALL WindowStateConfiguration::getElementType()
-throw (::com::sun::star::uno::RuntimeException, std::exception)
+throw (css::uno::RuntimeException, std::exception)
{
return( cppu::UnoType<XNameAccess>::get());
}
sal_Bool SAL_CALL WindowStateConfiguration::hasElements()
-throw (::com::sun::star::uno::RuntimeException, std::exception)
+throw (css::uno::RuntimeException, std::exception)
{
// We always have at least one module. So it is valid to return true!
return sal_True;
diff --git a/framework/source/uielement/addonstoolbarmanager.cxx b/framework/source/uielement/addonstoolbarmanager.cxx
index 22393d27b537..1e57e9252d57 100644
--- a/framework/source/uielement/addonstoolbarmanager.cxx
+++ b/framework/source/uielement/addonstoolbarmanager.cxx
@@ -107,7 +107,7 @@ static bool IsCorrectContext( const OUString& rModuleIdentifier, const OUString&
return false;
}
-static Image RetrieveImage( Reference< com::sun::star::frame::XFrame >& rFrame,
+static Image RetrieveImage( Reference< css::frame::XFrame >& rFrame,
const OUString& aImageId,
const OUString& aURL,
bool bBigImage
diff --git a/framework/source/uielement/addonstoolbarwrapper.cxx b/framework/source/uielement/addonstoolbarwrapper.cxx
index 9d14b3a11a3a..b2d3e2864b01 100644
--- a/framework/source/uielement/addonstoolbarwrapper.cxx
+++ b/framework/source/uielement/addonstoolbarwrapper.cxx
@@ -67,7 +67,7 @@ void SAL_CALL AddonsToolBarWrapper::dispose() throw ( RuntimeException, std::exc
{
Reference< XComponent > xThis( static_cast< OWeakObject* >(this), UNO_QUERY );
- com::sun::star::lang::EventObject aEvent( xThis );
+ css::lang::EventObject aEvent( xThis );
m_aListenerContainer.disposeAndClear( aEvent );
SolarMutexGuard g;
@@ -142,7 +142,7 @@ void SAL_CALL AddonsToolBarWrapper::initialize( const Sequence< Any >& aArgument
}
// XUIElement interface
-Reference< XInterface > SAL_CALL AddonsToolBarWrapper::getRealInterface() throw (::com::sun::star::uno::RuntimeException, std::exception)
+Reference< XInterface > SAL_CALL AddonsToolBarWrapper::getRealInterface() throw (css::uno::RuntimeException, std::exception)
{
SolarMutexGuard g;
diff --git a/framework/source/uielement/buttontoolbarcontroller.cxx b/framework/source/uielement/buttontoolbarcontroller.cxx
index aaf068591354..fef0d1da3c9e 100644
--- a/framework/source/uielement/buttontoolbarcontroller.cxx
+++ b/framework/source/uielement/buttontoolbarcontroller.cxx
@@ -44,12 +44,12 @@
#include <svtools/miscopt.hxx>
using namespace ::com::sun::star;
-using namespace ::com::sun::star::awt;
-using namespace ::com::sun::star::uno;
-using namespace ::com::sun::star::beans;
-using namespace ::com::sun::star::lang;
-using namespace ::com::sun::star::frame;
-using namespace ::com::sun::star::util;
+using namespace css::awt;
+using namespace css::uno;
+using namespace css::beans;
+using namespace css::lang;
+using namespace css::frame;
+using namespace css::util;
namespace framework
{
@@ -73,7 +73,7 @@ ButtonToolbarController::~ButtonToolbarController()
// XInterface
uno::Any SAL_CALL ButtonToolbarController::queryInterface( const uno::Type& rType )
-throw (::com::sun::star::uno::RuntimeException, std::exception)
+throw (css::uno::RuntimeException, std::exception)
{
Any a = ::cppu::queryInterface(
rType ,
@@ -101,8 +101,8 @@ void SAL_CALL ButtonToolbarController::release() throw ()
// XInitialization
void SAL_CALL ButtonToolbarController::initialize(
- const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& aArguments )
-throw (::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException, std::exception)
+ const css::uno::Sequence< css::uno::Any >& aArguments )
+throw (css::uno::Exception, css::uno::RuntimeException, std::exception)
{
bool bInitialized( true );
@@ -140,7 +140,7 @@ throw (::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException
}
// XComponent
-void SAL_CALL ButtonToolbarController::dispose() throw (::com::sun::star::uno::RuntimeException, std::exception)
+void SAL_CALL ButtonToolbarController::dispose() throw (css::uno::RuntimeException, std::exception)
{
Reference< XComponent > xThis( static_cast< OWeakObject* >(this), UNO_QUERY );
@@ -158,22 +158,22 @@ void SAL_CALL ButtonToolbarController::dispose() throw (::com::sun::star::uno::R
}
void SAL_CALL ButtonToolbarController::addEventListener(
- const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener >& )
-throw (::com::sun::star::uno::RuntimeException, std::exception)
+ const css::uno::Reference< css::lang::XEventListener >& )
+throw (css::uno::RuntimeException, std::exception)
{
// do nothing
}
void SAL_CALL ButtonToolbarController::removeEventListener(
- const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener >& )
-throw (::com::sun::star::uno::RuntimeException, std::exception)
+ const css::uno::Reference< css::lang::XEventListener >& )
+throw (css::uno::RuntimeException, std::exception)
{
// do nothing
}
// XUpdatable
void SAL_CALL ButtonToolbarController::update()
-throw (::com::sun::star::uno::RuntimeException, std::exception)
+throw (css::uno::RuntimeException, std::exception)
{
SolarMutexGuard aSolarMutexGuard;
if ( m_bDisposed )
@@ -182,8 +182,8 @@ throw (::com::sun::star::uno::RuntimeException, std::exception)
// XEventListener
void SAL_CALL ButtonToolbarController::disposing(
- const com::sun::star::lang::EventObject& Source )
-throw ( ::com::sun::star::uno::RuntimeException, std::exception )
+ const css::lang::EventObject& Source )
+throw ( css::uno::RuntimeException, std::exception )
{
uno::Reference< uno::XInterface > xSource( Source.Source );
@@ -197,8 +197,8 @@ throw ( ::com::sun::star::uno::RuntimeException, std::exception )
m_xFrame.clear();
}
-void SAL_CALL ButtonToolbarController::statusChanged( const ::com::sun::star::frame::FeatureStateEvent& )
-throw ( ::com::sun::star::uno::RuntimeException, std::exception )
+void SAL_CALL ButtonToolbarController::statusChanged( const css::frame::FeatureStateEvent& )
+throw ( css::uno::RuntimeException, std::exception )
{
// do nothing
if ( m_bDisposed )
@@ -207,13 +207,13 @@ throw ( ::com::sun::star::uno::RuntimeException, std::exception )
// XToolbarController
void SAL_CALL ButtonToolbarController::execute( sal_Int16 KeyModifier )
-throw (::com::sun::star::uno::RuntimeException, std::exception)
+throw (css::uno::RuntimeException, std::exception)
{
uno::Reference< frame::XDispatch > xDispatch;
uno::Reference< frame::XFrame > xFrame;
uno::Reference< util::XURLTransformer > xURLTransformer;
OUString aCommandURL;
- ::com::sun::star::util::URL aTargetURL;
+ css::util::URL aTargetURL;
{
SolarMutexGuard aSolarMutexGuard;
@@ -264,7 +264,7 @@ throw (::com::sun::star::uno::RuntimeException, std::exception)
}
void SAL_CALL ButtonToolbarController::click()
-throw (::com::sun::star::uno::RuntimeException, std::exception)
+throw (css::uno::RuntimeException, std::exception)
{
SolarMutexGuard aSolarMutexGuard;
@@ -276,7 +276,7 @@ throw (::com::sun::star::uno::RuntimeException, std::exception)
}
void SAL_CALL ButtonToolbarController::doubleClick()
-throw (::com::sun::star::uno::RuntimeException, std::exception)
+throw (css::uno::RuntimeException, std::exception)
{
// do nothing
if ( m_bDisposed )
@@ -284,7 +284,7 @@ throw (::com::sun::star::uno::RuntimeException, std::exception)
}
uno::Reference< awt::XWindow > SAL_CALL ButtonToolbarController::createPopupWindow()
-throw (::com::sun::star::uno::RuntimeException, std::exception)
+throw (css::uno::RuntimeException, std::exception)
{
if ( m_bDisposed )
throw DisposedException();
@@ -293,8 +293,8 @@ throw (::com::sun::star::uno::RuntimeException, std::exception)
}
uno::Reference< awt::XWindow > SAL_CALL ButtonToolbarController::createItemWindow(
- const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindow >& )
-throw (::com::sun::star::uno::RuntimeException, std::exception)
+ const css::uno::Reference< css::awt::XWindow >& )
+throw (css::uno::RuntimeException, std::exception)
{
if ( m_bDisposed )
throw DisposedException();
diff --git a/framework/source/uielement/comboboxtoolbarcontroller.cxx b/framework/source/uielement/comboboxtoolbarcontroller.cxx
index 3d6f17b42788..a7ad8a36d529 100644
--- a/framework/source/uielement/comboboxtoolbarcontroller.cxx
+++ b/framework/source/uielement/comboboxtoolbarcontroller.cxx
@@ -36,12 +36,12 @@
#include <vcl/combobox.hxx>
using namespace ::com::sun::star;
-using namespace ::com::sun::star::uno;
-using namespace ::com::sun::star::beans;
-using namespace ::com::sun::star::lang;
-using namespace ::com::sun::star::frame;
-using namespace ::com::sun::star::frame::status;
-using namespace ::com::sun::star::util;
+using namespace css::uno;
+using namespace css::beans;
+using namespace css::lang;
+using namespace css::frame;
+using namespace css::frame::status;
+using namespace css::util;
namespace framework
{
@@ -252,7 +252,7 @@ bool ComboboxToolbarController::PreNotify( NotifyEvent& rNEvt )
return false;
}
-void ComboboxToolbarController::executeControlCommand( const ::com::sun::star::frame::ControlCommand& rControlCommand )
+void ComboboxToolbarController::executeControlCommand( const css::frame::ControlCommand& rControlCommand )
{
if ( rControlCommand.Command == "SetText" )
{
@@ -379,7 +379,7 @@ void ComboboxToolbarController::executeControlCommand( const ::com::sun::star::f
{
if ( rControlCommand.Arguments[i].Name == "Color" )
{
- com::sun::star::util::Color aColor(0);
+ css::util::Color aColor(0);
if ( rControlCommand.Arguments[i].Value >>= aColor )
{
::Color aBackColor( static_cast< sal_uInt32 >( aColor ));
@@ -395,7 +395,7 @@ void ComboboxToolbarController::executeControlCommand( const ::com::sun::star::f
{
if ( rControlCommand.Arguments[i].Name == "Color" )
{
- com::sun::star::util::Color aColor(0);
+ css::util::Color aColor(0);
if ( rControlCommand.Arguments[i].Value >>= aColor )
{
::Color aForeColor( static_cast< sal_uInt32 >( aColor ));
diff --git a/framework/source/uielement/complextoolbarcontroller.cxx b/framework/source/uielement/complextoolbarcontroller.cxx
index 5ac9a3a1a59f..6ff709d180e7 100644
--- a/framework/source/uielement/complextoolbarcontroller.cxx
+++ b/framework/source/uielement/complextoolbarcontroller.cxx
@@ -38,13 +38,13 @@
#include <vcl/settings.hxx>
using namespace ::com::sun::star;
-using namespace ::com::sun::star::awt;
-using namespace ::com::sun::star::uno;
-using namespace ::com::sun::star::beans;
-using namespace ::com::sun::star::lang;
-using namespace ::com::sun::star::frame;
-using namespace ::com::sun::star::frame::status;
-using namespace ::com::sun::star::util;
+using namespace css::awt;
+using namespace css::uno;
+using namespace css::beans;
+using namespace css::lang;
+using namespace css::frame;
+using namespace css::frame::status;
+using namespace css::util;
namespace framework
{
@@ -96,7 +96,7 @@ throw ( RuntimeException, std::exception )
Reference< XDispatch > xDispatch;
Reference< XURLTransformer > xURLTransformer;
OUString aCommandURL;
- ::com::sun::star::util::URL aTargetURL;
+ css::util::URL aTargetURL;
Sequence<PropertyValue> aArgs;
{
@@ -289,7 +289,7 @@ uno::Reference< frame::XDispatch > ComplexToolbarController::getDispatchFromComm
return xDispatch;
}
-const ::com::sun::star::util::URL& ComplexToolbarController::getInitializedURL()
+const css::util::URL& ComplexToolbarController::getInitializedURL()
{
if ( m_aURL.Complete.isEmpty() )
{
diff --git a/framework/source/uielement/controlmenucontroller.cxx b/framework/source/uielement/controlmenucontroller.cxx
index a35bce773da7..9f2970a97291 100644
--- a/framework/source/uielement/controlmenucontroller.cxx
+++ b/framework/source/uielement/controlmenucontroller.cxx
@@ -166,10 +166,10 @@ static const char* aCommands[] =
};
using namespace css;
-using namespace com::sun::star::uno;
-using namespace com::sun::star::lang;
-using namespace com::sun::star::frame;
-using namespace com::sun::star::beans;
+using namespace css::uno;
+using namespace css::lang;
+using namespace css::frame;
+using namespace css::beans;
namespace {
@@ -240,7 +240,7 @@ private:
UrlToDispatchMap m_aURLToDispatchMap;
};
-ControlMenuController::ControlMenuController( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& xContext ) :
+ControlMenuController::ControlMenuController( const css::uno::Reference< css::uno::XComponentContext >& xContext ) :
svt::PopupMenuControllerBase( xContext ),
m_pResPopupMenu( 0 )
{
@@ -407,7 +407,7 @@ void ControlMenuController::impl_setPopupMenu()
} // if ( m_pResPopupMenu == 0 )
}
-void SAL_CALL ControlMenuController::updatePopupMenu() throw (::com::sun::star::uno::RuntimeException, std::exception)
+void SAL_CALL ControlMenuController::updatePopupMenu() throw (css::uno::RuntimeException, std::exception)
{
osl::ResettableMutexGuard aLock( m_aMutex );
diff --git a/framework/source/uielement/dropdownboxtoolbarcontroller.cxx b/framework/source/uielement/dropdownboxtoolbarcontroller.cxx
index 939a8c962a29..4045384ec475 100644
--- a/framework/source/uielement/dropdownboxtoolbarcontroller.cxx
+++ b/framework/source/uielement/dropdownboxtoolbarcontroller.cxx
@@ -34,13 +34,13 @@
#include <vcl/toolbox.hxx>
using namespace ::com::sun::star;
-using namespace ::com::sun::star::awt;
-using namespace ::com::sun::star::uno;
-using namespace ::com::sun::star::beans;
-using namespace ::com::sun::star::lang;
-using namespace ::com::sun::star::frame;
-using namespace ::com::sun::star::frame::status;
-using namespace ::com::sun::star::util;
+using namespace css::awt;
+using namespace css::uno;
+using namespace css::beans;
+using namespace css::lang;
+using namespace css::frame;
+using namespace css::frame::status;
+using namespace css::util;
namespace framework
{
@@ -203,7 +203,7 @@ bool DropdownToolbarController::PreNotify( NotifyEvent& /*rNEvt*/ )
return false;
}
-void DropdownToolbarController::executeControlCommand( const ::com::sun::star::frame::ControlCommand& rControlCommand )
+void DropdownToolbarController::executeControlCommand( const css::frame::ControlCommand& rControlCommand )
{
if ( rControlCommand.Command == "SetList" )
{
diff --git a/framework/source/uielement/edittoolbarcontroller.cxx b/framework/source/uielement/edittoolbarcontroller.cxx
index 7970f10684af..b0134c4a2ca9 100644
--- a/framework/source/uielement/edittoolbarcontroller.cxx
+++ b/framework/source/uielement/edittoolbarcontroller.cxx
@@ -34,12 +34,12 @@
#include <vcl/toolbox.hxx>
using namespace ::com::sun::star;
-using namespace ::com::sun::star::uno;
-using namespace ::com::sun::star::beans;
-using namespace ::com::sun::star::lang;
-using namespace ::com::sun::star::frame;
-using namespace ::com::sun::star::frame::status;
-using namespace ::com::sun::star::util;
+using namespace css::uno;
+using namespace css::beans;
+using namespace css::lang;
+using namespace css::frame;
+using namespace css::frame::status;
+using namespace css::util;
namespace framework
{
@@ -207,7 +207,7 @@ bool EditToolbarController::PreNotify( NotifyEvent& rNEvt )
return false;
}
-void EditToolbarController::executeControlCommand( const ::com::sun::star::frame::ControlCommand& rControlCommand )
+void EditToolbarController::executeControlCommand( const css::frame::ControlCommand& rControlCommand )
{
if ( rControlCommand.Command.startsWith( "SetText" ))
{
diff --git a/framework/source/uielement/fontmenucontroller.cxx b/framework/source/uielement/fontmenucontroller.cxx
index 70229e9357c1..6e529b734e88 100644
--- a/framework/source/uielement/fontmenucontroller.cxx
+++ b/framework/source/uielement/fontmenucontroller.cxx
@@ -37,11 +37,11 @@
// Defines
-using namespace com::sun::star::uno;
-using namespace com::sun::star::lang;
-using namespace com::sun::star::frame;
-using namespace com::sun::star::beans;
-using namespace com::sun::star::util;
+using namespace css::uno;
+using namespace css::lang;
+using namespace css::frame;
+using namespace css::beans;
+using namespace css::util;
using namespace std;
@@ -62,7 +62,7 @@ DEFINE_XSERVICEINFO_MULTISERVICE_2 ( FontMenuController
DEFINE_INIT_SERVICE ( FontMenuController, {} )
-FontMenuController::FontMenuController( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& xContext ) :
+FontMenuController::FontMenuController( const css::uno::Reference< css::uno::XComponentContext >& xContext ) :
svt::PopupMenuControllerBase( xContext )
{
}
@@ -130,7 +130,7 @@ void SAL_CALL FontMenuController::disposing( const EventObject& ) throw ( Runtim
// XStatusListener
void SAL_CALL FontMenuController::statusChanged( const FeatureStateEvent& Event ) throw ( RuntimeException, std::exception )
{
- com::sun::star::awt::FontDescriptor aFontDescriptor;
+ css::awt::FontDescriptor aFontDescriptor;
Sequence< OUString > aFontNameSeq;
if ( Event.State >>= aFontDescriptor )
@@ -188,20 +188,20 @@ void FontMenuController::impl_setPopupMenu()
{
Reference< XDispatchProvider > xDispatchProvider( m_xFrame, UNO_QUERY );
- com::sun::star::util::URL aTargetURL;
+ css::util::URL aTargetURL;
// Register for font list updates to get the current font list from the controller
aTargetURL.Complete = ".uno:FontNameList";
m_xURLTransformer->parseStrict( aTargetURL );
m_xFontListDispatch = xDispatchProvider->queryDispatch( aTargetURL, OUString(), 0 );
}
-void SAL_CALL FontMenuController::updatePopupMenu() throw ( ::com::sun::star::uno::RuntimeException, std::exception )
+void SAL_CALL FontMenuController::updatePopupMenu() throw ( css::uno::RuntimeException, std::exception )
{
svt::PopupMenuControllerBase::updatePopupMenu();
osl::ClearableMutexGuard aLock( m_aMutex );
Reference< XDispatch > xDispatch( m_xFontListDispatch );
- com::sun::star::util::URL aTargetURL;
+ css::util::URL aTargetURL;
aTargetURL.Complete = ".uno:FontNameList";
m_xURLTransformer->parseStrict( aTargetURL );
aLock.clear();
diff --git a/framework/source/uielement/fontsizemenucontroller.cxx b/framework/source/uielement/fontsizemenucontroller.cxx
index ec5cfa8a12f7..4f7d60eb67b7 100644
--- a/framework/source/uielement/fontsizemenucontroller.cxx
+++ b/framework/source/uielement/fontsizemenucontroller.cxx
@@ -58,7 +58,7 @@ DEFINE_XSERVICEINFO_MULTISERVICE_2 ( FontSizeMenuController
DEFINE_INIT_SERVICE ( FontSizeMenuController, {} )
-FontSizeMenuController::FontSizeMenuController( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& xContext ) :
+FontSizeMenuController::FontSizeMenuController( const css::uno::Reference< css::uno::XComponentContext >& xContext ) :
svt::PopupMenuControllerBase( xContext ),
m_pHeightArray( 0 )
{
@@ -70,7 +70,7 @@ FontSizeMenuController::~FontSizeMenuController()
}
// private function
-OUString FontSizeMenuController::retrievePrinterName( com::sun::star::uno::Reference< com::sun::star::frame::XFrame >& rFrame )
+OUString FontSizeMenuController::retrievePrinterName( css::uno::Reference< css::frame::XFrame >& rFrame )
{
OUString aPrinterName;
@@ -253,8 +253,8 @@ void SAL_CALL FontSizeMenuController::disposing( const EventObject& ) throw ( Ru
// XStatusListener
void SAL_CALL FontSizeMenuController::statusChanged( const FeatureStateEvent& Event ) throw ( RuntimeException, std::exception )
{
- com::sun::star::awt::FontDescriptor aFontDescriptor;
- ::com::sun::star::frame::status::FontHeight aFontHeight;
+ css::awt::FontDescriptor aFontDescriptor;
+ css::frame::status::FontHeight aFontHeight;
if ( Event.State >>= aFontDescriptor )
{
@@ -282,21 +282,21 @@ void SAL_CALL FontSizeMenuController::statusChanged( const FeatureStateEvent& Ev
void FontSizeMenuController::impl_setPopupMenu()
{
Reference< XDispatchProvider > xDispatchProvider( m_xFrame, UNO_QUERY );
- com::sun::star::util::URL aTargetURL;
+ css::util::URL aTargetURL;
// Register for font name updates which gives us info about the current font!
aTargetURL.Complete = ".uno:CharFontName";
m_xURLTransformer->parseStrict( aTargetURL );
m_xCurrentFontDispatch = xDispatchProvider->queryDispatch( aTargetURL, OUString(), 0 );
}
-void SAL_CALL FontSizeMenuController::updatePopupMenu() throw ( ::com::sun::star::uno::RuntimeException, std::exception )
+void SAL_CALL FontSizeMenuController::updatePopupMenu() throw ( css::uno::RuntimeException, std::exception )
{
osl::ClearableMutexGuard aLock( m_aMutex );
throwIfDisposed();
Reference< XDispatch > xDispatch( m_xCurrentFontDispatch );
- com::sun::star::util::URL aTargetURL;
+ css::util::URL aTargetURL;
aTargetURL.Complete = ".uno:CharFontName";
m_xURLTransformer->parseStrict( aTargetURL );
aLock.clear();
diff --git a/framework/source/uielement/footermenucontroller.cxx b/framework/source/uielement/footermenucontroller.cxx
index 95c195269a42..6cd00ff41112 100644
--- a/framework/source/uielement/footermenucontroller.cxx
+++ b/framework/source/uielement/footermenucontroller.cxx
@@ -56,7 +56,7 @@ DEFINE_XSERVICEINFO_MULTISERVICE_2 ( FooterMenuController
IMPLEMENTATIONNAME_FOOTERMENUCONTROLLER
)
-FooterMenuController::FooterMenuController( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& xContext ) :
+FooterMenuController::FooterMenuController( const css::uno::Reference< css::uno::XComponentContext >& xContext ) :
HeaderMenuController( xContext,true )
{
}
diff --git a/framework/source/uielement/generictoolbarcontroller.cxx b/framework/source/uielement/generictoolbarcontroller.cxx
index dddb2f16db1d..f9a89d928cc3 100644
--- a/framework/source/uielement/generictoolbarcontroller.cxx
+++ b/framework/source/uielement/generictoolbarcontroller.cxx
@@ -93,9 +93,9 @@ static OUString getMasterCommand( const OUString& rCommand )
struct ExecuteInfo
{
- ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatch > xDispatch;
- ::com::sun::star::util::URL aTargetURL;
- ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue > aArgs;
+ css::uno::Reference< css::frame::XDispatch > xDispatch;
+ css::util::URL aTargetURL;
+ css::uno::Sequence< css::beans::PropertyValue > aArgs;
};
GenericToolbarController::GenericToolbarController( const Reference< XComponentContext >& rxContext,
@@ -157,7 +157,7 @@ throw ( RuntimeException, std::exception )
if ( xDispatch.is() && xURLTransformer.is() )
{
- com::sun::star::util::URL aTargetURL;
+ css::util::URL aTargetURL;
Sequence<PropertyValue> aArgs( 1 );
// Add key modifier to argument list
@@ -341,7 +341,7 @@ void SAL_CALL MenuToolbarController::click() throw (RuntimeException, std::excep
}
Reference< XWindow > SAL_CALL
-MenuToolbarController::createPopupWindow() throw (::com::sun::star::uno::RuntimeException, std::exception)
+MenuToolbarController::createPopupWindow() throw (css::uno::RuntimeException, std::exception)
{
if ( !pMenu )
{
diff --git a/framework/source/uielement/headermenucontroller.cxx b/framework/source/uielement/headermenucontroller.cxx
index 757515577b7e..9e170df97dea 100644
--- a/framework/source/uielement/headermenucontroller.cxx
+++ b/framework/source/uielement/headermenucontroller.cxx
@@ -61,7 +61,7 @@ DEFINE_XSERVICEINFO_MULTISERVICE_2 ( HeaderMenuController
DEFINE_INIT_SERVICE ( HeaderMenuController, {} )
-HeaderMenuController::HeaderMenuController( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& xContext, bool _bFooter ) :
+HeaderMenuController::HeaderMenuController( const css::uno::Reference< css::uno::XComponentContext >& xContext, bool _bFooter ) :
svt::PopupMenuControllerBase( xContext )
,m_bFooter(_bFooter)
{
@@ -72,7 +72,7 @@ HeaderMenuController::~HeaderMenuController()
}
// private function
-void HeaderMenuController::fillPopupMenu( const Reference< ::com::sun::star::frame::XModel >& rModel, Reference< css::awt::XPopupMenu >& rPopupMenu )
+void HeaderMenuController::fillPopupMenu( const Reference< css::frame::XModel >& rModel, Reference< css::awt::XPopupMenu >& rPopupMenu )
{
VCLXPopupMenu* pPopupMenu = static_cast<VCLXPopupMenu *>(VCLXMenu::GetImplementation( rPopupMenu ));
PopupMenu* pVCLPopupMenu = 0;
@@ -175,7 +175,7 @@ void HeaderMenuController::fillPopupMenu( const Reference< ::com::sun::star::fra
}
}
}
- catch ( const com::sun::star::container::NoSuchElementException& )
+ catch ( const css::container::NoSuchElementException& )
{
}
}
@@ -198,7 +198,7 @@ void SAL_CALL HeaderMenuController::disposing( const EventObject& ) throw ( Runt
// XStatusListener
void SAL_CALL HeaderMenuController::statusChanged( const FeatureStateEvent& Event ) throw ( RuntimeException, std::exception )
{
- Reference< com::sun::star::frame::XModel > xModel;
+ Reference< css::frame::XModel > xModel;
if ( Event.State >>= xModel )
{
@@ -210,13 +210,13 @@ void SAL_CALL HeaderMenuController::statusChanged( const FeatureStateEvent& Even
}
// XMenuListener
-void SAL_CALL HeaderMenuController::updatePopupMenu() throw (::com::sun::star::uno::RuntimeException, std::exception)
+void SAL_CALL HeaderMenuController::updatePopupMenu() throw (css::uno::RuntimeException, std::exception)
{
osl::ResettableMutexGuard aLock( m_aMutex );
throwIfDisposed();
- Reference< com::sun::star::frame::XModel > xModel( m_xModel );
+ Reference< css::frame::XModel > xModel( m_xModel );
aLock.clear();
if ( !xModel.is() )
diff --git a/framework/source/uielement/imagebuttontoolbarcontroller.cxx b/framework/source/uielement/imagebuttontoolbarcontroller.cxx
index 5e6c19fd2bd0..b363833010d8 100644
--- a/framework/source/uielement/imagebuttontoolbarcontroller.cxx
+++ b/framework/source/uielement/imagebuttontoolbarcontroller.cxx
@@ -88,7 +88,7 @@ throw ( RuntimeException, std::exception )
ComplexToolbarController::dispose();
}
-void ImageButtonToolbarController::executeControlCommand( const ::com::sun::star::frame::ControlCommand& rControlCommand )
+void ImageButtonToolbarController::executeControlCommand( const css::frame::ControlCommand& rControlCommand )
{
SolarMutexGuard aSolarMutexGuard;
// i73486 to be downward compatible use old and "wrong" also!
diff --git a/framework/source/uielement/langselectionmenucontroller.cxx b/framework/source/uielement/langselectionmenucontroller.cxx
index 6cb7728976f8..034c985b245e 100644
--- a/framework/source/uielement/langselectionmenucontroller.cxx
+++ b/framework/source/uielement/langselectionmenucontroller.cxx
@@ -70,7 +70,7 @@ DEFINE_XSERVICEINFO_MULTISERVICE_2 ( LanguageSelectionMenuController
DEFINE_INIT_SERVICE ( LanguageSelectionMenuController, {} )
-LanguageSelectionMenuController::LanguageSelectionMenuController( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& xContext )
+LanguageSelectionMenuController::LanguageSelectionMenuController( const css::uno::Reference< css::uno::XComponentContext >& xContext )
: svt::PopupMenuControllerBase(xContext)
, m_bShowMenu(true)
, m_nScriptType(SvtScriptType::LATIN | SvtScriptType::ASIAN | SvtScriptType::COMPLEX)
@@ -133,7 +133,7 @@ void LanguageSelectionMenuController::impl_setPopupMenu()
{
Reference< XDispatchProvider > xDispatchProvider( m_xFrame, UNO_QUERY );
- com::sun::star::util::URL aTargetURL;
+ css::util::URL aTargetURL;
// Register for language updates
aTargetURL.Complete = m_aLangStatusCommandURL;
@@ -240,14 +240,14 @@ void LanguageSelectionMenuController::fillPopupMenu( Reference< css::awt::XPopup
pPopupMenu->SetItemCommand( nItemId, aCmd_Dialog );
}
-void SAL_CALL LanguageSelectionMenuController::updatePopupMenu() throw ( ::com::sun::star::uno::RuntimeException, std::exception )
+void SAL_CALL LanguageSelectionMenuController::updatePopupMenu() throw ( css::uno::RuntimeException, std::exception )
{
svt::PopupMenuControllerBase::updatePopupMenu();
// Force status update to get information about the current languages
osl::ClearableMutexGuard aLock( m_aMutex );
Reference< XDispatch > xDispatch( m_xLanguageDispatch );
- com::sun::star::util::URL aTargetURL;
+ css::util::URL aTargetURL;
aTargetURL.Complete = m_aLangStatusCommandURL;
m_xURLTransformer->parseStrict( aTargetURL );
aLock.clear();
diff --git a/framework/source/uielement/langselectionstatusbarcontroller.cxx b/framework/source/uielement/langselectionstatusbarcontroller.cxx
index 016f280b6a01..58b53b2bb983 100644
--- a/framework/source/uielement/langselectionstatusbarcontroller.cxx
+++ b/framework/source/uielement/langselectionstatusbarcontroller.cxx
@@ -206,8 +206,8 @@ throw (css::uno::RuntimeException, std::exception)
// now display the popup menu and execute every command ...
Reference< awt::XWindowPeer > xParent( m_xParentWindow, UNO_QUERY );
- com::sun::star::awt::Rectangle aRect( aPos.X, aPos.Y, 0, 0 );
- sal_Int16 nId = xPopupMenu->execute( xParent, aRect, com::sun::star::awt::PopupMenuDirection::EXECUTE_UP+16 );
+ css::awt::Rectangle aRect( aPos.X, aPos.Y, 0, 0 );
+ sal_Int16 nId = xPopupMenu->execute( xParent, aRect, css::awt::PopupMenuDirection::EXECUTE_UP+16 );
//click "More..."
if ( nId && m_xFrame.is() )
{
diff --git a/framework/source/uielement/macrosmenucontroller.cxx b/framework/source/uielement/macrosmenucontroller.cxx
index 132771b07f54..685e14a89a19 100644
--- a/framework/source/uielement/macrosmenucontroller.cxx
+++ b/framework/source/uielement/macrosmenucontroller.cxx
@@ -57,7 +57,7 @@ DEFINE_XSERVICEINFO_MULTISERVICE_2 ( MacrosMenuController
DEFINE_INIT_SERVICE ( MacrosMenuController, {} )
-MacrosMenuController::MacrosMenuController( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& xContext ) :
+MacrosMenuController::MacrosMenuController( const css::uno::Reference< css::uno::XComponentContext >& xContext ) :
svt::PopupMenuControllerBase( xContext ),
m_xContext( xContext)
{
diff --git a/framework/source/uielement/menubarmanager.cxx b/framework/source/uielement/menubarmanager.cxx
index bf5c8c416ec1..9b14be816952 100644
--- a/framework/source/uielement/menubarmanager.cxx
+++ b/framework/source/uielement/menubarmanager.cxx
@@ -126,7 +126,7 @@ static sal_Int16 getImageTypeFromBools( bool bBig )
{
sal_Int16 n( 0 );
if ( bBig )
- n |= ::com::sun::star::ui::ImageType::SIZE_LARGE;
+ n |= css::ui::ImageType::SIZE_LARGE;
return n;
}
@@ -176,12 +176,12 @@ Any SAL_CALL MenuBarManager::queryInterface( const Type & rType ) throw ( Runtim
{
Any a = ::cppu::queryInterface(
rType ,
- (static_cast< ::com::sun::star::frame::XStatusListener* >(this)),
- (static_cast< ::com::sun::star::frame::XFrameActionListener* >(this)),
- (static_cast< ::com::sun::star::ui::XUIConfigurationListener* >(this)),
+ (static_cast< css::frame::XStatusListener* >(this)),
+ (static_cast< css::frame::XFrameActionListener* >(this)),
+ (static_cast< css::ui::XUIConfigurationListener* >(this)),
(static_cast< XEventListener* >(static_cast<XStatusListener *>(this))),
(static_cast< XComponent* >(this)),
- (static_cast< ::com::sun::star::awt::XSystemDependentMenuPeer* >(this)));
+ (static_cast< css::awt::XSystemDependentMenuPeer* >(this)));
if ( a.hasValue() )
return a;
@@ -204,7 +204,7 @@ Any SAL_CALL MenuBarManager::getMenuHandle( const Sequence< sal_Int8 >& /*Proces
SolarMutexGuard aSolarGuard;
if ( m_bDisposed )
- throw com::sun::star::lang::DisposedException();
+ throw css::lang::DisposedException();
Any a;
@@ -336,7 +336,7 @@ void SAL_CALL MenuBarManager::removeEventListener( const Reference< XEventListen
m_aListenerContainer.removeInterface( cppu::UnoType<XEventListener>::get(), xListener );
}
-void SAL_CALL MenuBarManager::elementInserted( const ::com::sun::star::ui::ConfigurationEvent& Event )
+void SAL_CALL MenuBarManager::elementInserted( const css::ui::ConfigurationEvent& Event )
throw (RuntimeException, std::exception)
{
SolarMutexGuard g;
@@ -352,13 +352,13 @@ throw (RuntimeException, std::exception)
RequestImages();
}
-void SAL_CALL MenuBarManager::elementRemoved( const ::com::sun::star::ui::ConfigurationEvent& Event )
+void SAL_CALL MenuBarManager::elementRemoved( const css::ui::ConfigurationEvent& Event )
throw (RuntimeException, std::exception)
{
elementInserted(Event);
}
-void SAL_CALL MenuBarManager::elementReplaced( const ::com::sun::star::ui::ConfigurationEvent& Event )
+void SAL_CALL MenuBarManager::elementReplaced( const css::ui::ConfigurationEvent& Event )
throw (RuntimeException, std::exception)
{
elementInserted(Event);
@@ -371,7 +371,7 @@ throw ( RuntimeException, std::exception )
SolarMutexGuard g;
if ( m_bDisposed )
- throw com::sun::star::lang::DisposedException();
+ throw css::lang::DisposedException();
if ( Action.Action == FrameAction_CONTEXT_CHANGED )
{
@@ -561,7 +561,7 @@ void MenuBarManager::RemoveListener()
m_pVCLMenu->SetPopupMenu( pItemHandler->nItemId, 0 );
}
- Reference< com::sun::star::lang::XEventListener > xEventListener( pItemHandler->xPopupMenuController, UNO_QUERY );
+ Reference< css::lang::XEventListener > xEventListener( pItemHandler->xPopupMenuController, UNO_QUERY );
if ( xEventListener.is() )
{
EventObject aEventObject;
@@ -646,7 +646,7 @@ void SAL_CALL MenuBarManager::disposing( const EventObject& Source ) throw ( Run
pMenuItemDisposing->xMenuItemDispatch.clear();
if ( pMenuItemDisposing->xPopupMenu.is() )
{
- Reference< com::sun::star::lang::XEventListener > xEventListener( pMenuItemDisposing->xPopupMenuController, UNO_QUERY );
+ Reference< css::lang::XEventListener > xEventListener( pMenuItemDisposing->xPopupMenuController, UNO_QUERY );
if ( xEventListener.is() )
xEventListener->disposing( Source );
@@ -714,28 +714,28 @@ static void lcl_CheckForChildren(Menu* pMenu, sal_uInt16 nItemId)
namespace {
class QuietInteractionContext:
- public cppu::WeakImplHelper< com::sun::star::uno::XCurrentContext >,
+ public cppu::WeakImplHelper< css::uno::XCurrentContext >,
private boost::noncopyable
{
public:
QuietInteractionContext(
- com::sun::star::uno::Reference< com::sun::star::uno::XCurrentContext >
+ css::uno::Reference< css::uno::XCurrentContext >
const & context):
context_(context) {}
private:
virtual ~QuietInteractionContext() {}
- virtual com::sun::star::uno::Any SAL_CALL getValueByName(
+ virtual css::uno::Any SAL_CALL getValueByName(
OUString const & Name)
- throw (com::sun::star::uno::RuntimeException, std::exception) override
+ throw (css::uno::RuntimeException, std::exception) override
{
return Name != JAVA_INTERACTION_HANDLER_NAME && context_.is()
? context_->getValueByName(Name)
- : com::sun::star::uno::Any();
+ : css::uno::Any();
}
- com::sun::star::uno::Reference< com::sun::star::uno::XCurrentContext >
+ css::uno::Reference< css::uno::XCurrentContext >
context_;
};
@@ -745,9 +745,9 @@ IMPL_LINK_TYPED( MenuBarManager, Activate, Menu *, pMenu, bool )
{
if ( pMenu == m_pVCLMenu )
{
- com::sun::star::uno::ContextLayer layer(
+ css::uno::ContextLayer layer(
new QuietInteractionContext(
- com::sun::star::uno::getCurrentContext()));
+ css::uno::getCurrentContext()));
// set/unset hiding disabled menu entries
bool bDontHide = SvtMenuOptions().IsEntryHidingEnabled();
@@ -1223,7 +1223,7 @@ void MenuBarManager::FillMenuManager( Menu* pMenu, const Reference< XFrame >& rF
VCLXPopupMenu* pVCLXPopupMenu = new VCLXPopupMenu;
PopupMenu* pNewPopupMenu = static_cast<PopupMenu *>(pVCLXPopupMenu->GetMenu());
pMenu->SetPopupMenu( nItemId, pNewPopupMenu );
- pItemHandler->xPopupMenu = Reference< com::sun::star::awt::XPopupMenu >( static_cast<OWeakObject *>(pVCLXPopupMenu), UNO_QUERY );
+ pItemHandler->xPopupMenu = Reference< css::awt::XPopupMenu >( static_cast<OWeakObject *>(pVCLXPopupMenu), UNO_QUERY );
pItemHandler->aMenuItemURL = aItemCommand;
m_aMenuItemHandlerVector.push_back( pItemHandler );
delete pPopup;
@@ -1353,7 +1353,7 @@ void MenuBarManager::FillMenuManager( Menu* pMenu, const Reference< XFrame >& rF
VCLXPopupMenu* pVCLXPopupMenu = new VCLXPopupMenu;
PopupMenu* pPopupMenu = static_cast<PopupMenu *>(pVCLXPopupMenu->GetMenu());
pMenu->SetPopupMenu( pItemHandler->nItemId, pPopupMenu );
- pItemHandler->xPopupMenu = Reference< com::sun::star::awt::XPopupMenu >( static_cast<OWeakObject *>(pVCLXPopupMenu), UNO_QUERY );
+ pItemHandler->xPopupMenu = Reference< css::awt::XPopupMenu >( static_cast<OWeakObject *>(pVCLXPopupMenu), UNO_QUERY );
if ( bAccessibilityEnabled && CreatePopupMenuController( pItemHandler ) )
{
@@ -1399,7 +1399,7 @@ void MenuBarManager::impl_RetrieveShortcutsFromConfiguration(
{
try
{
- com::sun::star::awt::KeyEvent aKeyEvent;
+ css::awt::KeyEvent aKeyEvent;
Sequence< Any > aSeqKeyCode = rAccelCfg->getPreferredKeyEventsForCommandList( rCommands );
for ( sal_Int32 i = 0; i < aSeqKeyCode.getLength(); i++ )
{
@@ -1648,7 +1648,7 @@ void MenuBarManager::FillMenu(
aProp[i].Value >>= bEnabled;
}
- if ( nType == ::com::sun::star::ui::ItemType::DEFAULT )
+ if ( nType == css::ui::ItemType::DEFAULT )
{
pMenu->InsertItem( nId, aLabel );
pMenu->SetItemCommand( nId, aCommandURL );
@@ -1656,11 +1656,11 @@ void MenuBarManager::FillMenu(
if ( nStyle )
{
MenuItemBits nBits = pMenu->GetItemBits( nId );
- if ( nStyle & ::com::sun::star::ui::ItemStyle::ICON )
+ if ( nStyle & css::ui::ItemStyle::ICON )
nBits |= MenuItemBits::ICON;
- if ( nStyle & ::com::sun::star::ui::ItemStyle::TEXT )
+ if ( nStyle & css::ui::ItemStyle::TEXT )
nBits |= MenuItemBits::TEXT;
- if ( nStyle & ::com::sun::star::ui::ItemStyle::RADIO_CHECK )
+ if ( nStyle & css::ui::ItemStyle::RADIO_CHECK )
nBits |= MenuItemBits::RADIOCHECK;
pMenu->SetItemBits( nId, nBits );
}
@@ -1957,7 +1957,7 @@ void MenuBarManager::Init(const Reference< XFrame >& rFrame,Menu* pAddonMenu,boo
VCLXPopupMenu* pVCLXPopupMenu = new VCLXPopupMenu;
PopupMenu* pCtlPopupMenu = static_cast<PopupMenu *>(pVCLXPopupMenu->GetMenu());
pAddonMenu->SetPopupMenu( pMenuItemHandler->nItemId, pCtlPopupMenu );
- pMenuItemHandler->xPopupMenu = Reference< com::sun::star::awt::XPopupMenu >( static_cast<OWeakObject *>(pVCLXPopupMenu), UNO_QUERY );
+ pMenuItemHandler->xPopupMenu = Reference< css::awt::XPopupMenu >( static_cast<OWeakObject *>(pVCLXPopupMenu), UNO_QUERY );
}
}
diff --git a/framework/source/uielement/menubarmerger.cxx b/framework/source/uielement/menubarmerger.cxx
index e4260952a734..bc9acf4bec67 100644
--- a/framework/source/uielement/menubarmerger.cxx
+++ b/framework/source/uielement/menubarmerger.cxx
@@ -45,13 +45,13 @@ namespace framework
Describes a context string list where all contexts
are delimited by a colon. For more information about
the module identifier used as context strings see the
- IDL description of com::sun::star::frame::XModuleManager
+ IDL description of css::frame::XModuleManager
@param
rModuleIdentifier
A string describing a module identifier. See IDL
- description of com::sun::star::frame::XModuleManager.
+ description of css::frame::XModuleManager.
*/
bool MenuBarMerger::IsCorrectContext( const OUString& rContext, const OUString& rModuleIdentifier )
diff --git a/framework/source/uielement/menubarwrapper.cxx b/framework/source/uielement/menubarwrapper.cxx
index 05a8be6992fe..4e149cf97127 100644
--- a/framework/source/uielement/menubarwrapper.cxx
+++ b/framework/source/uielement/menubarwrapper.cxx
@@ -50,35 +50,35 @@ namespace framework
// XInterface, XTypeProvider
DEFINE_XINTERFACE_11 ( MenuBarWrapper ,
UIConfigElementWrapperBase ,
- DIRECT_INTERFACE( ::com::sun::star::lang::XTypeProvider ),
- DIRECT_INTERFACE( ::com::sun::star::ui::XUIElement ),
- DIRECT_INTERFACE( ::com::sun::star::ui::XUIElementSettings ),
- DIRECT_INTERFACE( ::com::sun::star::beans::XMultiPropertySet ),
- DIRECT_INTERFACE( ::com::sun::star::beans::XFastPropertySet ),
- DIRECT_INTERFACE( ::com::sun::star::beans::XPropertySet ),
- DIRECT_INTERFACE( ::com::sun::star::lang::XInitialization ),
- DIRECT_INTERFACE( ::com::sun::star::lang::XComponent ),
- DIRECT_INTERFACE( ::com::sun::star::util::XUpdatable ),
- DIRECT_INTERFACE( ::com::sun::star::ui::XUIConfigurationListener ),
- DERIVED_INTERFACE( ::com::sun::star::container::XNameAccess, ::com::sun::star::container::XElementAccess )
+ DIRECT_INTERFACE( css::lang::XTypeProvider ),
+ DIRECT_INTERFACE( css::ui::XUIElement ),
+ DIRECT_INTERFACE( css::ui::XUIElementSettings ),
+ DIRECT_INTERFACE( css::beans::XMultiPropertySet ),
+ DIRECT_INTERFACE( css::beans::XFastPropertySet ),
+ DIRECT_INTERFACE( css::beans::XPropertySet ),
+ DIRECT_INTERFACE( css::lang::XInitialization ),
+ DIRECT_INTERFACE( css::lang::XComponent ),
+ DIRECT_INTERFACE( css::util::XUpdatable ),
+ DIRECT_INTERFACE( css::ui::XUIConfigurationListener ),
+ DERIVED_INTERFACE( css::container::XNameAccess, css::container::XElementAccess )
)
DEFINE_XTYPEPROVIDER_11 ( MenuBarWrapper ,
- ::com::sun::star::lang::XTypeProvider ,
- ::com::sun::star::ui::XUIElement ,
- ::com::sun::star::ui::XUIElementSettings ,
- ::com::sun::star::beans::XMultiPropertySet ,
- ::com::sun::star::beans::XFastPropertySet ,
- ::com::sun::star::beans::XPropertySet ,
- ::com::sun::star::lang::XInitialization ,
- ::com::sun::star::lang::XComponent ,
- ::com::sun::star::util::XUpdatable ,
- ::com::sun::star::ui::XUIConfigurationListener ,
- ::com::sun::star::container::XNameAccess
+ css::lang::XTypeProvider ,
+ css::ui::XUIElement ,
+ css::ui::XUIElementSettings ,
+ css::beans::XMultiPropertySet ,
+ css::beans::XFastPropertySet ,
+ css::beans::XPropertySet ,
+ css::lang::XInitialization ,
+ css::lang::XComponent ,
+ css::util::XUpdatable ,
+ css::ui::XUIConfigurationListener ,
+ css::container::XNameAccess
)
MenuBarWrapper::MenuBarWrapper(
- const com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext >& rxContext
+ const css::uno::Reference< css::uno::XComponentContext >& rxContext
)
: UIConfigElementWrapperBase( UIElementType::MENUBAR ),
m_bRefreshPopupControllerCache( true ),
@@ -90,11 +90,11 @@ MenuBarWrapper::~MenuBarWrapper()
{
}
-void SAL_CALL MenuBarWrapper::dispose() throw (::com::sun::star::uno::RuntimeException, std::exception)
+void SAL_CALL MenuBarWrapper::dispose() throw (css::uno::RuntimeException, std::exception)
{
Reference< XComponent > xThis( static_cast< OWeakObject* >(this), UNO_QUERY );
- com::sun::star::lang::EventObject aEvent( xThis );
+ css::lang::EventObject aEvent( xThis );
m_aListenerContainer.disposeAndClear( aEvent );
SolarMutexGuard g;
@@ -250,13 +250,13 @@ void MenuBarWrapper::fillPopupControllerCache()
// XElementAccess
Type SAL_CALL MenuBarWrapper::getElementType()
-throw (::com::sun::star::uno::RuntimeException, std::exception)
+throw (css::uno::RuntimeException, std::exception)
{
return cppu::UnoType<XDispatchProvider>::get();
}
sal_Bool SAL_CALL MenuBarWrapper::hasElements()
-throw (::com::sun::star::uno::RuntimeException, std::exception)
+throw (css::uno::RuntimeException, std::exception)
{
SolarMutexGuard g;
@@ -293,7 +293,7 @@ throw ( container::NoSuchElementException,
}
Sequence< OUString > SAL_CALL MenuBarWrapper::getElementNames()
-throw (::com::sun::star::uno::RuntimeException, std::exception)
+throw (css::uno::RuntimeException, std::exception)
{
SolarMutexGuard g;
@@ -317,7 +317,7 @@ throw (::com::sun::star::uno::RuntimeException, std::exception)
sal_Bool SAL_CALL MenuBarWrapper::hasByName(
const OUString& aName )
-throw (::com::sun::star::uno::RuntimeException, std::exception)
+throw (css::uno::RuntimeException, std::exception)
{
SolarMutexGuard g;
diff --git a/framework/source/uielement/newmenucontroller.cxx b/framework/source/uielement/newmenucontroller.cxx
index 07e977e3e2b9..0788fd468d57 100644
--- a/framework/source/uielement/newmenucontroller.cxx
+++ b/framework/source/uielement/newmenucontroller.cxx
@@ -281,7 +281,7 @@ void NewMenuController::retrieveShortcutsFromConfiguration(
{
try
{
- com::sun::star::awt::KeyEvent aKeyEvent;
+ css::awt::KeyEvent aKeyEvent;
Sequence< Any > aSeqKeyCode = rAccelCfg->getPreferredKeyEventsForCommandList( rCommands );
for ( sal_Int32 i = 0; i < aSeqKeyCode.getLength(); i++ )
{
@@ -295,7 +295,7 @@ void NewMenuController::retrieveShortcutsFromConfiguration(
}
}
-NewMenuController::NewMenuController( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& xContext ) :
+NewMenuController::NewMenuController( const css::uno::Reference< css::uno::XComponentContext >& xContext ) :
svt::PopupMenuControllerBase( xContext ),
m_bShowImages( true ),
m_bNewMenu( false ),
diff --git a/framework/source/uielement/objectmenucontroller.cxx b/framework/source/uielement/objectmenucontroller.cxx
index d27c2281e499..a73d61183891 100644
--- a/framework/source/uielement/objectmenucontroller.cxx
+++ b/framework/source/uielement/objectmenucontroller.cxx
@@ -92,7 +92,7 @@ private:
css::uno::Reference< css::frame::XDispatch > m_xObjectUpdateDispatch;
};
-ObjectMenuController::ObjectMenuController( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& xContext ) :
+ObjectMenuController::ObjectMenuController( const css::uno::Reference< css::uno::XComponentContext >& xContext ) :
svt::PopupMenuControllerBase( xContext )
{
}
@@ -102,7 +102,7 @@ ObjectMenuController::~ObjectMenuController()
}
// private function
-void ObjectMenuController::fillPopupMenu( const Sequence< com::sun::star::embed::VerbDescriptor >& rVerbCommandSeq, Reference< css::awt::XPopupMenu >& rPopupMenu )
+void ObjectMenuController::fillPopupMenu( const Sequence< css::embed::VerbDescriptor >& rVerbCommandSeq, Reference< css::awt::XPopupMenu >& rPopupMenu )
{
const css::embed::VerbDescriptor* pVerbCommandArray = rVerbCommandSeq.getConstArray();
VCLXPopupMenu* pPopupMenu = static_cast<VCLXPopupMenu *>(VCLXMenu::GetImplementation( rPopupMenu ));
@@ -119,8 +119,8 @@ void ObjectMenuController::fillPopupMenu( const Sequence< com::sun::star::embed:
const OUString aVerbCommand( ".uno:ObjectMenue?VerbID:short=" );
for ( sal_Int32 i = 0; i < rVerbCommandSeq.getLength(); i++ )
{
- const com::sun::star::embed::VerbDescriptor& rVerb = pVerbCommandArray[i];
- if ( rVerb.VerbAttributes & com::sun::star::embed::VerbAttributes::MS_VERBATTR_ONCONTAINERMENU )
+ const css::embed::VerbDescriptor& rVerb = pVerbCommandArray[i];
+ if ( rVerb.VerbAttributes & css::embed::VerbAttributes::MS_VERBATTR_ONCONTAINERMENU )
{
m_xPopupMenu->insertItem( i+1, rVerb.VerbName, 0, i );
// use VCL popup menu pointer to set vital information that are not part of the awt implementation
@@ -151,7 +151,7 @@ void SAL_CALL ObjectMenuController::disposing( const EventObject& ) throw ( Runt
// XStatusListener
void SAL_CALL ObjectMenuController::statusChanged( const FeatureStateEvent& Event ) throw ( RuntimeException, std::exception )
{
- Sequence < com::sun::star::embed::VerbDescriptor > aVerbCommandSeq;
+ Sequence < css::embed::VerbDescriptor > aVerbCommandSeq;
if ( Event.State >>= aVerbCommandSeq )
{
osl::MutexGuard aLock( m_aMutex );
diff --git a/framework/source/uielement/progressbarwrapper.cxx b/framework/source/uielement/progressbarwrapper.cxx
index d753b9e72ec4..20ccae7d434d 100644
--- a/framework/source/uielement/progressbarwrapper.cxx
+++ b/framework/source/uielement/progressbarwrapper.cxx
@@ -34,7 +34,7 @@ using namespace ::com::sun::star;
namespace framework{
ProgressBarWrapper::ProgressBarWrapper() :
-UIElementWrapperBase( ::com::sun::star::ui::UIElementType::PROGRESSBAR )
+UIElementWrapperBase( css::ui::UIElementType::PROGRESSBAR )
, m_bOwnsInstance( false )
, m_nRange( 100 )
, m_nValue( 0 )
@@ -82,7 +82,7 @@ uno::Reference< awt::XWindow > ProgressBarWrapper::getStatusBar() const
return m_xStatusBar;
}
-// wrapped methods of ::com::sun::star::task::XStatusIndicator
+// wrapped methods of css::task::XStatusIndicator
void ProgressBarWrapper::start( const OUString& Text, ::sal_Int32 Range )
throw (uno::RuntimeException, std::exception)
{
diff --git a/framework/source/uielement/recentfilesmenucontroller.cxx b/framework/source/uielement/recentfilesmenucontroller.cxx
index 7fdf8e6846d7..7bdd262de1a4 100644
--- a/framework/source/uielement/recentfilesmenucontroller.cxx
+++ b/framework/source/uielement/recentfilesmenucontroller.cxx
@@ -98,7 +98,7 @@ public:
virtual void SAL_CALL dispatch( const util::URL& aURL, const uno::Sequence< beans::PropertyValue >& seqProperties ) throw( uno::RuntimeException, std::exception ) override;
// XEventListener
- virtual void SAL_CALL disposing( const com::sun::star::lang::EventObject& Source ) throw ( uno::RuntimeException, std::exception ) override;
+ virtual void SAL_CALL disposing( const css::lang::EventObject& Source ) throw ( uno::RuntimeException, std::exception ) override;
DECL_STATIC_LINK_TYPED( RecentFilesMenuController, ExecuteHdl_Impl, void*, void );
@@ -110,12 +110,12 @@ private:
OUString aTitle;
};
- void fillPopupMenu( com::sun::star::uno::Reference< com::sun::star::awt::XPopupMenu >& rPopupMenu );
+ void fillPopupMenu( css::uno::Reference< css::awt::XPopupMenu >& rPopupMenu );
void executeEntry( sal_Int32 nIndex );
std::vector< RecentFile > m_aRecentFilesItems;
- bool m_bDisabled : 1;
- bool m_bShowRemote;
+ bool m_bDisabled : 1;
+ bool m_bShowRemote;
};
RecentFilesMenuController::RecentFilesMenuController( const uno::Reference< uno::XComponentContext >& xContext,
@@ -361,7 +361,7 @@ void SAL_CALL RecentFilesMenuController::itemSelected( const css::awt::MenuEvent
SvtHistoryOptions().Clear( ePICKLIST );
dispatchCommand(
"vnd.org.libreoffice.recentdocs:ClearRecentFileList",
- ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >() );
+ css::uno::Sequence< css::beans::PropertyValue >() );
}
else if ( aCommand == CMD_OPEN_REMOTE )
{
diff --git a/framework/source/uielement/saveasmenucontroller.cxx b/framework/source/uielement/saveasmenucontroller.cxx
index 85d47d1e3273..63bbbfc64cca 100644
--- a/framework/source/uielement/saveasmenucontroller.cxx
+++ b/framework/source/uielement/saveasmenucontroller.cxx
@@ -79,12 +79,12 @@ public:
virtual void SAL_CALL itemActivated( const awt::MenuEvent& rEvent ) throw (uno::RuntimeException, std::exception) override;
// XEventListener
- virtual void SAL_CALL disposing( const com::sun::star::lang::EventObject& Source ) throw ( uno::RuntimeException, std::exception ) override;
+ virtual void SAL_CALL disposing( const css::lang::EventObject& Source ) throw ( uno::RuntimeException, std::exception ) override;
private:
virtual void impl_setPopupMenu() override;
- void fillPopupMenu( com::sun::star::uno::Reference< com::sun::star::awt::XPopupMenu >& rPopupMenu );
+ void fillPopupMenu( css::uno::Reference< css::awt::XPopupMenu >& rPopupMenu );
bool m_bDisabled : 1;
};
diff --git a/framework/source/uielement/spinfieldtoolbarcontroller.cxx b/framework/source/uielement/spinfieldtoolbarcontroller.cxx
index 80f0e1d24911..b44899375fe7 100644
--- a/framework/source/uielement/spinfieldtoolbarcontroller.cxx
+++ b/framework/source/uielement/spinfieldtoolbarcontroller.cxx
@@ -323,7 +323,7 @@ bool SpinfieldToolbarController::PreNotify( NotifyEvent& rNEvt )
return false;
}
-void SpinfieldToolbarController::executeControlCommand( const ::com::sun::star::frame::ControlCommand& rControlCommand )
+void SpinfieldToolbarController::executeControlCommand( const css::frame::ControlCommand& rControlCommand )
{
OUString aValue;
OUString aMax;
diff --git a/framework/source/uielement/statusbaritem.cxx b/framework/source/uielement/statusbaritem.cxx
index b2af4348ad00..6b9fde6504e0 100644
--- a/framework/source/uielement/statusbaritem.cxx
+++ b/framework/source/uielement/statusbaritem.cxx
@@ -130,15 +130,15 @@ throw (RuntimeException, std::exception)
return ::sal_Int32(0);
}
-::com::sun::star::awt::Rectangle SAL_CALL StatusbarItem::getItemRect()
+css::awt::Rectangle SAL_CALL StatusbarItem::getItemRect()
throw (RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
- ::com::sun::star::awt::Rectangle aAWTRect;
+ css::awt::Rectangle aAWTRect;
if ( m_pStatusBar )
{
Rectangle aRect = m_pStatusBar->GetItemRect( m_nId );
- return ::com::sun::star::awt::Rectangle( aRect.Left(),
+ return css::awt::Rectangle( aRect.Left(),
aRect.Top(),
aRect.GetWidth(),
aRect.GetHeight() );
diff --git a/framework/source/uielement/statusbarmanager.cxx b/framework/source/uielement/statusbarmanager.cxx
index cd44aa1e34ca..8a0448f64c24 100644
--- a/framework/source/uielement/statusbarmanager.cxx
+++ b/framework/source/uielement/statusbarmanager.cxx
@@ -104,23 +104,23 @@ static sal_uInt16 impl_convertItemStyleToItemBits( sal_Int16 nStyle )
{
sal_uInt16 nItemBits( 0 );
- if (( nStyle & ::com::sun::star::ui::ItemStyle::ALIGN_RIGHT ) == ::com::sun::star::ui::ItemStyle::ALIGN_RIGHT )
+ if (( nStyle & css::ui::ItemStyle::ALIGN_RIGHT ) == css::ui::ItemStyle::ALIGN_RIGHT )
nItemBits |= SIB_RIGHT;
- else if ( nStyle & ::com::sun::star::ui::ItemStyle::ALIGN_LEFT )
+ else if ( nStyle & css::ui::ItemStyle::ALIGN_LEFT )
nItemBits |= SIB_LEFT;
else
nItemBits |= SIB_CENTER;
- if (( nStyle & ::com::sun::star::ui::ItemStyle::DRAW_FLAT ) == ::com::sun::star::ui::ItemStyle::DRAW_FLAT )
+ if (( nStyle & css::ui::ItemStyle::DRAW_FLAT ) == css::ui::ItemStyle::DRAW_FLAT )
nItemBits |= SIB_FLAT;
- else if ( nStyle & ::com::sun::star::ui::ItemStyle::DRAW_OUT3D )
+ else if ( nStyle & css::ui::ItemStyle::DRAW_OUT3D )
nItemBits |= SIB_OUT;
else
nItemBits |= SIB_IN;
- if (( nStyle & ::com::sun::star::ui::ItemStyle::AUTO_SIZE ) == ::com::sun::star::ui::ItemStyle::AUTO_SIZE )
+ if (( nStyle & css::ui::ItemStyle::AUTO_SIZE ) == css::ui::ItemStyle::AUTO_SIZE )
nItemBits |= SIB_AUTOSIZE;
- if ( nStyle & ::com::sun::star::ui::ItemStyle::OWNER_DRAW )
+ if ( nStyle & css::ui::ItemStyle::OWNER_DRAW )
nItemBits |= SIB_USERDRAW;
return nItemBits;
@@ -437,12 +437,12 @@ void StatusBarManager::FillStatusBar( const uno::Reference< container::XIndexAcc
for ( sal_Int32 n = 0; n < rItemContainer->getCount(); n++ )
{
uno::Sequence< beans::PropertyValue > aProp;
- OUString aCommandURL;
- OUString aHelpURL;
+ OUString aCommandURL;
+ OUString aHelpURL;
sal_Int16 nOffset( 0 );
sal_Int16 nStyle( 0 );
sal_Int16 nWidth( 0 );
- sal_uInt16 nType( ::com::sun::star::ui::ItemType::DEFAULT );
+ sal_uInt16 nType( css::ui::ItemType::DEFAULT );
try
{
@@ -476,7 +476,7 @@ void StatusBarManager::FillStatusBar( const uno::Reference< container::XIndexAcc
}
}
- if (( nType == ::com::sun::star::ui::ItemType::DEFAULT ) && !aCommandURL.isEmpty() )
+ if (( nType == css::ui::ItemType::DEFAULT ) && !aCommandURL.isEmpty() )
{
OUString aString( RetrieveLabelFromCommand( aCommandURL ));
sal_uInt16 nItemBits( impl_convertItemStyleToItemBits( nStyle ));
@@ -488,7 +488,7 @@ void StatusBarManager::FillStatusBar( const uno::Reference< container::XIndexAcc
}
}
}
- catch ( const ::com::sun::star::lang::IndexOutOfBoundsException& )
+ catch ( const css::lang::IndexOutOfBoundsException& )
{
break;
}
@@ -620,7 +620,7 @@ void StatusBarManager::MouseMove( const MouseEvent& rMEvt )
MouseButton(rMEvt,&frame::XStatusbarController::mouseMove);
}
-void StatusBarManager::MouseButton( const MouseEvent& rMEvt ,sal_Bool ( SAL_CALL frame::XStatusbarController::*_pMethod )(const ::com::sun::star::awt::MouseEvent&))
+void StatusBarManager::MouseButton( const MouseEvent& rMEvt ,sal_Bool ( SAL_CALL frame::XStatusbarController::*_pMethod )(const css::awt::MouseEvent&))
{
SolarMutexGuard g;
@@ -633,7 +633,7 @@ void StatusBarManager::MouseButton( const MouseEvent& rMEvt ,sal_Bool ( SAL_CALL
uno::Reference< frame::XStatusbarController > xController( it->second );
if ( xController.is() )
{
- ::com::sun::star::awt::MouseEvent aMouseEvent;
+ css::awt::MouseEvent aMouseEvent;
aMouseEvent.Buttons = rMEvt.GetButtons();
aMouseEvent.X = rMEvt.GetPosPixel().X();
aMouseEvent.Y = rMEvt.GetPosPixel().Y();
diff --git a/framework/source/uielement/statusbarwrapper.cxx b/framework/source/uielement/statusbarwrapper.cxx
index a4da08f1c792..6a4f6dae1bc2 100644
--- a/framework/source/uielement/statusbarwrapper.cxx
+++ b/framework/source/uielement/statusbarwrapper.cxx
@@ -51,7 +51,7 @@ namespace framework
{
StatusBarWrapper::StatusBarWrapper(
- const com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext >& rxContext
+ const css::uno::Reference< css::uno::XComponentContext >& rxContext
)
: UIConfigElementWrapperBase( UIElementType::STATUSBAR ),
m_xContext( rxContext )
@@ -62,11 +62,11 @@ StatusBarWrapper::~StatusBarWrapper()
{
}
-void SAL_CALL StatusBarWrapper::dispose() throw (::com::sun::star::uno::RuntimeException, std::exception)
+void SAL_CALL StatusBarWrapper::dispose() throw (css::uno::RuntimeException, std::exception)
{
Reference< XComponent > xThis( static_cast< OWeakObject* >(this), UNO_QUERY );
- com::sun::star::lang::EventObject aEvent( xThis );
+ css::lang::EventObject aEvent( xThis );
m_aListenerContainer.disposeAndClear( aEvent );
SolarMutexGuard g;
diff --git a/framework/source/uielement/statusindicatorinterfacewrapper.cxx b/framework/source/uielement/statusindicatorinterfacewrapper.cxx
index 9108ceb13fc4..1ff930941b19 100644
--- a/framework/source/uielement/statusindicatorinterfacewrapper.cxx
+++ b/framework/source/uielement/statusindicatorinterfacewrapper.cxx
@@ -32,7 +32,7 @@ namespace framework
{
StatusIndicatorInterfaceWrapper::StatusIndicatorInterfaceWrapper(
- const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XComponent >& rStatusIndicatorImpl ) :
+ const css::uno::Reference< css::lang::XComponent >& rStatusIndicatorImpl ) :
m_xStatusIndicatorImpl( rStatusIndicatorImpl )
{
}
@@ -44,7 +44,7 @@ StatusIndicatorInterfaceWrapper::~StatusIndicatorInterfaceWrapper()
void SAL_CALL StatusIndicatorInterfaceWrapper::start(
const OUString& sText,
sal_Int32 nRange )
-throw( ::com::sun::star::uno::RuntimeException, std::exception )
+throw( css::uno::RuntimeException, std::exception )
{
Reference< XComponent > xComp( m_xStatusIndicatorImpl );
if ( xComp.is() )
@@ -56,7 +56,7 @@ throw( ::com::sun::star::uno::RuntimeException, std::exception )
}
void SAL_CALL StatusIndicatorInterfaceWrapper::end()
-throw( ::com::sun::star::uno::RuntimeException, std::exception )
+throw( css::uno::RuntimeException, std::exception )
{
Reference< XComponent > xComp( m_xStatusIndicatorImpl );
if ( xComp.is() )
@@ -68,7 +68,7 @@ throw( ::com::sun::star::uno::RuntimeException, std::exception )
}
void SAL_CALL StatusIndicatorInterfaceWrapper::reset()
-throw( ::com::sun::star::uno::RuntimeException, std::exception )
+throw( css::uno::RuntimeException, std::exception )
{
Reference< XComponent > xComp( m_xStatusIndicatorImpl );
if ( xComp.is() )
@@ -81,7 +81,7 @@ throw( ::com::sun::star::uno::RuntimeException, std::exception )
void SAL_CALL StatusIndicatorInterfaceWrapper::setText(
const OUString& sText )
-throw( ::com::sun::star::uno::RuntimeException, std::exception )
+throw( css::uno::RuntimeException, std::exception )
{
Reference< XComponent > xComp( m_xStatusIndicatorImpl );
if ( xComp.is() )
@@ -94,7 +94,7 @@ throw( ::com::sun::star::uno::RuntimeException, std::exception )
void SAL_CALL StatusIndicatorInterfaceWrapper::setValue(
sal_Int32 nValue )
-throw( ::com::sun::star::uno::RuntimeException, std::exception )
+throw( css::uno::RuntimeException, std::exception )
{
Reference< XComponent > xComp( m_xStatusIndicatorImpl );
if ( xComp.is() )
diff --git a/framework/source/uielement/togglebuttontoolbarcontroller.cxx b/framework/source/uielement/togglebuttontoolbarcontroller.cxx
index 0ea0cbf90375..c4eef604393a 100644
--- a/framework/source/uielement/togglebuttontoolbarcontroller.cxx
+++ b/framework/source/uielement/togglebuttontoolbarcontroller.cxx
@@ -93,7 +93,7 @@ Sequence<PropertyValue> ToggleButtonToolbarController::getExecuteArgs(sal_Int16
}
uno::Reference< awt::XWindow > SAL_CALL ToggleButtonToolbarController::createPopupWindow()
-throw (::com::sun::star::uno::RuntimeException, std::exception)
+throw (css::uno::RuntimeException, std::exception)
{
uno::Reference< awt::XWindow > xWindow;
@@ -123,7 +123,7 @@ throw (::com::sun::star::uno::RuntimeException, std::exception)
return xWindow;
}
-void ToggleButtonToolbarController::executeControlCommand( const ::com::sun::star::frame::ControlCommand& rControlCommand )
+void ToggleButtonToolbarController::executeControlCommand( const css::frame::ControlCommand& rControlCommand )
{
SolarMutexGuard aSolarMutexGuard;
diff --git a/framework/source/uielement/toolbarmanager.cxx b/framework/source/uielement/toolbarmanager.cxx
index 9abac0fbaa84..524fa2ebdb9b 100644
--- a/framework/source/uielement/toolbarmanager.cxx
+++ b/framework/source/uielement/toolbarmanager.cxx
@@ -113,7 +113,7 @@ class ImageOrientationListener : public svt::FrameStatusListener
const Reference< XFrame >& rFrame );
virtual ~ImageOrientationListener();
- 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:
Reference< XStatusListener > m_xReceiver;
@@ -143,14 +143,14 @@ static sal_Int16 getImageTypeFromBools( bool bBig )
{
sal_Int16 n( 0 );
if ( bBig )
- n |= ::com::sun::star::ui::ImageType::SIZE_LARGE;
+ n |= css::ui::ImageType::SIZE_LARGE;
return n;
}
-static ::com::sun::star::uno::Reference< ::com::sun::star::frame::XLayoutManager > getLayoutManagerFromFrame(
- ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& rFrame )
+static css::uno::Reference< css::frame::XLayoutManager > getLayoutManagerFromFrame(
+ css::uno::Reference< css::frame::XFrame >& rFrame )
{
- ::com::sun::star::uno::Reference< ::com::sun::star::frame::XLayoutManager > xLayoutManager;
+ css::uno::Reference< css::frame::XLayoutManager > xLayoutManager;
Reference< XPropertySet > xPropSet( rFrame, UNO_QUERY );
if ( xPropSet.is() )
@@ -421,7 +421,7 @@ void ToolBarManager::UpdateControllers()
Reference< XDockableWindow > xDockable( VCLUnoHelper::GetInterface( m_pToolBar ), UNO_QUERY );
if ( xLayoutManager.is() && xDockable.is() )
{
- ::com::sun::star::awt::Point aPoint;
+ css::awt::Point aPoint;
aPoint.X = aPoint.Y = SAL_MAX_INT32;
xLayoutManager->dockWindow( m_aResourceName, DockingArea_DOCKINGAREA_DEFAULT, aPoint );
xLayoutManager->lockWindow( m_aResourceName );
@@ -451,7 +451,7 @@ void ToolBarManager::UpdateControllers()
}
//for update toolbar controller via Support Visible
-void ToolBarManager::UpdateController( ::com::sun::star::uno::Reference< ::com::sun::star::frame::XToolbarController > xController)
+void ToolBarManager::UpdateController( css::uno::Reference< css::frame::XToolbarController > xController)
{
if ( !m_bUpdateControllers )
@@ -483,8 +483,8 @@ throw ( RuntimeException, std::exception )
}
}
-void SAL_CALL ToolBarManager::statusChanged( const ::com::sun::star::frame::FeatureStateEvent& Event )
-throw ( ::com::sun::star::uno::RuntimeException, std::exception )
+void SAL_CALL ToolBarManager::statusChanged( const css::frame::FeatureStateEvent& Event )
+throw ( css::uno::RuntimeException, std::exception )
{
SolarMutexGuard g;
if ( m_bDisposed )
@@ -657,16 +657,16 @@ void SAL_CALL ToolBarManager::removeEventListener( const Reference< XEventListen
}
// XUIConfigurationListener
-void SAL_CALL ToolBarManager::elementInserted( const ::com::sun::star::ui::ConfigurationEvent& Event ) throw (::com::sun::star::uno::RuntimeException, std::exception)
+void SAL_CALL ToolBarManager::elementInserted( const css::ui::ConfigurationEvent& Event ) throw (css::uno::RuntimeException, std::exception)
{
impl_elementChanged(false,Event);
}
-void SAL_CALL ToolBarManager::elementRemoved( const ::com::sun::star::ui::ConfigurationEvent& Event ) throw (::com::sun::star::uno::RuntimeException, std::exception)
+void SAL_CALL ToolBarManager::elementRemoved( const css::ui::ConfigurationEvent& Event ) throw (css::uno::RuntimeException, std::exception)
{
impl_elementChanged(true,Event);
}
-void ToolBarManager::impl_elementChanged(bool _bRemove,const ::com::sun::star::ui::ConfigurationEvent& Event )
+void ToolBarManager::impl_elementChanged(bool _bRemove,const css::ui::ConfigurationEvent& Event )
{
SolarMutexGuard g;
@@ -733,7 +733,7 @@ void ToolBarManager::setToolBarImage(const Image& _aImage,const CommandToInfoMap
::std::for_each(_rIDs.begin(),_rIDs.end(),::boost::bind(&ToolBox::SetItemImage,m_pToolBar.get(),_1,_aImage));
}
-void SAL_CALL ToolBarManager::elementReplaced( const ::com::sun::star::ui::ConfigurationEvent& Event ) throw (::com::sun::star::uno::RuntimeException, std::exception)
+void SAL_CALL ToolBarManager::elementReplaced( const css::ui::ConfigurationEvent& Event ) throw (css::uno::RuntimeException, std::exception)
{
impl_elementChanged(false,Event);
}
@@ -1120,21 +1120,21 @@ void ToolBarManager::AddImageOrientationListener()
ToolBoxItemBits ToolBarManager::ConvertStyleToToolboxItemBits( sal_Int32 nStyle )
{
ToolBoxItemBits nItemBits( ToolBoxItemBits::NONE );
- if ( nStyle & ::com::sun::star::ui::ItemStyle::RADIO_CHECK )
+ if ( nStyle & css::ui::ItemStyle::RADIO_CHECK )
nItemBits |= ToolBoxItemBits::RADIOCHECK;
- if ( nStyle & ::com::sun::star::ui::ItemStyle::ALIGN_LEFT )
+ if ( nStyle & css::ui::ItemStyle::ALIGN_LEFT )
nItemBits |= ToolBoxItemBits::LEFT;
- if ( nStyle & ::com::sun::star::ui::ItemStyle::AUTO_SIZE )
+ if ( nStyle & css::ui::ItemStyle::AUTO_SIZE )
nItemBits |= ToolBoxItemBits::AUTOSIZE;
- if ( nStyle & ::com::sun::star::ui::ItemStyle::DROP_DOWN )
+ if ( nStyle & css::ui::ItemStyle::DROP_DOWN )
nItemBits |= ToolBoxItemBits::DROPDOWN;
- if ( nStyle & ::com::sun::star::ui::ItemStyle::REPEAT )
+ if ( nStyle & css::ui::ItemStyle::REPEAT )
nItemBits |= ToolBoxItemBits::REPEAT;
- if ( nStyle & ::com::sun::star::ui::ItemStyle::DROPDOWN_ONLY )
+ if ( nStyle & css::ui::ItemStyle::DROPDOWN_ONLY )
nItemBits |= ToolBoxItemBits::DROPDOWNONLY;
- if ( nStyle & ::com::sun::star::ui::ItemStyle::TEXT )
+ if ( nStyle & css::ui::ItemStyle::TEXT )
nItemBits |= ToolBoxItemBits::TEXT_ONLY;
- if ( nStyle & ::com::sun::star::ui::ItemStyle::ICON )
+ if ( nStyle & css::ui::ItemStyle::ICON )
nItemBits |= ToolBoxItemBits::ICON_ONLY;
return nItemBits;
@@ -1201,11 +1201,11 @@ void ToolBarManager::FillToolbar( const Reference< XIndexAccess >& rItemContaine
for ( sal_Int32 n = 0; n < rItemContainer->getCount(); n++ )
{
Sequence< PropertyValue > aProp;
- OUString aCommandURL;
- OUString aLabel;
- OUString aHelpURL;
- OUString aTooltip;
- sal_uInt16 nType( ::com::sun::star::ui::ItemType::DEFAULT );
+ OUString aCommandURL;
+ OUString aLabel;
+ OUString aHelpURL;
+ OUString aTooltip;
+ sal_uInt16 nType( css::ui::ItemType::DEFAULT );
sal_uInt16 nWidth( 0 );
sal_uInt32 nStyle( 0 );
@@ -1271,7 +1271,7 @@ void ToolBarManager::FillToolbar( const Reference< XIndexAccess >& rItemContaine
aProp[i].Value >>= nStyle;
}
- if (( nType == ::com::sun::star::ui::ItemType::DEFAULT ) && !aCommandURL.isEmpty() )
+ if (( nType == css::ui::ItemType::DEFAULT ) && !aCommandURL.isEmpty() )
{
OUString aString( RetrieveLabelFromCommand( aCommandURL ));
@@ -1328,21 +1328,21 @@ void ToolBarManager::FillToolbar( const Reference< XIndexAccess >& rItemContaine
++nId;
}
- else if ( nType == ::com::sun::star::ui::ItemType::SEPARATOR_LINE )
+ else if ( nType == css::ui::ItemType::SEPARATOR_LINE )
{
m_pToolBar->InsertSeparator();
}
- else if ( nType == ::com::sun::star::ui::ItemType::SEPARATOR_SPACE )
+ else if ( nType == css::ui::ItemType::SEPARATOR_SPACE )
{
m_pToolBar->InsertSpace();
}
- else if ( nType == ::com::sun::star::ui::ItemType::SEPARATOR_LINEBREAK )
+ else if ( nType == css::ui::ItemType::SEPARATOR_LINEBREAK )
{
m_pToolBar->InsertBreak();
}
}
}
- catch (const ::com::sun::star::lang::IndexOutOfBoundsException&)
+ catch (const css::lang::IndexOutOfBoundsException&)
{
break;
}
@@ -1669,7 +1669,7 @@ bool ToolBarManager::MenuItemAllowed( sal_uInt16 ) const
ImplClearPopupMenu( pToolBar );
// No config menu entries if command ".uno:ConfigureDialog" is not enabled
Reference< XDispatch > xDisp;
- com::sun::star::util::URL aURL;
+ css::util::URL aURL;
if ( m_xFrame.is() )
{
Reference< XDispatchProvider > xProv( m_xFrame, UNO_QUERY );
@@ -1868,7 +1868,7 @@ IMPL_LINK_TYPED( ToolBarManager, MenuSelect, Menu*, pMenu, bool )
case MENUITEM_TOOLBAR_CUSTOMIZETOOLBAR:
{
Reference< XDispatch > xDisp;
- com::sun::star::util::URL aURL;
+ css::util::URL aURL;
if ( m_xFrame.is() )
{
Reference< XDispatchProvider > xProv( m_xFrame, UNO_QUERY );
@@ -2141,7 +2141,7 @@ IMPL_STATIC_LINK_TYPED( ToolBarManager, ExecuteHdl_Impl, void*, p, void )
else if (( pExecuteInfo->nCmd == EXEC_CMD_DOCKTOOLBAR ) &&
( pExecuteInfo->xLayoutManager.is() ))
{
- ::com::sun::star::awt::Point aPoint;
+ css::awt::Point aPoint;
aPoint.X = aPoint.Y = SAL_MAX_INT32;
pExecuteInfo->xLayoutManager->dockWindow( pExecuteInfo->aToolbarResName,
DockingArea_DOCKINGAREA_DEFAULT,
@@ -2175,7 +2175,7 @@ bool ToolBarManager::impl_RetrieveShortcutsFromConfiguration(
{
try
{
- com::sun::star::awt::KeyEvent aKeyEvent;
+ css::awt::KeyEvent aKeyEvent;
Sequence< OUString > aCommands(1);
aCommands[0] = rCommand;
diff --git a/framework/source/uielement/toolbarmerger.cxx b/framework/source/uielement/toolbarmerger.cxx
index 60c49168769d..06a6658e3a97 100644
--- a/framework/source/uielement/toolbarmerger.cxx
+++ b/framework/source/uielement/toolbarmerger.cxx
@@ -67,13 +67,13 @@ using namespace ::com::sun::star;
Describes a context string list where all contexts
are delimited by a colon. For more information about
the module identifier used as context strings see the
- IDL description of com::sun::star::frame::XModuleManager
+ IDL description of css::frame::XModuleManager
@param
rModuleIdentifier
A string describing a module identifier. See IDL
- description of com::sun::star::frame::XModuleManager.
+ description of css::frame::XModuleManager.
@result
The result is true if the rContext is an empty string
@@ -382,7 +382,7 @@ bool ToolBarMerger::ProcessMergeOperation(
false.
*/
bool ToolBarMerger::ProcessMergeFallback(
- const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& xFrame,
+ const css::uno::Reference< css::frame::XFrame >& xFrame,
ToolBox* pToolbar,
sal_uInt16 /*nPos*/,
sal_uInt16& rItemId,
diff --git a/framework/source/uielement/toolbarsmenucontroller.cxx b/framework/source/uielement/toolbarsmenucontroller.cxx
index 6305cea7f3d7..52a7cc1230b2 100644
--- a/framework/source/uielement/toolbarsmenucontroller.cxx
+++ b/framework/source/uielement/toolbarsmenucontroller.cxx
@@ -133,7 +133,7 @@ DEFINE_XSERVICEINFO_MULTISERVICE_2 ( ToolbarsMenuController
DEFINE_INIT_SERVICE ( ToolbarsMenuController, {} )
-ToolbarsMenuController::ToolbarsMenuController( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& xContext ) :
+ToolbarsMenuController::ToolbarsMenuController( const css::uno::Reference< css::uno::XComponentContext >& xContext ) :
svt::PopupMenuControllerBase( xContext ),
m_xContext( xContext ),
m_aPropUIName( "UIName" ),
@@ -255,7 +255,7 @@ OUString ToolbarsMenuController::getUINameFromCommand( const OUString& rCommandU
return aLabel;
}
-static void fillHashMap( const Sequence< Sequence< ::com::sun::star::beans::PropertyValue > >& rSeqToolBars,
+static void fillHashMap( const Sequence< Sequence< css::beans::PropertyValue > >& rSeqToolBars,
ToolbarHashMap& rHashMap )
{
for ( sal_Int32 i = 0; i < rSeqToolBars.getLength(); i++ )
@@ -278,7 +278,7 @@ static void fillHashMap( const Sequence< Sequence< ::com::sun::star::beans::Prop
}
// private function
-Sequence< Sequence< com::sun::star::beans::PropertyValue > > ToolbarsMenuController::getLayoutManagerToolbars( const Reference< ::com::sun::star::frame::XLayoutManager >& rLayoutManager )
+Sequence< Sequence< css::beans::PropertyValue > > ToolbarsMenuController::getLayoutManagerToolbars( const Reference< css::frame::XLayoutManager >& rLayoutManager )
{
std::vector< ToolBarInfo > aToolBarArray;
Sequence< Reference< XUIElement > > aUIElements = rLayoutManager->getElements();
@@ -295,7 +295,7 @@ Sequence< Sequence< com::sun::star::beans::PropertyValue > > ToolbarsMenuControl
xPropSet->getPropertyValue("Type") >>= nType;
xPropSet->getPropertyValue("ResourceURL") >>= aResName;
- if (( nType == ::com::sun::star::ui::UIElementType::TOOLBAR ) &&
+ if (( nType == css::ui::UIElementType::TOOLBAR ) &&
!aResName.isEmpty() )
{
ToolBarInfo aToolBarInfo;
@@ -317,11 +317,11 @@ Sequence< Sequence< com::sun::star::beans::PropertyValue > > ToolbarsMenuControl
}
}
- Sequence< com::sun::star::beans::PropertyValue > aTbSeq( 2 );
+ Sequence< css::beans::PropertyValue > aTbSeq( 2 );
aTbSeq[0].Name = m_aPropUIName;
aTbSeq[1].Name = m_aPropResourceURL;
- Sequence< Sequence< com::sun::star::beans::PropertyValue > > aSeq( aToolBarArray.size() );
+ Sequence< Sequence< css::beans::PropertyValue > > aSeq( aToolBarArray.size() );
const sal_uInt32 nCount = aToolBarArray.size();
for ( sal_uInt32 i = 0; i < nCount; i++ )
{
@@ -355,14 +355,14 @@ void ToolbarsMenuController::fillPopupMenu( Reference< css::awt::XPopupMenu >& r
if ( m_xDocCfgMgr.is() )
{
- Sequence< Sequence< com::sun::star::beans::PropertyValue > > aSeqDocToolBars =
+ Sequence< Sequence< css::beans::PropertyValue > > aSeqDocToolBars =
m_xDocCfgMgr->getUIElementsInfo( UIElementType::TOOLBAR );
fillHashMap( aSeqDocToolBars, aToolbarHashMap );
}
if ( m_xModuleCfgMgr.is() )
{
- Sequence< Sequence< com::sun::star::beans::PropertyValue > > aSeqToolBars =
+ Sequence< Sequence< css::beans::PropertyValue > > aSeqToolBars =
m_xModuleCfgMgr->getUIElementsInfo( UIElementType::TOOLBAR );
fillHashMap( aSeqToolBars, aToolbarHashMap );
}
@@ -370,7 +370,7 @@ void ToolbarsMenuController::fillPopupMenu( Reference< css::awt::XPopupMenu >& r
std::vector< ToolBarEntry > aSortedTbs;
OUString aStaticCmdPart( STATIC_CMD_PART );
- Sequence< Sequence< com::sun::star::beans::PropertyValue > > aSeqFrameToolBars = getLayoutManagerToolbars( xLayoutManager );
+ Sequence< Sequence< css::beans::PropertyValue > > aSeqFrameToolBars = getLayoutManagerToolbars( xLayoutManager );
fillHashMap( aSeqFrameToolBars, aToolbarHashMap );
ToolbarHashMap::const_iterator pIter = aToolbarHashMap.begin();
@@ -819,7 +819,7 @@ void SAL_CALL ToolbarsMenuController::initialize( const Sequence< Any >& aArgume
if ( m_bInitialized )
{
Reference< XModuleManager2 > xModuleManager = ModuleManager::create( m_xContext );
- Reference< XNameAccess > xPersistentWindowStateSupplier = ::com::sun::star::ui::theWindowStateConfiguration::get( m_xContext );
+ Reference< XNameAccess > xPersistentWindowStateSupplier = css::ui::theWindowStateConfiguration::get( m_xContext );
// Retrieve persistent window state reference for our module
OUString aModuleIdentifier;
diff --git a/framework/source/uielement/toolbarwrapper.cxx b/framework/source/uielement/toolbarwrapper.cxx
index 2456f32632e1..60740696d077 100644
--- a/framework/source/uielement/toolbarwrapper.cxx
+++ b/framework/source/uielement/toolbarwrapper.cxx
@@ -74,11 +74,11 @@ void SAL_CALL ToolBarWrapper::release() throw()
}
uno::Any SAL_CALL ToolBarWrapper::queryInterface( const uno::Type & rType )
-throw( ::com::sun::star::uno::RuntimeException, std::exception )
+throw( css::uno::RuntimeException, std::exception )
{
Any a = ::cppu::queryInterface(
rType ,
- (static_cast< ::com::sun::star::ui::XUIFunctionListener* >(this)) );
+ (static_cast< css::ui::XUIFunctionListener* >(this)) );
if( a.hasValue() )
return a;
@@ -97,7 +97,7 @@ void SAL_CALL ToolBarWrapper::dispose() throw ( RuntimeException, std::exception
return;
}
- com::sun::star::lang::EventObject aEvent( xThis );
+ css::lang::EventObject aEvent( xThis );
m_aListenerContainer.disposeAndClear( aEvent );
SolarMutexGuard g;
@@ -192,13 +192,13 @@ void SAL_CALL ToolBarWrapper::initialize( const Sequence< Any >& aArguments ) th
}
// XEventListener
-void SAL_CALL ToolBarWrapper::disposing( const ::com::sun::star::lang::EventObject& ) throw (::com::sun::star::uno::RuntimeException, std::exception)
+void SAL_CALL ToolBarWrapper::disposing( const css::lang::EventObject& ) throw (css::uno::RuntimeException, std::exception)
{
// nothing todo
}
// XUpdatable
-void SAL_CALL ToolBarWrapper::update() throw (::com::sun::star::uno::RuntimeException, std::exception)
+void SAL_CALL ToolBarWrapper::update() throw (css::uno::RuntimeException, std::exception)
{
SolarMutexGuard g;
@@ -211,7 +211,7 @@ void SAL_CALL ToolBarWrapper::update() throw (::com::sun::star::uno::RuntimeExce
}
// XUIElementSettings
-void SAL_CALL ToolBarWrapper::updateSettings() throw (::com::sun::star::uno::RuntimeException, std::exception)
+void SAL_CALL ToolBarWrapper::updateSettings() throw (css::uno::RuntimeException, std::exception)
{
SolarMutexGuard g;
@@ -250,7 +250,7 @@ void ToolBarWrapper::impl_fillNewData()
}
// XUIElement interface
-Reference< XInterface > SAL_CALL ToolBarWrapper::getRealInterface( ) throw (::com::sun::star::uno::RuntimeException, std::exception)
+Reference< XInterface > SAL_CALL ToolBarWrapper::getRealInterface( ) throw (css::uno::RuntimeException, std::exception)
{
SolarMutexGuard g;
@@ -271,7 +271,7 @@ Reference< XInterface > SAL_CALL ToolBarWrapper::getRealInterface( ) throw (::c
void SAL_CALL ToolBarWrapper::functionExecute(
const OUString& aUIElementName,
const OUString& aCommand )
-throw (::com::sun::star::uno::RuntimeException, std::exception)
+throw (css::uno::RuntimeException, std::exception)
{
SolarMutexGuard g;
@@ -283,7 +283,7 @@ throw (::com::sun::star::uno::RuntimeException, std::exception)
}
}
-void SAL_CALL ToolBarWrapper::setFastPropertyValue_NoBroadcast( sal_Int32 nHandle, const com::sun::star::uno::Any& aValue ) throw( com::sun::star::uno::Exception, std::exception )
+void SAL_CALL ToolBarWrapper::setFastPropertyValue_NoBroadcast( sal_Int32 nHandle, const css::uno::Any& aValue ) throw( css::uno::Exception, std::exception )
{
SolarMutexResettableGuard aLock;
bool bNoClose( m_bNoClose );
diff --git a/framework/source/uielement/uicommanddescription.cxx b/framework/source/uielement/uicommanddescription.cxx
index 8fe577a5fb52..efe4d042bc1c 100644
--- a/framework/source/uielement/uicommanddescription.cxx
+++ b/framework/source/uielement/uicommanddescription.cxx
@@ -87,21 +87,21 @@ class ConfigurationAccess_UICommand : // Order is necessary for right initializa
virtual ~ConfigurationAccess_UICommand();
// XNameAccess
- virtual ::com::sun::star::uno::Any SAL_CALL getByName( const OUString& aName )
- throw (::com::sun::star::container::NoSuchElementException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Any SAL_CALL getByName( const OUString& aName )
+ throw (css::container::NoSuchElementException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) override;
- virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getElementNames()
- throw (::com::sun::star::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Sequence< OUString > SAL_CALL getElementNames()
+ throw (css::uno::RuntimeException, std::exception) override;
virtual sal_Bool SAL_CALL hasByName( const OUString& aName )
- throw (::com::sun::star::uno::RuntimeException, std::exception) override;
+ throw (css::uno::RuntimeException, std::exception) override;
// XElementAccess
- virtual ::com::sun::star::uno::Type SAL_CALL getElementType()
- throw (::com::sun::star::uno::RuntimeException, std::exception) override;
+ virtual css::uno::Type SAL_CALL getElementType()
+ throw (css::uno::RuntimeException, std::exception) override;
virtual sal_Bool SAL_CALL hasElements()
- throw (::com::sun::star::uno::RuntimeException, std::exception) override;
+ throw (css::uno::RuntimeException, std::exception) override;
// container.XContainerListener
virtual void SAL_CALL elementInserted( const ContainerEvent& aEvent ) throw(RuntimeException, std::exception) override;
@@ -112,7 +112,7 @@ class ConfigurationAccess_UICommand : // Order is necessary for right initializa
virtual void SAL_CALL disposing( const EventObject& aEvent ) throw(RuntimeException, std::exception) override;
protected:
- ::com::sun::star::uno::Any SAL_CALL getByNameImpl( const OUString& aName );
+ css::uno::Any SAL_CALL getByNameImpl( const OUString& aName );
struct CmdToInfoMap
{
@@ -120,9 +120,9 @@ class ConfigurationAccess_UICommand : // Order is necessary for right initializa
bCommandNameCreated( false ),
nProperties( 0 ) {}
- OUString aLabel;
- OUString aContextLabel;
- OUString aCommandName;
+ OUString aLabel;
+ OUString aContextLabel;
+ OUString aCommandName;
bool bPopup : 1,
bCommandNameCreated : 1;
sal_Int32 nProperties;
@@ -263,7 +263,7 @@ throw ( RuntimeException, std::exception )
}
sal_Bool SAL_CALL ConfigurationAccess_UICommand::hasByName( const OUString& rCommandURL )
-throw (::com::sun::star::uno::RuntimeException, std::exception)
+throw (css::uno::RuntimeException, std::exception)
{
return getByNameImpl( rCommandURL ).hasValue();
}
@@ -347,10 +347,10 @@ void ConfigurationAccess_UICommand::impl_fill(const Reference< XNameAccess >& _x
aImageMirrorVector.push_back( aNameSeq[i] );
}
}
- catch (const com::sun::star::lang::WrappedTargetException&)
+ catch (const css::lang::WrappedTargetException&)
{
}
- catch (const com::sun::star::container::NoSuchElementException&)
+ catch (const css::container::NoSuchElementException&)
{
}
}
@@ -434,19 +434,19 @@ Any ConfigurationAccess_UICommand::getInfoFromCommand( const OUString& rCommandU
{
return m_xGenericUICommands->getByName( rCommandURL );
}
- catch (const com::sun::star::lang::WrappedTargetException&)
+ catch (const css::lang::WrappedTargetException&)
{
}
- catch (const com::sun::star::container::NoSuchElementException&)
+ catch (const css::container::NoSuchElementException&)
{
}
}
}
}
- catch (const com::sun::star::container::NoSuchElementException&)
+ catch (const css::container::NoSuchElementException&)
{
}
- catch (const com::sun::star::lang::WrappedTargetException&)
+ catch (const css::lang::WrappedTargetException&)
{
}
@@ -489,10 +489,10 @@ Sequence< OUString > ConfigurationAccess_UICommand::getAllCommands()
return aNameSeq;
}
- catch (const com::sun::star::container::NoSuchElementException&)
+ catch (const css::container::NoSuchElementException&)
{
}
- catch (const com::sun::star::lang::WrappedTargetException&)
+ catch (const css::lang::WrappedTargetException&)
{
}
}
@@ -658,7 +658,7 @@ void UICommandDescription::impl_fillElements(const sal_Char* _pName)
}
Any SAL_CALL UICommandDescription::getByName( const OUString& aName )
-throw (::com::sun::star::container::NoSuchElementException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException, std::exception)
+throw (css::container::NoSuchElementException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception)
{
Any a;
@@ -699,7 +699,7 @@ throw (::com::sun::star::container::NoSuchElementException, ::com::sun::star::la
}
Sequence< OUString > SAL_CALL UICommandDescription::getElementNames()
-throw (::com::sun::star::uno::RuntimeException, std::exception)
+throw (css::uno::RuntimeException, std::exception)
{
osl::MutexGuard g(rBHelper.rMutex);
@@ -717,7 +717,7 @@ throw (::com::sun::star::uno::RuntimeException, std::exception)
}
sal_Bool SAL_CALL UICommandDescription::hasByName( const OUString& aName )
-throw (::com::sun::star::uno::RuntimeException, std::exception)
+throw (css::uno::RuntimeException, std::exception)
{
osl::MutexGuard g(rBHelper.rMutex);
@@ -727,13 +727,13 @@ throw (::com::sun::star::uno::RuntimeException, std::exception)
// XElementAccess
Type SAL_CALL UICommandDescription::getElementType()
-throw (::com::sun::star::uno::RuntimeException, std::exception)
+throw (css::uno::RuntimeException, std::exception)
{
return( cppu::UnoType<XNameAccess>::get());
}
sal_Bool SAL_CALL UICommandDescription::hasElements()
-throw (::com::sun::star::uno::RuntimeException, std::exception)
+throw (css::uno::RuntimeException, std::exception)
{
// generic UI commands are always available!
return sal_True;
diff --git a/framework/source/uifactory/addonstoolbarfactory.cxx b/framework/source/uifactory/addonstoolbarfactory.cxx
index f5fd986af902..ba6d53f6cc77 100644
--- a/framework/source/uifactory/addonstoolbarfactory.cxx
+++ b/framework/source/uifactory/addonstoolbarfactory.cxx
@@ -90,7 +90,7 @@ private:
};
AddonsToolBarFactory::AddonsToolBarFactory(
- const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& xContext ) :
+ const css::uno::Reference< css::uno::XComponentContext >& xContext ) :
m_xContext( xContext )
, m_xModuleManager( ModuleManager::create( xContext ) )
{
@@ -172,9 +172,9 @@ bool AddonsToolBarFactory::hasButtonsInContext(
Reference< XUIElement > SAL_CALL AddonsToolBarFactory::createUIElement(
const OUString& ResourceURL,
const Sequence< PropertyValue >& Args )
-throw ( ::com::sun::star::container::NoSuchElementException,
- ::com::sun::star::lang::IllegalArgumentException,
- ::com::sun::star::uno::RuntimeException, std::exception )
+throw ( css::container::NoSuchElementException,
+ css::lang::IllegalArgumentException,
+ css::uno::RuntimeException, std::exception )
{
SolarMutexGuard g;
@@ -196,7 +196,7 @@ throw ( ::com::sun::star::container::NoSuchElementException,
throw IllegalArgumentException();
// Identify frame and determine module identifier to look for context based buttons
- Reference< ::com::sun::star::ui::XUIElement > xToolBar;
+ Reference< css::ui::XUIElement > xToolBar;
if ( xFrame.is() &&
( aConfigData.getLength()> 0 ) &&
hasButtonsInContext( aConfigData, xFrame ))
@@ -215,7 +215,7 @@ throw ( ::com::sun::star::container::NoSuchElementException,
SolarMutexGuard aGuard;
AddonsToolBarWrapper* pToolBarWrapper = new AddonsToolBarWrapper( m_xContext );
- xToolBar = Reference< ::com::sun::star::ui::XUIElement >( static_cast<OWeakObject *>(pToolBarWrapper), UNO_QUERY );
+ xToolBar = Reference< css::ui::XUIElement >( static_cast<OWeakObject *>(pToolBarWrapper), UNO_QUERY );
Reference< XInitialization > xInit( xToolBar, UNO_QUERY );
xInit->initialize( aPropSeq );
}
diff --git a/framework/source/uifactory/factoryconfiguration.cxx b/framework/source/uifactory/factoryconfiguration.cxx
index 2a7da9943082..7c7be1c67c25 100644
--- a/framework/source/uifactory/factoryconfiguration.cxx
+++ b/framework/source/uifactory/factoryconfiguration.cxx
@@ -277,11 +277,11 @@ bool ConfigurationAccess_ControllerFactory::impl_getElementProps( const Any& aEl
xPropertySet->getPropertyValue( m_aPropController ) >>= aServiceSpecifier;
xPropertySet->getPropertyValue( m_aPropValue ) >>= aValue;
}
- catch ( const com::sun::star::beans::UnknownPropertyException& )
+ catch ( const css::beans::UnknownPropertyException& )
{
return false;
}
- catch ( const com::sun::star::lang::WrappedTargetException& )
+ catch ( const css::lang::WrappedTargetException& )
{
return false;
}
diff --git a/framework/source/uifactory/menubarfactory.cxx b/framework/source/uifactory/menubarfactory.cxx
index 75e5ca4647f1..e9d9f79ce5ab 100644
--- a/framework/source/uifactory/menubarfactory.cxx
+++ b/framework/source/uifactory/menubarfactory.cxx
@@ -43,7 +43,7 @@ using namespace ::com::sun::star::ui;
namespace framework
{
-MenuBarFactory::MenuBarFactory( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& xContext )
+MenuBarFactory::MenuBarFactory( const css::uno::Reference< css::uno::XComponentContext >& xContext )
: m_xContext( xContext )
{
}
@@ -56,9 +56,9 @@ MenuBarFactory::~MenuBarFactory()
Reference< XUIElement > SAL_CALL MenuBarFactory::createUIElement(
const OUString& ResourceURL,
const Sequence< PropertyValue >& Args )
-throw ( ::com::sun::star::container::NoSuchElementException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException, std::exception )
+throw ( css::container::NoSuchElementException, css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception )
{
- Reference< ::com::sun::star::ui::XUIElement > xMenuBar(
+ Reference< css::ui::XUIElement > xMenuBar(
static_cast<OWeakObject *>(new MenuBarWrapper(m_xContext)), UNO_QUERY);
CreateUIElement(ResourceURL, Args, "MenuOnly", "private:resource/menubar/", xMenuBar, m_xContext);
return xMenuBar;
@@ -68,8 +68,8 @@ void MenuBarFactory::CreateUIElement(const OUString& ResourceURL
,const Sequence< PropertyValue >& Args
,const char* _pExtraMode
,const OUString& ResourceType
- ,const Reference< ::com::sun::star::ui::XUIElement >& _xMenuBar
- ,const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& _rxContext)
+ ,const Reference< css::ui::XUIElement >& _xMenuBar
+ ,const css::uno::Reference< css::uno::XComponentContext >& _rxContext)
{
Reference< XUIConfigurationManager > xCfgMgr;
Reference< XUIConfigurationManager > xConfigSource;
@@ -116,7 +116,7 @@ void MenuBarFactory::CreateUIElement(const OUString& ResourceURL
if ( !bHasSettings )
{
- Reference< ::com::sun::star::frame::XModuleManager2 > xModuleManager =
+ Reference< css::frame::XModuleManager2 > xModuleManager =
ModuleManager::create( _rxContext );
OUString aModuleIdentifier = xModuleManager->identify( Reference<XInterface>( xFrame, UNO_QUERY ) );
if ( !aModuleIdentifier.isEmpty() )
diff --git a/framework/source/uifactory/statusbarfactory.cxx b/framework/source/uifactory/statusbarfactory.cxx
index 7a675beb669e..1cb00a3e06b4 100644
--- a/framework/source/uifactory/statusbarfactory.cxx
+++ b/framework/source/uifactory/statusbarfactory.cxx
@@ -66,7 +66,7 @@ public:
virtual css::uno::Reference< css::ui::XUIElement > SAL_CALL createUIElement( const OUString& ResourceURL, const css::uno::Sequence< css::beans::PropertyValue >& Args ) throw ( css::container::NoSuchElementException, css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception ) override;
};
-StatusBarFactory::StatusBarFactory( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& xContext ) :
+StatusBarFactory::StatusBarFactory( const css::uno::Reference< css::uno::XComponentContext >& xContext ) :
MenuBarFactory( xContext )
{
}
@@ -75,9 +75,9 @@ StatusBarFactory::StatusBarFactory( const ::com::sun::star::uno::Reference< ::co
Reference< XUIElement > SAL_CALL StatusBarFactory::createUIElement(
const OUString& ResourceURL,
const Sequence< PropertyValue >& Args )
-throw ( ::com::sun::star::container::NoSuchElementException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException, std::exception )
+throw ( css::container::NoSuchElementException, css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception )
{
- Reference< ::com::sun::star::ui::XUIElement > xStatusBar(
+ Reference< css::ui::XUIElement > xStatusBar(
static_cast<OWeakObject *>(new StatusBarWrapper(m_xContext)), UNO_QUERY);
MenuBarFactory::CreateUIElement(ResourceURL, Args, NULL, "private:resource/statusbar/", xStatusBar, m_xContext);
return xStatusBar;
diff --git a/framework/source/uifactory/toolbarfactory.cxx b/framework/source/uifactory/toolbarfactory.cxx
index 6762f422c522..8f4bd096eae0 100644
--- a/framework/source/uifactory/toolbarfactory.cxx
+++ b/framework/source/uifactory/toolbarfactory.cxx
@@ -66,7 +66,7 @@ public:
throw ( css::container::NoSuchElementException, css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception ) override;
};
-ToolBarFactory::ToolBarFactory( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& xContext ) :
+ToolBarFactory::ToolBarFactory( const css::uno::Reference< css::uno::XComponentContext >& xContext ) :
MenuBarFactory( xContext )
{
}
@@ -75,9 +75,9 @@ ToolBarFactory::ToolBarFactory( const ::com::sun::star::uno::Reference< ::com::s
Reference< XUIElement > SAL_CALL ToolBarFactory::createUIElement(
const OUString& ResourceURL,
const Sequence< PropertyValue >& Args )
-throw ( ::com::sun::star::container::NoSuchElementException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException, std::exception )
+throw ( css::container::NoSuchElementException, css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception )
{
- Reference< ::com::sun::star::ui::XUIElement > xToolBar(
+ Reference< css::ui::XUIElement > xToolBar(
static_cast<OWeakObject *>(new ToolBarWrapper(m_xContext)), UNO_QUERY);
CreateUIElement(ResourceURL, Args, "PopupMode", "private:resource/toolbar/", xToolBar, m_xContext);
return xToolBar;
diff --git a/framework/source/uifactory/uielementfactorymanager.cxx b/framework/source/uifactory/uielementfactorymanager.cxx
index 74e9cb7db84c..c65e819b9c22 100644
--- a/framework/source/uifactory/uielementfactorymanager.cxx
+++ b/framework/source/uifactory/uielementfactorymanager.cxx
@@ -330,11 +330,11 @@ bool ConfigurationAccess_FactoryManager::impl_getElementProps( const Any& aEleme
xPropertySet->getPropertyValue( m_aPropModule ) >>= rModule;
xPropertySet->getPropertyValue( m_aPropFactory ) >>= rServiceSpecifier;
}
- catch ( const com::sun::star::beans::UnknownPropertyException& )
+ catch ( const css::beans::UnknownPropertyException& )
{
return false;
}
- catch ( const com::sun::star::lang::WrappedTargetException& )
+ catch ( const css::lang::WrappedTargetException& )
{
return false;
}
@@ -424,7 +424,7 @@ void SAL_CALL UIElementFactoryManager::disposing()
Reference< XUIElement > SAL_CALL UIElementFactoryManager::createUIElement(
const OUString& ResourceURL,
const Sequence< PropertyValue >& Args )
-throw ( ::com::sun::star::container::NoSuchElementException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException, std::exception )
+throw ( css::container::NoSuchElementException, css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception )
{
Reference< XFrame > xFrame;
OUString aModuleId;
diff --git a/framework/source/uifactory/windowcontentfactorymanager.cxx b/framework/source/uifactory/windowcontentfactorymanager.cxx
index 69f3b58cf358..34af27d673fa 100644
--- a/framework/source/uifactory/windowcontentfactorymanager.cxx
+++ b/framework/source/uifactory/windowcontentfactorymanager.cxx
@@ -41,8 +41,8 @@ using namespace framework;
namespace {
typedef ::cppu::WeakComponentImplHelper<
- com::sun::star::lang::XServiceInfo,
- com::sun::star::lang::XSingleComponentFactory > WindowContentFactoryManager_BASE;
+ css::lang::XServiceInfo,
+ css::lang::XSingleComponentFactory > WindowContentFactoryManager_BASE;
class WindowContentFactoryManager : private cppu::BaseMutex,
public WindowContentFactoryManager_BASE
diff --git a/framework/source/xml/imagesconfiguration.cxx b/framework/source/xml/imagesconfiguration.cxx
index c8beaf3e3519..23e718e961ed 100644
--- a/framework/source/xml/imagesconfiguration.cxx
+++ b/framework/source/xml/imagesconfiguration.cxx
@@ -41,8 +41,8 @@ namespace framework
{
bool ImagesConfiguration::LoadImages(
- const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& rxContext,
- const ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream >& rInputStream,
+ const css::uno::Reference< css::uno::XComponentContext >& rxContext,
+ const css::uno::Reference< css::io::XInputStream >& rInputStream,
ImageListsDescriptor& rItems )
{
Reference< XParser > xParser = Parser::create( rxContext );
@@ -72,15 +72,15 @@ bool ImagesConfiguration::LoadImages(
{
return false;
}
- catch( const ::com::sun::star::io::IOException& )
+ catch( const css::io::IOException& )
{
return false;
}
}
bool ImagesConfiguration::StoreImages(
- const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& rxContext,
- const ::com::sun::star::uno::Reference< ::com::sun::star::io::XOutputStream >& rOutputStream,
+ const css::uno::Reference< css::uno::XComponentContext >& rxContext,
+ const css::uno::Reference< css::io::XOutputStream >& rOutputStream,
const ImageListsDescriptor& rItems )
{
Reference< XWriter > xWriter = Writer::create(rxContext);
@@ -100,7 +100,7 @@ bool ImagesConfiguration::StoreImages(
{
return false;
}
- catch ( const ::com::sun::star::io::IOException& )
+ catch ( const css::io::IOException& )
{
return false;
}