summaryrefslogtreecommitdiff
path: root/sfx2/source
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 /sfx2/source
parent498e03c2a32ec0250fa2e7cb07f7fc3425212e58 (diff)
[API CHANGE] add way to get XSidebar from XSidebarProvider
Change-Id: I9fcf1cffa70eac6fec228ca4a9d4d32783295f21
Diffstat (limited to 'sfx2/source')
-rw-r--r--sfx2/source/sidebar/UnoSidebar.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/sfx2/source/sidebar/UnoSidebar.cxx b/sfx2/source/sidebar/UnoSidebar.cxx
index 28de260f5a50..cfaebbf50238 100644
--- a/sfx2/source/sidebar/UnoSidebar.cxx
+++ b/sfx2/source/sidebar/UnoSidebar.cxx
@@ -98,5 +98,11 @@ uno::Reference<ui::XDecks> SAL_CALL SfxUnoSidebar::getDecks()
return decks;
}
+uno::Reference<ui::XSidebar> SAL_CALL SfxUnoSidebar::getSidebar()
+ throw (uno::RuntimeException, std::exception)
+{
+ return getSidebarController();
+}
+
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */