summaryrefslogtreecommitdiff
path: root/sw/inc/swscanner.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-09-06 08:50:58 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-09-06 09:54:25 +0200
commit24eae7bd702f3f6dd790be7ac38ac16e9fe6a375 (patch)
tree56398264184709e84517c2e843aa3a0894cc1c51 /sw/inc/swscanner.hxx
parentfad919eb0d30b2303193e1c00ba765514957652c (diff)
clang-tidy performance-unnecessary-value-param
Change-Id: I69247498e13331f6ef84afeb242479f8fb1178a8 Reviewed-on: https://gerrit.libreoffice.org/60068 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/inc/swscanner.hxx')
-rw-r--r--sw/inc/swscanner.hxx9
1 files changed, 3 insertions, 6 deletions
diff --git a/sw/inc/swscanner.hxx b/sw/inc/swscanner.hxx
index 70793def9257..de273d679b8b 100644
--- a/sw/inc/swscanner.hxx
+++ b/sw/inc/swscanner.hxx
@@ -47,12 +47,9 @@ class SwScanner
bool m_bClip;
public:
- SwScanner( std::function<LanguageType (sal_Int32, sal_Int32, bool)> pGetLangOfChar,
- const OUString& rText,
- const LanguageType* pLang,
- const ModelToViewHelper& rConvMap,
- sal_uInt16 nWordType,
- sal_Int32 nStart, sal_Int32 nEnde, bool bClip = false );
+ SwScanner(const std::function<LanguageType(sal_Int32, sal_Int32, bool)>& pGetLangOfChar,
+ const OUString& rText, const LanguageType* pLang, const ModelToViewHelper& rConvMap,
+ sal_uInt16 nWordType, sal_Int32 nStart, sal_Int32 nEnde, bool bClip = false);
SwScanner( const SwTextNode& rNd, const OUString& rText,
const LanguageType* pLang,
const ModelToViewHelper& rConvMap,