summaryrefslogtreecommitdiff
path: root/sd/source/ui/sidebar/PanelFactory.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/sidebar/PanelFactory.cxx')
-rw-r--r--sd/source/ui/sidebar/PanelFactory.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sd/source/ui/sidebar/PanelFactory.cxx b/sd/source/ui/sidebar/PanelFactory.cxx
index a647e89d94de..847ec576ec2f 100644
--- a/sd/source/ui/sidebar/PanelFactory.cxx
+++ b/sd/source/ui/sidebar/PanelFactory.cxx
@@ -18,6 +18,7 @@
*/
#include "PanelFactory.hxx"
+#include "facreg.hxx"
#include "framework/Pane.hxx"
#include "ViewShellBase.hxx"
#include "DrawController.hxx"
@@ -65,7 +66,7 @@ Reference<lang::XEventListener> mxControllerDisposeListener;
// ----- Service functions ----------------------------------------------------
Reference<XInterface> SAL_CALL PanelFactory_createInstance (
- const Reference<XComponentContext>& rxContext)
+ const Reference<XComponentContext>& rxContext) throw (css::uno::Exception)
{
return Reference<XInterface>(static_cast<XWeak*>(new PanelFactory(rxContext)));
}