summaryrefslogtreecommitdiff
path: root/include/editeng/outliner.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-04-11 11:20:44 +0200
committerNoel Grandin <noel@peralex.com>2016-04-11 11:38:57 +0200
commit5cf725b626428b09072e6a3464765c3069f1e43f (patch)
treeb3bd6cd6cefa91a4962e3eee9b91713122562550 /include/editeng/outliner.hxx
parentfad7d4417e3b4a9d0dda505d4b9aa99d2715aa54 (diff)
clang-tidy performance-unnecessary-value-param in editeng
Change-Id: Idfebcc36c756023e491baf2c4259bd580785dd44
Diffstat (limited to 'include/editeng/outliner.hxx')
-rw-r--r--include/editeng/outliner.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/editeng/outliner.hxx b/include/editeng/outliner.hxx
index d8c990a8e0ec..c385b48e765c 100644
--- a/include/editeng/outliner.hxx
+++ b/include/editeng/outliner.hxx
@@ -900,7 +900,7 @@ public:
void QuickFormatDoc();
bool UpdateFields();
- void RemoveFields( std::function<bool ( const SvxFieldData* )> isFieldData = [] (const SvxFieldData* ){return true;} );
+ void RemoveFields( const std::function<bool ( const SvxFieldData* )>& isFieldData = [] (const SvxFieldData* ){return true;} );
void FieldClicked( const SvxFieldItem& rField, sal_Int32 nPara, sal_Int32 nPos );
virtual OUString CalcFieldValue( const SvxFieldItem& rField, sal_Int32 nPara, sal_Int32 nPos, Color*& rTxtColor, Color*& rFldColor );
@@ -910,7 +910,7 @@ public:
GetSpeller();
void SetHyphenator( css::uno::Reference< css::linguistic2::XHyphenator >& xHyph );
- static void SetForbiddenCharsTable( rtl::Reference<SvxForbiddenCharactersTable> xForbiddenChars );
+ static void SetForbiddenCharsTable( const rtl::Reference<SvxForbiddenCharactersTable>& xForbiddenChars );
// Deprecated
void SetDefaultLanguage( LanguageType eLang );