summaryrefslogtreecommitdiff
path: root/include/svx/svdmodel.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-04-11 13:51:50 +0200
committerNoel Grandin <noel@peralex.com>2016-04-11 15:12:10 +0200
commite9cded40c8727cec7d0d29219c14ef0d0eef5195 (patch)
tree681cbe9b0cf1dc50f44efc0c46f3e08202e53690 /include/svx/svdmodel.hxx
parentc399630f9cd94bc570659c3bdfd6526e3532c46f (diff)
clang-tidy performance-unnecessary-value-param in svx
Change-Id: I3e8cd7cedb3e7b7ef05760d21b10994ce615324b
Diffstat (limited to 'include/svx/svdmodel.hxx')
-rw-r--r--include/svx/svdmodel.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/svx/svdmodel.hxx b/include/svx/svdmodel.hxx
index a6d5aaf4ddc7..9525e0cb3328 100644
--- a/include/svx/svdmodel.hxx
+++ b/include/svx/svdmodel.hxx
@@ -559,14 +559,14 @@ public:
void SetDisableTextEditUsesCommonUndoManager(bool bNew) { mbDisableTextEditUsesCommonUndoManager = bNew; }
css::uno::Reference< css::uno::XInterface > getUnoModel();
- void setUnoModel( css::uno::Reference< css::uno::XInterface > xModel );
+ void setUnoModel( const css::uno::Reference< css::uno::XInterface >& xModel );
// these functions are used by the api to disable repaints during a
// set of api calls.
bool isLocked() const { return mbModelLocked; }
void setLock( bool bLock );
- void SetForbiddenCharsTable( rtl::Reference<SvxForbiddenCharactersTable> xForbiddenChars );
+ void SetForbiddenCharsTable( const rtl::Reference<SvxForbiddenCharactersTable>& xForbiddenChars );
rtl::Reference<SvxForbiddenCharactersTable> GetForbiddenCharsTable() const { return mpForbiddenCharactersTable;}
void SetCharCompressType( sal_uInt16 nType );