diff options
author | Noel Grandin <noel@peralex.com> | 2014-03-13 09:34:37 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-03-13 11:05:53 +0200 |
commit | 0dc38bdde056cf33a545d85f9e1211f06d579ff7 (patch) | |
tree | 311cb26b3dbafdee92fe96effecc205a7aee50df /include/svl | |
parent | 3075b062261435d568d0680c3405ca61a7a40f39 (diff) |
sfx2,svl: prefer passing OUString and OString by reference
Change-Id: I9833265f6e635a057cea2c4a945cc73809b1e2ef
Diffstat (limited to 'include/svl')
-rw-r--r-- | include/svl/itemprop.hxx | 2 | ||||
-rw-r--r-- | include/svl/undo.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/svl/itemprop.hxx b/include/svl/itemprop.hxx index daa3bd5c850d..d1071b1644db 100644 --- a/include/svl/itemprop.hxx +++ b/include/svl/itemprop.hxx @@ -91,7 +91,7 @@ public: const SfxItemPropertySimpleEntry* getByName( const OUString &rName ) const; com::sun::star::uno::Sequence< com::sun::star::beans::Property > getProperties() const; - com::sun::star::beans::Property getPropertyByName( const OUString rName ) const + com::sun::star::beans::Property getPropertyByName( const OUString & rName ) const throw( ::com::sun::star::beans::UnknownPropertyException ); bool hasPropertyByName( const OUString& rName ) const; diff --git a/include/svl/undo.hxx b/include/svl/undo.hxx index af00e6ce0bf3..2f86d205e646 100644 --- a/include/svl/undo.hxx +++ b/include/svl/undo.hxx @@ -166,7 +166,7 @@ class SVL_DLLPUBLIC SfxListUndoAction : public SfxUndoAction, public SfxUndoArra TYPEINFO(); SfxListUndoAction( const OUString &rComment, - const OUString rRepeatComment, sal_uInt16 Id, SfxUndoArray *pFather); + const OUString& rRepeatComment, sal_uInt16 Id, SfxUndoArray *pFather); virtual void Undo(); virtual void UndoWithContext( SfxUndoContext& i_context ); virtual void Redo(); |