summaryrefslogtreecommitdiff
path: root/sd/source/ui/sidebar
diff options
context:
space:
mode:
authorStefan Weiberg <stefan.weiberg@germandev.org>2014-09-05 11:12:25 +0000
committerNorbert Thiebaud <nthiebaud@gmail.com>2014-09-06 15:55:08 -0500
commit9c6e517a77d4453d6c653df98e82c0db8da33d81 (patch)
tree4b802f3114fa7f197263921c62111152972771b5 /sd/source/ui/sidebar
parent35354e6ceffc580ef2d9d817e5bbbe1417b63250 (diff)
Related fdo#82088: dropping aliases again :)
Change-Id: I41f6472423b60e3699ed6158cc5eccb10de1538d Reviewed-on: https://gerrit.libreoffice.org/11295 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
Diffstat (limited to 'sd/source/ui/sidebar')
-rw-r--r--sd/source/ui/sidebar/AllMasterPagesSelector.cxx4
-rw-r--r--sd/source/ui/sidebar/AllMasterPagesSelector.hxx4
-rw-r--r--sd/source/ui/sidebar/CurrentMasterPagesSelector.cxx4
-rw-r--r--sd/source/ui/sidebar/CurrentMasterPagesSelector.hxx7
-rw-r--r--sd/source/ui/sidebar/CustomAnimationPanel.cxx2
-rw-r--r--sd/source/ui/sidebar/CustomAnimationPanel.hxx4
-rw-r--r--sd/source/ui/sidebar/LayoutMenu.hxx7
-rw-r--r--sd/source/ui/sidebar/MasterPagesSelector.hxx5
-rw-r--r--sd/source/ui/sidebar/PanelBase.cxx2
-rw-r--r--sd/source/ui/sidebar/PanelBase.hxx5
-rw-r--r--sd/source/ui/sidebar/PanelFactory.cxx2
-rw-r--r--sd/source/ui/sidebar/PanelFactory.hxx15
-rw-r--r--sd/source/ui/sidebar/RecentMasterPagesSelector.cxx4
-rw-r--r--sd/source/ui/sidebar/RecentMasterPagesSelector.hxx4
-rw-r--r--sd/source/ui/sidebar/SlideTransitionPanel.cxx2
-rw-r--r--sd/source/ui/sidebar/SlideTransitionPanel.hxx4
16 files changed, 35 insertions, 40 deletions
diff --git a/sd/source/ui/sidebar/AllMasterPagesSelector.cxx b/sd/source/ui/sidebar/AllMasterPagesSelector.cxx
index 19f825822e3e..9d1d71e3b1b6 100644
--- a/sd/source/ui/sidebar/AllMasterPagesSelector.cxx
+++ b/sd/source/ui/sidebar/AllMasterPagesSelector.cxx
@@ -80,7 +80,7 @@ public:
MasterPagesSelector* AllMasterPagesSelector::Create (
::Window* pParent,
ViewShellBase& rViewShellBase,
- const cssu::Reference<css::ui::XSidebar>& rxSidebar)
+ const css::uno::Reference<css::ui::XSidebar>& rxSidebar)
{
SdDrawDocument* pDocument = rViewShellBase.GetDocument();
if (pDocument == NULL)
@@ -106,7 +106,7 @@ AllMasterPagesSelector::AllMasterPagesSelector (
SdDrawDocument& rDocument,
ViewShellBase& rBase,
const ::boost::shared_ptr<MasterPageContainer>& rpContainer,
- const cssu::Reference<css::ui::XSidebar>& rxSidebar)
+ const css::uno::Reference<css::ui::XSidebar>& rxSidebar)
: MasterPagesSelector(pParent, rDocument, rBase, rpContainer, rxSidebar),
mpSortedMasterPages(new SortedMasterPageDescriptorList())
{
diff --git a/sd/source/ui/sidebar/AllMasterPagesSelector.hxx b/sd/source/ui/sidebar/AllMasterPagesSelector.hxx
index 56cef88ffdd3..eebc8691fa8a 100644
--- a/sd/source/ui/sidebar/AllMasterPagesSelector.hxx
+++ b/sd/source/ui/sidebar/AllMasterPagesSelector.hxx
@@ -40,7 +40,7 @@ public:
static MasterPagesSelector* Create (
::Window* pParent,
ViewShellBase& rViewShellBase,
- const cssu::Reference<css::ui::XSidebar>& rxSidebar);
+ const css::uno::Reference<css::ui::XSidebar>& rxSidebar);
/** Scan the set of templates for the ones whose first master pages are
shown by this control and store them in the MasterPageContainer.
@@ -63,7 +63,7 @@ private:
SdDrawDocument& rDocument,
ViewShellBase& rBase,
const ::boost::shared_ptr<MasterPageContainer>& rpContainer,
- const cssu::Reference<css::ui::XSidebar>& rxSidebar);
+ const css::uno::Reference<css::ui::XSidebar>& rxSidebar);
virtual ~AllMasterPagesSelector (void);
void AddTemplate (const TemplateEntry& rEntry);
diff --git a/sd/source/ui/sidebar/CurrentMasterPagesSelector.cxx b/sd/source/ui/sidebar/CurrentMasterPagesSelector.cxx
index 1b5807150e41..4525bc8c16cb 100644
--- a/sd/source/ui/sidebar/CurrentMasterPagesSelector.cxx
+++ b/sd/source/ui/sidebar/CurrentMasterPagesSelector.cxx
@@ -45,7 +45,7 @@ namespace sd { namespace sidebar {
MasterPagesSelector* CurrentMasterPagesSelector::Create (
::Window* pParent,
ViewShellBase& rViewShellBase,
- const cssu::Reference<css::ui::XSidebar>& rxSidebar)
+ const css::uno::Reference<css::ui::XSidebar>& rxSidebar)
{
SdDrawDocument* pDocument = rViewShellBase.GetDocument();
if (pDocument == NULL)
@@ -71,7 +71,7 @@ CurrentMasterPagesSelector::CurrentMasterPagesSelector (
SdDrawDocument& rDocument,
ViewShellBase& rBase,
const ::boost::shared_ptr<MasterPageContainer>& rpContainer,
- const cssu::Reference<css::ui::XSidebar>& rxSidebar)
+ const css::uno::Reference<css::ui::XSidebar>& rxSidebar)
: MasterPagesSelector (pParent, rDocument, rBase, rpContainer, rxSidebar)
{
// For this master page selector only we change the default action for
diff --git a/sd/source/ui/sidebar/CurrentMasterPagesSelector.hxx b/sd/source/ui/sidebar/CurrentMasterPagesSelector.hxx
index d233980ab0a6..2a11328a88e6 100644
--- a/sd/source/ui/sidebar/CurrentMasterPagesSelector.hxx
+++ b/sd/source/ui/sidebar/CurrentMasterPagesSelector.hxx
@@ -23,7 +23,6 @@
#include "MasterPagesSelector.hxx"
#include <com/sun/star/lang/XComponent.hpp>
-namespace cssu = ::com::sun::star::uno;
namespace sd { namespace tools { class EventMultiplexerEvent; } }
@@ -39,7 +38,7 @@ public:
static MasterPagesSelector* Create (
::Window* pParent,
ViewShellBase& rViewShellBase,
- const cssu::Reference<css::ui::XSidebar>& rxSidebar);
+ const css::uno::Reference<css::ui::XSidebar>& rxSidebar);
/** Set the selection so that the master page is selected that is
used by the currently selected page of the document in the
@@ -60,14 +59,14 @@ protected:
virtual void ExecuteCommand (const sal_Int32 nCommandId) SAL_OVERRIDE;
private:
- cssu::Reference<css::lang::XComponent> mxListener;
+ css::uno::Reference<css::lang::XComponent> mxListener;
CurrentMasterPagesSelector (
::Window* pParent,
SdDrawDocument& rDocument,
ViewShellBase& rBase,
const ::boost::shared_ptr<MasterPageContainer>& rpContainer,
- const cssu::Reference<css::ui::XSidebar>& rxSidebar);
+ const css::uno::Reference<css::ui::XSidebar>& rxSidebar);
virtual ~CurrentMasterPagesSelector (void);
virtual void LateInit (void) SAL_OVERRIDE;
diff --git a/sd/source/ui/sidebar/CustomAnimationPanel.cxx b/sd/source/ui/sidebar/CustomAnimationPanel.cxx
index c0ed23cc4bcf..d0bd23a5fcbe 100644
--- a/sd/source/ui/sidebar/CustomAnimationPanel.cxx
+++ b/sd/source/ui/sidebar/CustomAnimationPanel.cxx
@@ -27,7 +27,7 @@ namespace sd { namespace sidebar {
CustomAnimationPanel::CustomAnimationPanel (
::Window* pParentWindow,
ViewShellBase& rViewShellBase,
- const cssu::Reference<css::frame::XFrame>& rxFrame
+ const css::uno::Reference<css::frame::XFrame>& rxFrame
)
: PanelBase(
pParentWindow,
diff --git a/sd/source/ui/sidebar/CustomAnimationPanel.hxx b/sd/source/ui/sidebar/CustomAnimationPanel.hxx
index be03b8da401d..cb391919564c 100644
--- a/sd/source/ui/sidebar/CustomAnimationPanel.hxx
+++ b/sd/source/ui/sidebar/CustomAnimationPanel.hxx
@@ -31,7 +31,7 @@ public:
CustomAnimationPanel (
::Window* pParentWindow,
ViewShellBase& rViewShellBase,
- const cssu::Reference<css::frame::XFrame>& rxFrame);
+ const css::uno::Reference<css::frame::XFrame>& rxFrame);
virtual ~CustomAnimationPanel (void);
// ILayoutableWindow
@@ -43,7 +43,7 @@ protected:
ViewShellBase& rViewShellBase) SAL_OVERRIDE;
private:
- cssu::Reference<css::frame::XFrame> mxFrame;
+ css::uno::Reference<css::frame::XFrame> mxFrame;
};
} } // end of namespace sd::sidebar
diff --git a/sd/source/ui/sidebar/LayoutMenu.hxx b/sd/source/ui/sidebar/LayoutMenu.hxx
index d6b61a26b098..2e65d19f938e 100644
--- a/sd/source/ui/sidebar/LayoutMenu.hxx
+++ b/sd/source/ui/sidebar/LayoutMenu.hxx
@@ -38,7 +38,6 @@
class SfxModule;
-namespace cssu = ::com::sun::star::uno;
namespace sd {
class DrawDocShell;
@@ -72,7 +71,7 @@ public:
LayoutMenu (
::Window* pParent,
ViewShellBase& rViewShellBase,
- const cssu::Reference<css::ui::XSidebar>& rxSidebar);
+ const css::uno::Reference<css::ui::XSidebar>& rxSidebar);
virtual ~LayoutMenu (void);
virtual void Dispose (void);
@@ -130,10 +129,10 @@ private:
many columns for the calculation.
*/
const int mnPreferredColumnCount;
- cssu::Reference<css::frame::XStatusListener> mxListener;
+ css::uno::Reference<css::frame::XStatusListener> mxListener;
bool mbSelectionUpdatePending;
bool mbIsMainViewChangePending;
- cssu::Reference<css::ui::XSidebar> mxSidebar;
+ css::uno::Reference<css::ui::XSidebar> mxSidebar;
bool mbIsDisposed;
/** Calculate the number of displayed rows. This depends on the given
diff --git a/sd/source/ui/sidebar/MasterPagesSelector.hxx b/sd/source/ui/sidebar/MasterPagesSelector.hxx
index 04380bc070e5..e299b12eae8c 100644
--- a/sd/source/ui/sidebar/MasterPagesSelector.hxx
+++ b/sd/source/ui/sidebar/MasterPagesSelector.hxx
@@ -35,7 +35,6 @@
#include <queue>
-namespace cssu = ::com::sun::star::uno;
class MouseEvent;
class SdDrawDocument;
@@ -62,7 +61,7 @@ public:
SdDrawDocument& rDocument,
ViewShellBase& rBase,
const ::boost::shared_ptr<MasterPageContainer>& rpContainer,
- const cssu::Reference<css::ui::XSidebar>& rxSidebar);
+ const css::uno::Reference<css::ui::XSidebar>& rxSidebar);
virtual ~MasterPagesSelector (void);
virtual void LateInit (void);
@@ -205,7 +204,7 @@ protected:
virtual void ExecuteCommand (const sal_Int32 nCommandId);
private:
- cssu::Reference<css::ui::XSidebar> mxSidebar;
+ css::uno::Reference<css::ui::XSidebar> mxSidebar;
/** The offset between ValueSet index and MasterPageContainer::Token
last seen. This value is used heuristically to speed up the lookup
diff --git a/sd/source/ui/sidebar/PanelBase.cxx b/sd/source/ui/sidebar/PanelBase.cxx
index e1e368e31470..270705054c93 100644
--- a/sd/source/ui/sidebar/PanelBase.cxx
+++ b/sd/source/ui/sidebar/PanelBase.cxx
@@ -77,7 +77,7 @@ void PanelBase::Resize (void)
return NULL;
}
-void PanelBase::SetSidebar (const cssu::Reference<css::ui::XSidebar>& rxSidebar)
+void PanelBase::SetSidebar (const css::uno::Reference<css::ui::XSidebar>& rxSidebar)
{
mxSidebar = rxSidebar;
if (mxSidebar.is() && mpWrappedControl!=0)
diff --git a/sd/source/ui/sidebar/PanelBase.hxx b/sd/source/ui/sidebar/PanelBase.hxx
index b41f58110eab..f2e54b0f1aae 100644
--- a/sd/source/ui/sidebar/PanelBase.hxx
+++ b/sd/source/ui/sidebar/PanelBase.hxx
@@ -27,7 +27,6 @@
#include <boost/scoped_ptr.hpp>
-namespace cssu = ::com::sun::star::uno;
namespace sd {
class ViewShellBase;
@@ -56,7 +55,7 @@ public:
virtual css::ui::LayoutSize GetHeightForWidth (const sal_Int32 nWidth) SAL_OVERRIDE;
// ISidebarReceiver
- virtual void SetSidebar (const cssu::Reference<css::ui::XSidebar>& rxSidebar) SAL_OVERRIDE;
+ virtual void SetSidebar (const css::uno::Reference<css::ui::XSidebar>& rxSidebar) SAL_OVERRIDE;
virtual ::com::sun::star::uno::Reference<
::com::sun::star::accessibility::XAccessible > CreateAccessibleObject (
@@ -70,7 +69,7 @@ protected:
ViewShellBase& rViewShellBase) = 0;
private:
- cssu::Reference<css::ui::XSidebar> mxSidebar;
+ css::uno::Reference<css::ui::XSidebar> mxSidebar;
ViewShellBase& mrViewShellBase;
bool ProvideWrappedControl (void);
diff --git a/sd/source/ui/sidebar/PanelFactory.cxx b/sd/source/ui/sidebar/PanelFactory.cxx
index 8d38c4c7b455..a64b986ffbba 100644
--- a/sd/source/ui/sidebar/PanelFactory.cxx
+++ b/sd/source/ui/sidebar/PanelFactory.cxx
@@ -101,7 +101,7 @@ void SAL_CALL PanelFactory::disposing (void)
Reference<ui::XUIElement> SAL_CALL PanelFactory::createUIElement (
const ::rtl::OUString& rsUIElementResourceURL,
- const ::cssu::Sequence<css::beans::PropertyValue>& rArguments)
+ const css::uno::Sequence<css::beans::PropertyValue>& rArguments)
throw(
css::container::NoSuchElementException,
css::lang::IllegalArgumentException,
diff --git a/sd/source/ui/sidebar/PanelFactory.hxx b/sd/source/ui/sidebar/PanelFactory.hxx
index ae4f307b81b4..8365a49764f9 100644
--- a/sd/source/ui/sidebar/PanelFactory.hxx
+++ b/sd/source/ui/sidebar/PanelFactory.hxx
@@ -32,7 +32,6 @@
#include <boost/noncopyable.hpp>
#include <boost/shared_ptr.hpp>
-namespace cssu = ::com::sun::star::uno;
namespace sd {
class ViewShellBase;
@@ -54,24 +53,24 @@ class PanelFactory
{
public:
static ::rtl::OUString SAL_CALL getImplementationName (void);
- static cssu::Reference<cssu::XInterface> SAL_CALL createInstance (
- const cssu::Reference<css::lang::XMultiServiceFactory>& rxFactory);
- static cssu::Sequence<rtl::OUString> SAL_CALL getSupportedServiceNames (void);
+ static css::uno::Reference<css::uno::XInterface> SAL_CALL createInstance (
+ const css::uno::Reference<css::lang::XMultiServiceFactory>& rxFactory);
+ static css::uno::Sequence<rtl::OUString> SAL_CALL getSupportedServiceNames (void);
- PanelFactory (const cssu::Reference<cssu::XComponentContext>& rxContext);
+ PanelFactory (const css::uno::Reference<css::uno::XComponentContext>& rxContext);
virtual ~PanelFactory (void);
virtual void SAL_CALL disposing (void) SAL_OVERRIDE;
// XUIElementFactory
- cssu::Reference<css::ui::XUIElement> SAL_CALL createUIElement (
+ css::uno::Reference<css::ui::XUIElement> SAL_CALL createUIElement (
const ::rtl::OUString& rsResourceURL,
- const ::cssu::Sequence<css::beans::PropertyValue>& rArguments)
+ const css::uno::Sequence<css::beans::PropertyValue>& rArguments)
throw(
css::container::NoSuchElementException,
css::lang::IllegalArgumentException,
- cssu::RuntimeException, std::exception) SAL_OVERRIDE;
+ css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
};
} } // end of namespace sd::sidebar
diff --git a/sd/source/ui/sidebar/RecentMasterPagesSelector.cxx b/sd/source/ui/sidebar/RecentMasterPagesSelector.cxx
index 0ebcff4c640e..2705e2b31392 100644
--- a/sd/source/ui/sidebar/RecentMasterPagesSelector.cxx
+++ b/sd/source/ui/sidebar/RecentMasterPagesSelector.cxx
@@ -35,7 +35,7 @@ namespace sd { namespace sidebar {
MasterPagesSelector* RecentMasterPagesSelector::Create (
::Window* pParent,
ViewShellBase& rViewShellBase,
- const cssu::Reference<css::ui::XSidebar>& rxSidebar)
+ const css::uno::Reference<css::ui::XSidebar>& rxSidebar)
{
SdDrawDocument* pDocument = rViewShellBase.GetDocument();
if (pDocument == NULL)
@@ -61,7 +61,7 @@ RecentMasterPagesSelector::RecentMasterPagesSelector (
SdDrawDocument& rDocument,
ViewShellBase& rBase,
const ::boost::shared_ptr<MasterPageContainer>& rpContainer,
- const cssu::Reference<css::ui::XSidebar>& rxSidebar)
+ const css::uno::Reference<css::ui::XSidebar>& rxSidebar)
: MasterPagesSelector (pParent, rDocument, rBase, rpContainer, rxSidebar)
{
}
diff --git a/sd/source/ui/sidebar/RecentMasterPagesSelector.hxx b/sd/source/ui/sidebar/RecentMasterPagesSelector.hxx
index 931663966f1d..f5bacc780c53 100644
--- a/sd/source/ui/sidebar/RecentMasterPagesSelector.hxx
+++ b/sd/source/ui/sidebar/RecentMasterPagesSelector.hxx
@@ -33,7 +33,7 @@ public:
static MasterPagesSelector* Create (
::Window* pParent,
ViewShellBase& rViewShellBase,
- const cssu::Reference<css::ui::XSidebar>& rxSidebar);
+ const css::uno::Reference<css::ui::XSidebar>& rxSidebar);
protected:
DECL_LINK(MasterPageListListener, void*);
@@ -63,7 +63,7 @@ private:
SdDrawDocument& rDocument,
ViewShellBase& rBase,
const ::boost::shared_ptr<MasterPageContainer>& rpContainer,
- const cssu::Reference<css::ui::XSidebar>& rxSidebar);
+ const css::uno::Reference<css::ui::XSidebar>& rxSidebar);
virtual ~RecentMasterPagesSelector (void);
virtual void LateInit (void) SAL_OVERRIDE;
diff --git a/sd/source/ui/sidebar/SlideTransitionPanel.cxx b/sd/source/ui/sidebar/SlideTransitionPanel.cxx
index 04d47524f862..cc9a5776cafc 100644
--- a/sd/source/ui/sidebar/SlideTransitionPanel.cxx
+++ b/sd/source/ui/sidebar/SlideTransitionPanel.cxx
@@ -27,7 +27,7 @@ namespace sd { namespace sidebar {
SlideTransitionPanel::SlideTransitionPanel (
::Window* pParentWindow,
ViewShellBase& rViewShellBase,
- const cssu::Reference<css::frame::XFrame>& rxFrame
+ const css::uno::Reference<css::frame::XFrame>& rxFrame
)
: PanelBase(pParentWindow, rViewShellBase),
mxFrame( rxFrame )
diff --git a/sd/source/ui/sidebar/SlideTransitionPanel.hxx b/sd/source/ui/sidebar/SlideTransitionPanel.hxx
index 251976ba7c63..74ef56a4d9a9 100644
--- a/sd/source/ui/sidebar/SlideTransitionPanel.hxx
+++ b/sd/source/ui/sidebar/SlideTransitionPanel.hxx
@@ -31,7 +31,7 @@ public:
SlideTransitionPanel (
::Window* pParentWindow,
ViewShellBase& rViewShellBase,
- const cssu::Reference<css::frame::XFrame>& rxFrame );
+ const css::uno::Reference<css::frame::XFrame>& rxFrame );
virtual ~SlideTransitionPanel (void);
// ILayoutableWindow
@@ -43,7 +43,7 @@ protected:
ViewShellBase& rViewShellBase) SAL_OVERRIDE;
private:
- cssu::Reference<css::frame::XFrame> mxFrame;
+ css::uno::Reference<css::frame::XFrame> mxFrame;
};
} } // end of namespace sd::sidebar