From 3dde9d988f0c9a432429389359c3531f10a4ff10 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 2 Nov 2017 12:09:52 +0200 Subject: loplugin:constparams in various(1) Change-Id: Ic80ca59abc3e104c7adf0c1eff1d16addf48bc8b Reviewed-on: https://gerrit.libreoffice.org/44261 Tested-by: Jenkins Reviewed-by: Noel Grandin --- extensions/source/scanner/sane.cxx | 2 +- extensions/source/scanner/sane.hxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'extensions') diff --git a/extensions/source/scanner/sane.cxx b/extensions/source/scanner/sane.cxx index 330d3a79ef29..a22cda021bd4 100644 --- a/extensions/source/scanner/sane.cxx +++ b/extensions/source/scanner/sane.cxx @@ -454,7 +454,7 @@ void Sane::SetOptionValue( int n, double fSet, int nElement ) } } -void Sane::SetOptionValue( int n, double* pSet ) +void Sane::SetOptionValue( int n, double const * pSet ) { if( ! maHandle || ( mppOptions[n]->type != SANE_TYPE_INT && mppOptions[n]->type != SANE_TYPE_FIXED ) ) diff --git a/extensions/source/scanner/sane.hxx b/extensions/source/scanner/sane.hxx index e3694a3ff58a..c40ff1bb8c1b 100644 --- a/extensions/source/scanner/sane.hxx +++ b/extensions/source/scanner/sane.hxx @@ -141,7 +141,7 @@ public: void SetOptionValue( int, bool ); void SetOptionValue( int, const OUString& ); void SetOptionValue( int, double, int nElement = 0 ); - void SetOptionValue( int, double* ); + void SetOptionValue( int, double const * ); bool ActivateButtonOption( int ); -- cgit tion value='distro/cib/libreoffice-6-1'>distro/cib/libreoffice-6-1 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
AgeCommit message (Expand)Author