summaryrefslogtreecommitdiff
path: root/include/sfx2
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2015-07-08 20:35:21 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2015-07-12 18:56:48 +0200
commit7cad6b12c801a21b2401958c60625a50320fb5c7 (patch)
tree117e94a102246cbc1050c64875349ff377762481 /include/sfx2
parent498e03c2a32ec0250fa2e7cb07f7fc3425212e58 (diff)
[API CHANGE] add way to get XSidebar from XSidebarProvider
Change-Id: I9fcf1cffa70eac6fec228ca4a9d4d32783295f21
Diffstat (limited to 'include/sfx2')
-rw-r--r--include/sfx2/sidebar/UnoSidebar.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/sfx2/sidebar/UnoSidebar.hxx b/include/sfx2/sidebar/UnoSidebar.hxx
index 6c154c0840a5..9cbb4e1fcfb2 100644
--- a/include/sfx2/sidebar/UnoSidebar.hxx
+++ b/include/sfx2/sidebar/UnoSidebar.hxx
@@ -14,6 +14,7 @@
#include <sfx2/dllapi.h>
#include <com/sun/star/frame/XFrame.hpp>
#include <com/sun/star/ui/XSidebarProvider.hpp>
+#include <com/sun/star/ui/XSidebar.hpp>
#include <com/sun/star/awt/XWindow2.hpp>
@@ -56,6 +57,9 @@ public:
virtual css::uno::Reference<css::ui::XDecks> SAL_CALL getDecks()
throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual css::uno::Reference<css::ui::XSidebar> SAL_CALL getSidebar()
+ throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+
};
#endif