summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-11-30 07:17:53 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-11-30 19:29:21 +0100
commitb15f79a8f8de27c9d186ae1fbd0c86f194aed0ac (patch)
tree3c4dc647e8ccf78c41f66e4993f3a0490c15a137 /filter
parent32efde5cef2b8516a9decd0bf7091d7def1da971 (diff)
loplugin:unnecessaryparen: signed numeric literals
Change-Id: I75c8224452ca9c3711a2ccaca9ecf549fa59cb64 Reviewed-on: https://gerrit.libreoffice.org/45549 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'filter')
-rw-r--r--filter/source/xsltfilter/LibXSLTTransformer.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/filter/source/xsltfilter/LibXSLTTransformer.cxx b/filter/source/xsltfilter/LibXSLTTransformer.cxx
index 339c1a62faab..7accfcb0a384 100644
--- a/filter/source/xsltfilter/LibXSLTTransformer.cxx
+++ b/filter/source/xsltfilter/LibXSLTTransformer.cxx
@@ -217,7 +217,7 @@ namespace XSLT
{
// const char *ptr = (const char *) context;
if (buffer == nullptr || len < 0)
- return (-1);
+ return -1;
sal_Int32 n;
css::uno::Reference<XInputStream> xis = m_transformer->getInputStream();
n = xis.get()->readBytes(m_readBuf, len);