Kaydet (Commit) e85446e5 authored tarafından Thomas Arnhold's avatar Thomas Arnhold

fdo#68956: Be safe and warn if there are other users of GetText()

Because GetText() now returns a value.

Change-Id: Iafee193771a56b2b3c25f8655fa35a66f31eebe8
üst debded3e
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment