diff options
author | Noel Grandin <noel@peralex.com> | 2016-04-11 11:20:44 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-04-11 11:38:57 +0200 |
commit | 5cf725b626428b09072e6a3464765c3069f1e43f (patch) | |
tree | b3bd6cd6cefa91a4962e3eee9b91713122562550 /editeng/source/outliner/outlin2.cxx | |
parent | fad7d4417e3b4a9d0dda505d4b9aa99d2715aa54 (diff) |
clang-tidy performance-unnecessary-value-param in editeng
Change-Id: Idfebcc36c756023e491baf2c4259bd580785dd44
Diffstat (limited to 'editeng/source/outliner/outlin2.cxx')
-rw-r--r-- | editeng/source/outliner/outlin2.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editeng/source/outliner/outlin2.cxx b/editeng/source/outliner/outlin2.cxx index 7126a918a867..927b947b3d2a 100644 --- a/editeng/source/outliner/outlin2.cxx +++ b/editeng/source/outliner/outlin2.cxx @@ -153,7 +153,7 @@ bool Outliner::UpdateFields() return pEditEngine->UpdateFields(); } -void Outliner::RemoveFields( std::function<bool ( const SvxFieldData* )> isFieldData ) +void Outliner::RemoveFields( const std::function<bool ( const SvxFieldData* )>& isFieldData ) { pEditEngine->RemoveFields( isFieldData ); } @@ -398,7 +398,7 @@ Reference< XSpellChecker1 > Outliner::GetSpeller() return pEditEngine->GetSpeller(); } -void Outliner::SetForbiddenCharsTable( rtl::Reference<SvxForbiddenCharactersTable> xForbiddenChars ) +void Outliner::SetForbiddenCharsTable( const rtl::Reference<SvxForbiddenCharactersTable>& xForbiddenChars ) { EditEngine::SetForbiddenCharsTable( xForbiddenChars ); } |