diff options
author | Noel Grandin <noel@peralex.com> | 2014-03-17 09:14:55 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-03-17 13:30:51 +0200 |
commit | 769a6c20c4eb9e081cdc46dd638f67927fc7bc25 (patch) | |
tree | ef7c0e04c12897d8b73a2b2e3de3df477f83f37c /sw/source/core/doc/list.cxx | |
parent | 006df8a7f77d79d5ab2d8da053552a0ccc3dcd7a (diff) |
sw: prefer passing OUString by reference
Change-Id: Iaa846ec8f19567f0a9f30154d74cc53df93eff16
Diffstat (limited to 'sw/source/core/doc/list.cxx')
-rw-r--r-- | sw/source/core/doc/list.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/core/doc/list.cxx b/sw/source/core/doc/list.cxx index a37778aa7bd4..71c7cee112ae 100644 --- a/sw/source/core/doc/list.cxx +++ b/sw/source/core/doc/list.cxx @@ -30,7 +30,7 @@ class SwListImpl { public: - SwListImpl( const OUString sListId, + SwListImpl( const OUString& sListId, SwNumRule& rDefaultListStyle, const SwNodes& rNodes ); ~SwListImpl(); @@ -67,7 +67,7 @@ class SwListImpl void NotifyItemsOnListLevel( const int nLevel ); }; -SwListImpl::SwListImpl( const OUString sListId, +SwListImpl::SwListImpl( const OUString& sListId, SwNumRule& rDefaultListStyle, const SwNodes& rNodes ) : msListId( sListId ), @@ -220,7 +220,7 @@ void SwListImpl::NotifyItemsOnListLevel( const int nLevel ) } // SwList --------------------------------------------------------------------- -SwList::SwList( const OUString sListId, +SwList::SwList( const OUString& sListId, SwNumRule& rDefaultListStyle, const SwNodes& rNodes ) : mpListImpl( new SwListImpl( sListId, rDefaultListStyle, rNodes ) ) |