diff options
Diffstat (limited to 'sw/source')
-rw-r--r-- | sw/source/core/access/accpara.cxx | 2 | ||||
-rw-r--r-- | sw/source/filter/ww8/ww8par.hxx | 2 | ||||
-rw-r--r-- | sw/source/uibase/dbui/dbmgr.cxx | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/core/access/accpara.cxx b/sw/source/core/access/accpara.cxx index e8b502a31fc9..beef3e26026a 100644 --- a/sw/source/core/access/accpara.cxx +++ b/sw/source/core/access/accpara.cxx @@ -1426,7 +1426,7 @@ struct IndexCompare { const PropertyValue* pValues; explicit IndexCompare( const PropertyValue* pVals ) : pValues(pVals) {} - bool operator() ( const sal_Int32& a, const sal_Int32& b ) const + bool operator() ( sal_Int32 a, sal_Int32 b ) const { return (pValues[a].Name < pValues[b].Name); } diff --git a/sw/source/filter/ww8/ww8par.hxx b/sw/source/filter/ww8/ww8par.hxx index 8d0d0ebb9d2f..250bbc8d113a 100644 --- a/sw/source/filter/ww8/ww8par.hxx +++ b/sw/source/filter/ww8/ww8par.hxx @@ -512,7 +512,7 @@ public: const OUString& GetHlink() const { return maHlink; } void SetTarFrame( const OUString& rTarFrame ) { maTarFrame = rTarFrame; } const OUString& GetTarFrame() const { return maTarFrame; } - void SetShapeId( const sal_Int32& rShapeId ) { mnShapeId = rShapeId; } + void SetShapeId( sal_Int32 rShapeId ) { mnShapeId = rShapeId; } const sal_Int32& GetShapeId() const { return mnShapeId; } void SetName( const OUString& rName ) { maNameStr = rName; } const OUString& GetName() const { return maNameStr; } diff --git a/sw/source/uibase/dbui/dbmgr.cxx b/sw/source/uibase/dbui/dbmgr.cxx index d962b3862c87..92782781756c 100644 --- a/sw/source/uibase/dbui/dbmgr.cxx +++ b/sw/source/uibase/dbui/dbmgr.cxx @@ -1026,7 +1026,7 @@ static SfxObjectShell* lcl_CreateWorkingDocument( uno::Reference< mail::XMailMessage > lcl_CreateMailFromDoc( const SwMergeDescriptor &rMergeDescriptor, const OUString &sFileURL, const OUString &sMailRecipient, - const OUString &sMailBodyMimeType, const rtl_TextEncoding &sMailEncoding, + const OUString &sMailBodyMimeType, rtl_TextEncoding sMailEncoding, const OUString &sAttachmentMimeType ) { SwMailMessage* pMessage = new SwMailMessage; |