summaryrefslogtreecommitdiff
path: root/sax
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-10-29 08:58:11 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-10-29 15:12:26 +0100
commit41eeaace84b45c803fff3ebd5ab981f0ad09393b (patch)
tree0a0290bcc852507efa8241bd0853ebdd84ec9cbf /sax
parenta2f7678171618d958e3c387718cd389bea63eaeb (diff)
loplugin:oncevar
Change-Id: Iba892694acb378887a1d15ab59104c55f591f0bd Reviewed-on: https://gerrit.libreoffice.org/62498 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sax')
-rw-r--r--sax/source/tools/fastserializer.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/sax/source/tools/fastserializer.cxx b/sax/source/tools/fastserializer.cxx
index 590c0167a29e..d299ca73ce08 100644
--- a/sax/source/tools/fastserializer.cxx
+++ b/sax/source/tools/fastserializer.cxx
@@ -135,7 +135,6 @@ namespace sax_fastparser {
return;
}
- bool bGood = true;
const sal_Int32 kXescapeLen = 7;
char bufXescape[kXescapeLen+1];
sal_Int32 nNextXescape = 0;
@@ -244,7 +243,6 @@ namespace sax_fastparser {
break;
}
}
- SAL_WARN_IF( !bGood && nLen > 1, "sax", "in '" << OString(pStr,std::min<sal_Int32>(nLen,42)) << "'");
}
void FastSaxSerializer::endDocument()