diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-03-06 15:49:35 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-03-06 17:08:55 +0000 |
commit | 567f51192483059ec57c16a6045141746d4b01f9 (patch) | |
tree | e3f998a5fc8466ab30a2e11aa7ea1d16c2523fa5 /dbaccess | |
parent | ef6f2490a697e7c23fea40c567f751db05f1bbbf (diff) |
V801: Decreased performance
Change-Id: I97c7977fdfea57b5d1c45ce0c5902b74cc719db9
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/core/dataaccess/documentdefinition.cxx | 4 | ||||
-rw-r--r-- | dbaccess/source/core/dataaccess/documentdefinition.hxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/dbaccess/source/core/dataaccess/documentdefinition.cxx b/dbaccess/source/core/dataaccess/documentdefinition.cxx index 63d51d7a25bd..03f0a3e8ffe3 100644 --- a/dbaccess/source/core/dataaccess/documentdefinition.cxx +++ b/dbaccess/source/core/dataaccess/documentdefinition.cxx @@ -1409,7 +1409,7 @@ bool ODocumentDefinition::saveAs() namespace { - void lcl_putLoadArgs( ::comphelper::NamedValueCollection& _io_rArgs, const optional_bool _bSuppressMacros, const optional_bool _bReadOnly ) + void lcl_putLoadArgs( ::comphelper::NamedValueCollection& _io_rArgs, const optional_bool& _bSuppressMacros, const optional_bool& _bReadOnly ) { if ( !!_bSuppressMacros ) { @@ -2111,7 +2111,7 @@ void SAL_CALL ODocumentDefinition::disposing( const lang::EventObject& /*Source* } void ODocumentDefinition::firePropertyChange( sal_Int32 i_nHandle, const Any& i_rNewValue, const Any& i_rOldValue, - bool i_bVetoable, const NotifierAccess ) + bool i_bVetoable, const NotifierAccess& ) { fire( &i_nHandle, &i_rNewValue, &i_rOldValue, 1, i_bVetoable ); } diff --git a/dbaccess/source/core/dataaccess/documentdefinition.hxx b/dbaccess/source/core/dataaccess/documentdefinition.hxx index 9a328e10119a..df68794cc346 100644 --- a/dbaccess/source/core/dataaccess/documentdefinition.hxx +++ b/dbaccess/source/core/dataaccess/documentdefinition.hxx @@ -190,7 +190,7 @@ public: const ::com::sun::star::uno::Any& i_rNewValue, const ::com::sun::star::uno::Any& i_rOldValue, bool i_bVetoable, - const NotifierAccess + const NotifierAccess& ); private: |