diff options
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/source/mathmlimport.hxx | 2 |
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; |