summaryrefslogtreecommitdiff
path: root/sc/inc/postit.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/inc/postit.hxx')
-rw-r--r--sc/inc/postit.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/inc/postit.hxx b/sc/inc/postit.hxx
index 11c5d9b5f84b..f3ba932f471c 100644
--- a/sc/inc/postit.hxx
+++ b/sc/inc/postit.hxx
@@ -45,11 +45,11 @@ public:
ScCaptionPtr();
explicit ScCaptionPtr( SdrCaptionObj* p );
ScCaptionPtr( const ScCaptionPtr& r );
- ScCaptionPtr( ScCaptionPtr&& r );
+ ScCaptionPtr(ScCaptionPtr&& r) noexcept;
~ScCaptionPtr();
ScCaptionPtr& operator=( const ScCaptionPtr& r );
- ScCaptionPtr& operator=( ScCaptionPtr&& r );
+ ScCaptionPtr& operator=(ScCaptionPtr&& r) noexcept;
explicit operator bool() const { return mpCaption != nullptr; }
const SdrCaptionObj* get() const { return mpCaption; }
SdrCaptionObj* get() { return mpCaption; }
@@ -131,7 +131,7 @@ private:
Used by move-ctor and move assignment operator.
*/
- void replaceInList( ScCaptionPtr* pNew );
+ void replaceInList(ScCaptionPtr* pNew) noexcept;
/** Dissolve list when the caption object is released or gone. */
void dissolve();