summaryrefslogtreecommitdiff
path: root/sdext
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-06-08 17:14:34 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-06-08 17:14:34 +0200
commit4d49c9601c9b3e26a336e08e057d299895683480 (patch)
tree469e3c18c2167db45cffec0a21a99abda8406c54 /sdext
parent46c7ecf760bbea6541507c319e8e722f9b4ec712 (diff)
Let loplugin:passstuffbyref also look at fn defn not preceded by any decl
Change-Id: I752bc96d2d521d790e919283cabb14b6526626f4
Diffstat (limited to 'sdext')
-rw-r--r--sdext/source/minimizer/informationdialog.cxx2
-rw-r--r--sdext/source/minimizer/optimizerdialogcontrols.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sdext/source/minimizer/informationdialog.cxx b/sdext/source/minimizer/informationdialog.cxx
index 07c6fde501e9..c7f6c860c7d2 100644
--- a/sdext/source/minimizer/informationdialog.cxx
+++ b/sdext/source/minimizer/informationdialog.cxx
@@ -189,7 +189,7 @@ OUString InsertButton( InformationDialog& rInformationDialog, const OUString& rC
}
-static OUString ImpValueOfInMB( const sal_Int64& rVal )
+static OUString ImpValueOfInMB( sal_Int64 rVal )
{
double fVal( static_cast<double>( rVal ) );
fVal /= ( 1 << 20 );
diff --git a/sdext/source/minimizer/optimizerdialogcontrols.cxx b/sdext/source/minimizer/optimizerdialogcontrols.cxx
index 65a86fed806d..486cad585ffb 100644
--- a/sdext/source/minimizer/optimizerdialogcontrols.cxx
+++ b/sdext/source/minimizer/optimizerdialogcontrols.cxx
@@ -567,7 +567,7 @@ void OptimizerDialog::InitPage3()
}
-static OUString ImpValueOfInMB( const sal_Int64& rVal, sal_Unicode nSeparator = '.' )
+static OUString ImpValueOfInMB( sal_Int64 rVal, sal_Unicode nSeparator = '.' )
{
double fVal( static_cast<double>( rVal ) );
fVal /= ( 1 << 20 );