summaryrefslogtreecommitdiff
path: root/unoxml
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2020-02-09 21:54:50 +0100
committerStephan Bergmann <sbergman@redhat.com>2020-02-10 08:03:05 +0100
commit2cfa5fbc3e15060c0eb462df25219c96f8aa5935 (patch)
treea090bfb25bd1297c29d892e21893aed99d823b2e /unoxml
parenta2a8ad842fccbf214e2e25414fc715246408aa27 (diff)
-Werror,-Wnon-c-typedef-for-linkage
...with recent Clant trunk, see <https://github.com/llvm/llvm-project/commit/ 7ae1b4a0ce9c7f269cf3069e41496a78e3f28d49> " Implement P1766R1: diagnose giving non-C-compatible classes a typedef name for linkage purposes." Change-Id: Ida0bbe8f4be7845b8663ea3c86e1faf1db7f55a5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88349 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'unoxml')
-rw-r--r--unoxml/source/dom/document.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/unoxml/source/dom/document.cxx b/unoxml/source/dom/document.cxx
index be96f69c9035..fe6994df2191 100644
--- a/unoxml/source/dom/document.cxx
+++ b/unoxml/source/dom/document.cxx
@@ -326,10 +326,10 @@ namespace DOM
namespace {
// IO context functions for libxml2 interaction
- typedef struct {
+ struct IOContext {
Reference< XOutputStream > stream;
bool const allowClose;
- } IOContext;
+ };
}