diff options
Diffstat (limited to 'include/vcl')
-rw-r--r-- | include/vcl/alpha.hxx | 2 | ||||
-rw-r--r-- | include/vcl/font.hxx | 4 | ||||
-rw-r--r-- | include/vcl/region.hxx | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/include/vcl/alpha.hxx b/include/vcl/alpha.hxx index b0ea775e1516..f87ac133970a 100644 --- a/include/vcl/alpha.hxx +++ b/include/vcl/alpha.hxx @@ -42,7 +42,7 @@ public: AlphaMask& operator=( const Bitmap& rBitmap ); AlphaMask& operator=( const AlphaMask& rAlphaMask ) { return static_cast<AlphaMask&>( Bitmap::operator=( rAlphaMask ) ); } - AlphaMask& operator=( AlphaMask&& rAlphaMask ) { return static_cast<AlphaMask&>( Bitmap::operator=( std::move(rAlphaMask) ) ); } + AlphaMask& operator=( AlphaMask&& rAlphaMask ) noexcept { return static_cast<AlphaMask&>( Bitmap::operator=( std::move(rAlphaMask) ) ); } bool operator!() const { return Bitmap::operator!(); } bool operator==( const AlphaMask& rAlphaMask ) const { return Bitmap::operator==(rAlphaMask); } bool operator!=( const AlphaMask& rAlphaMask ) const { return Bitmap::operator!=(rAlphaMask); } diff --git a/include/vcl/font.hxx b/include/vcl/font.hxx index 34ccf2ab5dd4..ac8c6d4c2153 100644 --- a/include/vcl/font.hxx +++ b/include/vcl/font.hxx @@ -48,7 +48,7 @@ class VCL_DLLPUBLIC Font public: explicit Font(); Font( const Font& ); // TODO make me explicit - Font( Font&& ); + Font( Font&& ) noexcept; explicit Font( const OUString& rFamilyName, const Size& ); explicit Font( const OUString& rFamilyName, const OUString& rStyleName, const Size& ); explicit Font( FontFamily eFamily, const Size& ); @@ -150,7 +150,7 @@ public: void GetFontAttributes( FontAttributes& rAttrs ) const; Font& operator=( const Font& ); - Font& operator=( Font&& ); + Font& operator=( Font&& ) noexcept; bool operator==( const Font& ) const; bool operator!=( const Font& rFont ) const { return !(Font::operator==( rFont )); } diff --git a/include/vcl/region.hxx b/include/vcl/region.hxx index 3edcaa033636..faa2da61141d 100644 --- a/include/vcl/region.hxx +++ b/include/vcl/region.hxx @@ -72,7 +72,7 @@ public: explicit Region(const tools::PolyPolygon& rPolyPoly); explicit Region(const basegfx::B2DPolyPolygon&); Region(const vcl::Region& rRegion); - Region(vcl::Region&& rRegion); + Region(vcl::Region&& rRegion) noexcept; ~Region(); // direct access to contents @@ -114,7 +114,7 @@ public: bool IsOver( const tools::Rectangle& rRect ) const; vcl::Region& operator=( const vcl::Region& rRegion ); - vcl::Region& operator=( vcl::Region&& rRegion ); + vcl::Region& operator=( vcl::Region&& rRegion ) noexcept; vcl::Region& operator=( const tools::Rectangle& rRect ); bool operator==( const vcl::Region& rRegion ) const; |