summaryrefslogtreecommitdiff
path: root/oox/source/shape
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-04-14 14:15:12 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-04-14 14:15:12 +0200
commite13022a825917ad9bf1d2b16af6b88a4fa97b1cd (patch)
treeafbfe96a9f49a518a1e27751d1dff6d6f71571cd /oox/source/shape
parent6a9271ff833798927d6f5d1b64f836933c87ff73 (diff)
Clean up function declarations and some unused functions
Change-Id: I2f5b3144e8d4ce3e497a030aa102985c3bc81645
Diffstat (limited to 'oox/source/shape')
-rw-r--r--oox/source/shape/ShapeContextHandler.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/oox/source/shape/ShapeContextHandler.cxx b/oox/source/shape/ShapeContextHandler.cxx
index 57eb98bbdcbd..4d9b91ad69b2 100644
--- a/oox/source/shape/ShapeContextHandler.cxx
+++ b/oox/source/shape/ShapeContextHandler.cxx
@@ -24,6 +24,7 @@
#include "LockedCanvasContext.hxx"
#include "WpsContext.hxx"
#include "WpgContext.hxx"
+#include "services.hxx"
#include "oox/vml/vmldrawingfragment.hxx"
#include "oox/vml/vmlshape.hxx"
#include "oox/drawingml/themefragmenthandler.hxx"
@@ -51,7 +52,7 @@ ShapeContextHandler_getSupportedServiceNames()
uno::Reference< uno::XInterface > SAL_CALL
ShapeContextHandler_createInstance( const uno::Reference< uno::XComponentContext > & context)
- SAL_THROW((uno::Exception))
+ throw (uno::Exception)
{
return static_cast< ::cppu::OWeakObject* >( new ShapeContextHandler(context) );
}