summaryrefslogtreecommitdiff
path: root/basegfx/source/tools/unopolypolygon.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'basegfx/source/tools/unopolypolygon.cxx')
-rw-r--r--basegfx/source/tools/unopolypolygon.cxx36
1 files changed, 18 insertions, 18 deletions
diff --git a/basegfx/source/tools/unopolypolygon.cxx b/basegfx/source/tools/unopolypolygon.cxx
index 38535ab05735..7e6230945fc9 100644
--- a/basegfx/source/tools/unopolypolygon.cxx
+++ b/basegfx/source/tools/unopolypolygon.cxx
@@ -52,7 +52,7 @@ namespace unotools
void SAL_CALL UnoPolyPolygon::addPolyPolygon(
const geometry::RealPoint2D& position,
- const uno::Reference< rendering::XPolyPolygon2D >& polyPolygon ) throw (lang::IllegalArgumentException,uno::RuntimeException)
+ const uno::Reference< rendering::XPolyPolygon2D >& polyPolygon ) throw (lang::IllegalArgumentException,uno::RuntimeException, std::exception)
{
osl::MutexGuard const guard( m_aMutex );
modifying();
@@ -130,14 +130,14 @@ namespace unotools
maPolyPoly.append( aSrcPoly );
}
- sal_Int32 SAL_CALL UnoPolyPolygon::getNumberOfPolygons() throw (uno::RuntimeException)
+ sal_Int32 SAL_CALL UnoPolyPolygon::getNumberOfPolygons() throw (uno::RuntimeException, std::exception)
{
osl::MutexGuard const guard( m_aMutex );
return maPolyPoly.count();
}
sal_Int32 SAL_CALL UnoPolyPolygon::getNumberOfPolygonPoints(
- sal_Int32 polygon ) throw (lang::IndexOutOfBoundsException,uno::RuntimeException)
+ sal_Int32 polygon ) throw (lang::IndexOutOfBoundsException,uno::RuntimeException, std::exception)
{
osl::MutexGuard const guard( m_aMutex );
checkIndex( polygon );
@@ -145,14 +145,14 @@ namespace unotools
return maPolyPoly.getB2DPolygon(polygon).count();
}
- rendering::FillRule SAL_CALL UnoPolyPolygon::getFillRule() throw (uno::RuntimeException)
+ rendering::FillRule SAL_CALL UnoPolyPolygon::getFillRule() throw (uno::RuntimeException, std::exception)
{
osl::MutexGuard const guard( m_aMutex );
return meFillRule;
}
void SAL_CALL UnoPolyPolygon::setFillRule(
- rendering::FillRule fillRule ) throw (uno::RuntimeException)
+ rendering::FillRule fillRule ) throw (uno::RuntimeException, std::exception)
{
osl::MutexGuard const guard( m_aMutex );
modifying();
@@ -161,7 +161,7 @@ namespace unotools
}
sal_Bool SAL_CALL UnoPolyPolygon::isClosed(
- sal_Int32 index ) throw (lang::IndexOutOfBoundsException,uno::RuntimeException)
+ sal_Int32 index ) throw (lang::IndexOutOfBoundsException,uno::RuntimeException, std::exception)
{
osl::MutexGuard const guard( m_aMutex );
checkIndex( index );
@@ -171,7 +171,7 @@ namespace unotools
void SAL_CALL UnoPolyPolygon::setClosed(
sal_Int32 index,
- sal_Bool closedState ) throw (lang::IndexOutOfBoundsException,uno::RuntimeException)
+ sal_Bool closedState ) throw (lang::IndexOutOfBoundsException,uno::RuntimeException, std::exception)
{
osl::MutexGuard const guard( m_aMutex );
modifying();
@@ -198,7 +198,7 @@ namespace unotools
sal_Int32 nPolygonIndex,
sal_Int32 nNumberOfPolygons,
sal_Int32 nPointIndex,
- sal_Int32 nNumberOfPoints ) throw (lang::IndexOutOfBoundsException,uno::RuntimeException)
+ sal_Int32 nNumberOfPoints ) throw (lang::IndexOutOfBoundsException,uno::RuntimeException, std::exception)
{
osl::MutexGuard const guard( m_aMutex );
@@ -211,7 +211,7 @@ namespace unotools
void SAL_CALL UnoPolyPolygon::setPoints(
const uno::Sequence< uno::Sequence< geometry::RealPoint2D > >& points,
- sal_Int32 nPolygonIndex ) throw (lang::IndexOutOfBoundsException,uno::RuntimeException)
+ sal_Int32 nPolygonIndex ) throw (lang::IndexOutOfBoundsException,uno::RuntimeException, std::exception)
{
osl::MutexGuard const guard( m_aMutex );
modifying();
@@ -233,7 +233,7 @@ namespace unotools
geometry::RealPoint2D SAL_CALL UnoPolyPolygon::getPoint(
sal_Int32 nPolygonIndex,
- sal_Int32 nPointIndex ) throw (lang::IndexOutOfBoundsException,uno::RuntimeException)
+ sal_Int32 nPointIndex ) throw (lang::IndexOutOfBoundsException,uno::RuntimeException, std::exception)
{
osl::MutexGuard const guard( m_aMutex );
checkIndex( nPolygonIndex );
@@ -249,7 +249,7 @@ namespace unotools
void SAL_CALL UnoPolyPolygon::setPoint(
const geometry::RealPoint2D& point,
sal_Int32 nPolygonIndex,
- sal_Int32 nPointIndex ) throw (lang::IndexOutOfBoundsException,uno::RuntimeException)
+ sal_Int32 nPointIndex ) throw (lang::IndexOutOfBoundsException,uno::RuntimeException, std::exception)
{
osl::MutexGuard const guard( m_aMutex );
checkIndex( nPolygonIndex );
@@ -269,7 +269,7 @@ namespace unotools
sal_Int32 nPolygonIndex,
sal_Int32 nNumberOfPolygons,
sal_Int32 nPointIndex,
- sal_Int32 nNumberOfPoints ) throw (lang::IndexOutOfBoundsException, uno::RuntimeException)
+ sal_Int32 nNumberOfPoints ) throw (lang::IndexOutOfBoundsException, uno::RuntimeException, std::exception)
{
osl::MutexGuard const guard( m_aMutex );
return unotools::bezierSequenceSequenceFromB2DPolyPolygon(
@@ -282,7 +282,7 @@ namespace unotools
void SAL_CALL UnoPolyPolygon::setBezierSegments(
const uno::Sequence< uno::Sequence< geometry::RealBezierSegment2D > >& points,
sal_Int32 nPolygonIndex ) throw (lang::IndexOutOfBoundsException,
- uno::RuntimeException)
+ uno::RuntimeException, std::exception)
{
osl::MutexGuard const guard( m_aMutex );
modifying();
@@ -303,7 +303,7 @@ namespace unotools
geometry::RealBezierSegment2D SAL_CALL UnoPolyPolygon::getBezierSegment( sal_Int32 nPolygonIndex,
sal_Int32 nPointIndex ) throw (lang::IndexOutOfBoundsException,
- uno::RuntimeException)
+ uno::RuntimeException, std::exception)
{
osl::MutexGuard const guard( m_aMutex );
checkIndex( nPolygonIndex );
@@ -329,7 +329,7 @@ namespace unotools
void SAL_CALL UnoPolyPolygon::setBezierSegment( const geometry::RealBezierSegment2D& segment,
sal_Int32 nPolygonIndex,
sal_Int32 nPointIndex ) throw (lang::IndexOutOfBoundsException,
- uno::RuntimeException)
+ uno::RuntimeException, std::exception)
{
osl::MutexGuard const guard( m_aMutex );
checkIndex( nPolygonIndex );
@@ -437,17 +437,17 @@ namespace unotools
#define IMPLEMENTATION_NAME "gfx::internal::UnoPolyPolygon"
#define SERVICE_NAME "com.sun.star.rendering.PolyPolygon2D"
- OUString SAL_CALL UnoPolyPolygon::getImplementationName() throw( uno::RuntimeException )
+ OUString SAL_CALL UnoPolyPolygon::getImplementationName() throw( uno::RuntimeException, std::exception )
{
return OUString( IMPLEMENTATION_NAME );
}
- sal_Bool SAL_CALL UnoPolyPolygon::supportsService( const OUString& ServiceName ) throw( uno::RuntimeException )
+ sal_Bool SAL_CALL UnoPolyPolygon::supportsService( const OUString& ServiceName ) throw( uno::RuntimeException, std::exception )
{
return cppu::supportsService(this, ServiceName);
}
- uno::Sequence< OUString > SAL_CALL UnoPolyPolygon::getSupportedServiceNames() throw( uno::RuntimeException )
+ uno::Sequence< OUString > SAL_CALL UnoPolyPolygon::getSupportedServiceNames() throw( uno::RuntimeException, std::exception )
{
uno::Sequence< OUString > aRet(1);
aRet[0] = SERVICE_NAME ;