summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-11-02 12:09:52 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-11-04 07:50:01 +0100
commit3dde9d988f0c9a432429389359c3531f10a4ff10 (patch)
treef6daed39591bf55907f44218fcac62f389322aa6 /extensions
parentda90193c8c0ab1f5403d37902f0037b51659b6d9 (diff)
loplugin:constparams in various(1)
Change-Id: Ic80ca59abc3e104c7adf0c1eff1d16addf48bc8b Reviewed-on: https://gerrit.libreoffice.org/44261 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'extensions')
-rw-r--r--extensions/source/scanner/sane.cxx2
-rw-r--r--extensions/source/scanner/sane.hxx2
2 files changed, 2 insertions, 2 deletions
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 );