summaryrefslogtreecommitdiff
path: root/include/oox/ole/axbinaryreader.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/oox/ole/axbinaryreader.hxx')
-rw-r--r--include/oox/ole/axbinaryreader.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/oox/ole/axbinaryreader.hxx b/include/oox/ole/axbinaryreader.hxx
index b15a7f1e4507..f9e3ddea24ff 100644
--- a/include/oox/ole/axbinaryreader.hxx
+++ b/include/oox/ole/axbinaryreader.hxx
@@ -76,7 +76,7 @@ public:
/** Aligns the stream according to the passed type and reads a value. */
template< typename Type >
- SAL_WARN_UNUSED_RESULT
+ [[nodiscard]]
Type readAligned() { align( sizeof( Type ) ); return readValue< Type >(); }
/** Aligns the stream according to the passed type and skips the size of the type. */
template< typename Type >