Kaydet (Commit) 4e5716b5 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Mention that the getError() semantics are unclear

Change-Id: Ifd5b04cc13085749f0f800bdb69cc3fdd5581916
üst d2763bde
...@@ -583,6 +583,11 @@ public: ...@@ -583,6 +583,11 @@ public:
} }
/// Returns the last error as a string, the returned pointer has to be freed by the caller. /// Returns the last error as a string, the returned pointer has to be freed by the caller.
/// Exact semantics somewhat unclear (sometimes the code clears the string that the next call to
/// getError() will return if no error happens in another function, sometimes not), and
/// unfortunately cleaning up that is harder than it seems, because of lovely global variables
/// and a unit test that uses the LibreOfficeKit API in an untypical manner.
char* getError() char* getError()
{ {
return mpThis->pClass->getError(mpThis); return mpThis->pClass->getError(mpThis);
......
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