summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/vcl/glyphitem.hxx4
-rw-r--r--vcl/source/gdi/impglyphitem.cxx4
2 files changed, 4 insertions, 4 deletions
diff --git a/include/vcl/glyphitem.hxx b/include/vcl/glyphitem.hxx
index 68f89701b2c3..6ca2de170561 100644
--- a/include/vcl/glyphitem.hxx
+++ b/include/vcl/glyphitem.hxx
@@ -41,11 +41,11 @@ class VCL_DLLPUBLIC SalLayoutGlyphs final
public:
SalLayoutGlyphs();
SalLayoutGlyphs(const SalLayoutGlyphs&) = delete;
- SalLayoutGlyphs(SalLayoutGlyphs&&);
+ SalLayoutGlyphs(SalLayoutGlyphs&&) noexcept;
~SalLayoutGlyphs();
SalLayoutGlyphs& operator=(const SalLayoutGlyphs&) = delete;
- SalLayoutGlyphs& operator=(SalLayoutGlyphs&&);
+ SalLayoutGlyphs& operator=(SalLayoutGlyphs&&) noexcept;
SalLayoutGlyphsImpl* Impl(unsigned int nLevel) const;
void AppendImpl(SalLayoutGlyphsImpl* pImpl);
diff --git a/vcl/source/gdi/impglyphitem.cxx b/vcl/source/gdi/impglyphitem.cxx
index e9d5e699356c..06dbaf6c5f32 100644
--- a/vcl/source/gdi/impglyphitem.cxx
+++ b/vcl/source/gdi/impglyphitem.cxx
@@ -27,13 +27,13 @@ SalLayoutGlyphs::SalLayoutGlyphs() {}
SalLayoutGlyphs::~SalLayoutGlyphs() {}
-SalLayoutGlyphs::SalLayoutGlyphs(SalLayoutGlyphs&& rOther)
+SalLayoutGlyphs::SalLayoutGlyphs(SalLayoutGlyphs&& rOther) noexcept
{
std::swap(m_pImpl, rOther.m_pImpl);
std::swap(m_pExtraImpls, rOther.m_pExtraImpls);
}
-SalLayoutGlyphs& SalLayoutGlyphs::operator=(SalLayoutGlyphs&& rOther)
+SalLayoutGlyphs& SalLayoutGlyphs::operator=(SalLayoutGlyphs&& rOther) noexcept
{
if (this != &rOther)
{