[Libreoffice-commits] core.git: starmath/source
Thomas Arnhold
thomas at arnhold.org
Fri Sep 6 04:19:45 PDT 2013
starmath/source/mathmlimport.hxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit e85446e587704ffa31c50ee2b8fc1b21d6a16b12
Author: Thomas Arnhold <thomas at 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);
More information about the Libreoffice-commits
mailing list