diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2018-01-24 22:05:17 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2018-01-25 09:08:27 +0100 |
commit | 027abe22f11a8c7dac38697f02d03156bb91a8a1 (patch) | |
tree | 34f8a3bd9e18e59e3adeb25fb63c7194cde4067b /include | |
parent | 82dcf015154c3fb00240c5630ae926c74c7f4213 (diff) |
desktop: always clear LOK error message on success
Change-Id: Idefdbd3d9ae19f7cf5889017b111c12620ab08c2
Reviewed-on: https://gerrit.libreoffice.org/48541
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/LibreOfficeKit/LibreOfficeKit.hxx | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/LibreOfficeKit/LibreOfficeKit.hxx b/include/LibreOfficeKit/LibreOfficeKit.hxx index e158ee62cab7..310b9cfcee88 100644 --- a/include/LibreOfficeKit/LibreOfficeKit.hxx +++ b/include/LibreOfficeKit/LibreOfficeKit.hxx @@ -583,11 +583,6 @@ public: } /// 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() { return mpThis->pClass->getError(mpThis); |