summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-12-08 13:39:35 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-12-08 17:18:38 +0100
commit2e83a62f15b564edfe7f585dd72fcb41058120b3 (patch)
treeb43e06c3a7867251813d876b5be32be3e7c32ebd /starmath
parent7ce84d71b5a7e46bc4322997b1727b260e9b2cbd (diff)
Clean up LIBO_INTERNAL_ONLY uses of SAL_WARN_UNUSED_RESULT
Change-Id: I98b2d90c8345f07010f6defd82557188d5cd35c7 Reviewed-on: https://gerrit.libreoffice.org/64808 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'starmath')
-rw-r--r--starmath/source/mathmlimport.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/source/mathmlimport.hxx b/starmath/source/mathmlimport.hxx
index b91a51bea2bd..3c8a389edc37 100644
--- a/starmath/source/mathmlimport.hxx
+++ b/starmath/source/mathmlimport.hxx
@@ -180,7 +180,7 @@ public:
SmNodeStack & GetNodeStack() { return aNodeStack; }
bool GetSuccess() { return bSuccess; }
- SAL_WARN_UNUSED_RESULT const OUString& GetText() { return aText; }
+ [[nodiscard]] const OUString& GetText() { return aText; }
void SetText(const OUString &rStr) { aText = rStr; }
virtual void SetViewSettings(const css::uno::Sequence<css::beans::PropertyValue>& aViewProps) override;