summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
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 );