diff options
Diffstat (limited to 'include/tools')
-rw-r--r-- | include/tools/globname.hxx | 4 | ||||
-rw-r--r-- | include/tools/poly.hxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/include/tools/globname.hxx b/include/tools/globname.hxx index 3280cb69a2f6..9672f444ccad 100644 --- a/include/tools/globname.hxx +++ b/include/tools/globname.hxx @@ -60,7 +60,7 @@ public: pImp( rObj.pImp ) { } - SvGlobalName( SvGlobalName && rObj ) : + SvGlobalName( SvGlobalName && rObj ) noexcept : pImp( std::move(rObj.pImp) ) { } @@ -75,7 +75,7 @@ public: SvGlobalName( const SvGUID & rId ); SvGlobalName & operator = ( const SvGlobalName & rObj ); - SvGlobalName & operator = ( SvGlobalName && rObj ); + SvGlobalName & operator = ( SvGlobalName && rObj ) noexcept; ~SvGlobalName(); TOOLS_DLLPUBLIC friend SvStream & operator >> ( SvStream &, SvGlobalName & ); diff --git a/include/tools/poly.hxx b/include/tools/poly.hxx index b0c6190b6eb8..aed40ece0367 100644 --- a/include/tools/poly.hxx +++ b/include/tools/poly.hxx @@ -98,7 +98,7 @@ public: sal_uInt16 nPoints ); Polygon( const tools::Polygon& rPoly ); - Polygon( tools::Polygon&& rPoly); + Polygon( tools::Polygon&& rPoly) noexcept; ~Polygon(); void SetPoint( const Point& rPt, sal_uInt16 nPos ); @@ -155,7 +155,7 @@ public: Point& operator[]( sal_uInt16 nPos ); tools::Polygon& operator=( const tools::Polygon& rPoly ); - tools::Polygon& operator=( tools::Polygon&& rPoly ); + tools::Polygon& operator=( tools::Polygon&& rPoly ) noexcept; bool operator==( const tools::Polygon& rPoly ) const; bool operator!=( const tools::Polygon& rPoly ) const { return !(Polygon::operator==( rPoly )); } |