summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/presenter/SlideRenderer.cxx3
-rw-r--r--sd/source/ui/presenter/SlideRenderer.hxx2
2 files changed, 3 insertions, 2 deletions
diff --git a/sd/source/ui/presenter/SlideRenderer.cxx b/sd/source/ui/presenter/SlideRenderer.cxx
index 0865d0df219e..1e6da4b1b9b0 100644
--- a/sd/source/ui/presenter/SlideRenderer.cxx
+++ b/sd/source/ui/presenter/SlideRenderer.cxx
@@ -144,7 +144,8 @@ BitmapEx SlideRenderer::CreatePreview (
const Reference<drawing::XDrawPage>& rxSlide,
const awt::Size& rMaximalSize,
sal_Int16 nSuperSampleFactor)
- throw (css::uno::RuntimeException)
+ throw (css::uno::RuntimeException,
+ std::exception)
{
const SdPage* pPage = SdPage::getImplementation(rxSlide);
if (pPage == NULL)
diff --git a/sd/source/ui/presenter/SlideRenderer.hxx b/sd/source/ui/presenter/SlideRenderer.hxx
index 813d21277b99..6e318bcbc193 100644
--- a/sd/source/ui/presenter/SlideRenderer.hxx
+++ b/sd/source/ui/presenter/SlideRenderer.hxx
@@ -84,7 +84,7 @@ private:
const css::uno::Reference<css::drawing::XDrawPage>& rxSlide,
const css::awt::Size& rMaximumPreviewPixelSize,
sal_Int16 nSuperSampleFactor)
- throw (css::uno::RuntimeException);
+ throw (css::uno::RuntimeException, std::exception);
/** This method throws a DisposedException when the object has already been
disposed.