summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2013-09-06 10:58:08 +0200
committerThomas Arnhold <thomas@arnhold.org>2013-09-06 13:16:54 +0200
commite85446e587704ffa31c50ee2b8fc1b21d6a16b12 (patch)
treef2b97e3d0bceb01eb3e2a3887eb37c4c56b48595 /starmath
parentdebded3eb060bd3b0ebaaa16a5e4f47a46fa02a2 (diff)
fdo#68956: Be safe and warn if there are other users of GetText()
Because GetText() now returns a value. Change-Id: Iafee193771a56b2b3c25f8655fa35a66f31eebe8
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 d730395e818b..d6bea988a9b3 100644
--- a/starmath/source/mathmlimport.hxx
+++ b/starmath/source/mathmlimport.hxx
@@ -256,7 +256,7 @@ public:
}
sal_Bool GetSuccess() { return bSuccess; }
- OUString GetText() { return aText; }
+ SAL_WARN_UNUSED_RESULT OUString GetText() { return aText; }
void SetText(const OUString &rStr) { aText = rStr; }
virtual void SetViewSettings(const com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue>& aViewProps);