starmath/source/mathmlimport.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit e85446e587704ffa31c50ee2b8fc1b21d6a16b12 Author: Thomas Arnhold <tho...@arnhold.org> Date: Fri Sep 6 10:58:08 2013 +0200 fdo#68956: Be safe and warn if there are other users of GetText() Because GetText() now returns a value. Change-Id: Iafee193771a56b2b3c25f8655fa35a66f31eebe8 diff --git a/starmath/source/mathmlimport.hxx b/starmath/source/mathmlimport.hxx index d730395..d6bea98 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); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits