summaryrefslogtreecommitdiff
path: root/vcl/inc/regionband.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/inc/regionband.hxx')
-rw-r--r--vcl/inc/regionband.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/inc/regionband.hxx b/vcl/inc/regionband.hxx
index b227226353d1..a007261489fb 100644
--- a/vcl/inc/regionband.hxx
+++ b/vcl/inc/regionband.hxx
@@ -36,7 +36,7 @@ private:
ImplRegionBand* mpLastCheckedBand;
void implReset();
- SAL_WARN_UNUSED_RESULT bool CheckConsistency() const;
+ [[nodiscard]] bool CheckConsistency() const;
public:
RegionBand();
@@ -47,7 +47,7 @@ public:
bool operator==( const RegionBand& rRegionBand ) const;
- SAL_WARN_UNUSED_RESULT bool load(SvStream& rIStrm);
+ [[nodiscard]] bool load(SvStream& rIStrm);
void save(SvStream& rIStrm) const;
bool isSingleRectangle() const;