From 4630157e29f565c110f4fa11223a2d2358508c26 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 18 Aug 2016 12:27:49 +0100 Subject: cppcheck: passedByValue Change-Id: I3ffcfe1294a1cbb06aadd3a1a79e9259876e38cc --- dbaccess/source/sdbtools/connection/objectnames.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dbaccess') diff --git a/dbaccess/source/sdbtools/connection/objectnames.cxx b/dbaccess/source/sdbtools/connection/objectnames.cxx index 9e24c49c31f8..d48f14e3efc0 100644 --- a/dbaccess/source/sdbtools/connection/objectnames.cxx +++ b/dbaccess/source/sdbtools/connection/objectnames.cxx @@ -206,7 +206,7 @@ namespace sdbtools PNameValidation m_pSecondary; public: - CombinedNameCheck( PNameValidation _pPrimary, PNameValidation _pSecondary ) + CombinedNameCheck(const PNameValidation& _pPrimary, const PNameValidation& _pSecondary) :m_pPrimary( _pPrimary ) ,m_pSecondary( _pSecondary ) { -- cgit