summaryrefslogtreecommitdiff
path: root/unoidl
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-07-25 14:04:19 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-07-27 06:44:50 +0000
commit9870f02b310567c1d50c8e11a49afea5fdc549a0 (patch)
treefea702de7355228bd4b5facfaa99430b658897f1 /unoidl
parent1485074d84f7804a2942d4942d7d194039948d05 (diff)
loplugin:countusersofdefaultparams in tools..xmlsecurity
find methods with default params with only zero or one call site Change-Id: Ie5b30f60e9fe00ba1acf0dfc79b005ded46f05a0 Reviewed-on: https://gerrit.libreoffice.org/27512 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'unoidl')
-rw-r--r--unoidl/source/unoidlprovider.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/unoidl/source/unoidlprovider.cxx b/unoidl/source/unoidlprovider.cxx
index 800d112671ab..acf443bf445b 100644
--- a/unoidl/source/unoidlprovider.cxx
+++ b/unoidl/source/unoidlprovider.cxx
@@ -551,7 +551,7 @@ std::vector< OUString > readAnnotations(
ConstantValue readConstant(
rtl::Reference< MappedFile > const & file, sal_uInt32 offset,
- sal_uInt32 * newOffset = nullptr, bool * annotated = nullptr)
+ sal_uInt32 * newOffset, bool * annotated)
{
assert(file.is());
int v = file->read8(offset);