cppcanvas/source/mtfrenderer/polypolyaction.cxx | 6 +++--- editeng/inc/editdoc.hxx | 2 +- editeng/source/editeng/editdoc.cxx | 4 ++-- sot/source/sdstor/stgdir.cxx | 3 +-- sot/source/sdstor/stgdir.hxx | 2 +- sw/uiconfig/swriter/ui/textgridpage.ui | 2 +- 6 files changed, 9 insertions(+), 10 deletions(-)
New commits: commit f13008a81f15bcb3487923b7dfade7899e568661 Author: Olivier Hallot <olivier.hal...@libreoffice.org> AuthorDate: Mon Jun 13 12:49:31 2022 -0300 Commit: Xisco Fauli <xiscofa...@libreoffice.org> CommitDate: Wed Jun 15 06:26:40 2022 +0200 Fix extended tip of textgridpage.ui Change-Id: I2c59a0c3299aec96b27b37d95cfe4343a064f148 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135766 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hal...@libreoffice.org> (cherry picked from commit f004c9fd176b42435cfde8dbe6ccee55cbce40d2) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135843 Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org> diff --git a/sw/uiconfig/swriter/ui/textgridpage.ui b/sw/uiconfig/swriter/ui/textgridpage.ui index 583361f62987..da868b5ad423 100644 --- a/sw/uiconfig/swriter/ui/textgridpage.ui +++ b/sw/uiconfig/swriter/ui/textgridpage.ui @@ -360,7 +360,7 @@ <property name="truncate-multiline">True</property> <child internal-child="accessible"> <object class="AtkObject" id="spinMF_RUBYSIZE-atkobject"> - <property name="AtkObject::accessible-description" translatable="yes" context="textgridpage|extended_tip|spinMF_RUBYSIZE">Enter the font size for the Ruby text.</property> + <property name="AtkObject::accessible-description" translatable="yes" context="textgridpage|extended_tip|spinMF_RUBYSIZE">Enter the maximum font size for the Ruby text.</property> </object> </child> </object> commit 519e296e4fe2f2587d3faf236dd8172101f7f7df Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Tue Jun 14 08:43:54 2022 +0100 Commit: Xisco Fauli <xiscofa...@libreoffice.org> CommitDate: Wed Jun 15 06:26:28 2022 +0200 cid#1504592 Big parameter passed by value and cid#1504665 Big parameter passed by value cid#1505368 Big parameter passed by value revert the clang-tidy modernize-pass-by-value changes that coverity warns about Change-Id: Id92fdc8d1caeed9eaf7ff1e9e745938e5a971a34 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135803 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> (cherry picked from commit 8b6c8e624b1257a2221e8f98ba71112eae86c795) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135753 Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org> diff --git a/cppcanvas/source/mtfrenderer/polypolyaction.cxx b/cppcanvas/source/mtfrenderer/polypolyaction.cxx index 14ae52d8b2cf..7f499be1ebe0 100644 --- a/cppcanvas/source/mtfrenderer/polypolyaction.cxx +++ b/cppcanvas/source/mtfrenderer/polypolyaction.cxx @@ -227,7 +227,7 @@ namespace cppcanvas::internal TexturedPolyPolyAction( const ::basegfx::B2DPolyPolygon& rPoly, const CanvasSharedPtr& rCanvas, const OutDevState& rState, - rendering::Texture aTexture ); + const rendering::Texture& rTexture ); virtual bool renderSubset( const ::basegfx::B2DHomMatrix& rTransformation, const Subset& rSubset ) const override; @@ -255,12 +255,12 @@ namespace cppcanvas::internal TexturedPolyPolyAction::TexturedPolyPolyAction( const ::basegfx::B2DPolyPolygon& rPolyPoly, const CanvasSharedPtr& rCanvas, const OutDevState& rState, - rendering::Texture aTexture ) : + const rendering::Texture& rTexture ) : CachedPrimitiveBase( rCanvas, true ), mxPolyPoly( ::basegfx::unotools::xPolyPolygonFromB2DPolyPolygon( rCanvas->getUNOCanvas()->getDevice(), rPolyPoly) ), maBounds( ::basegfx::utils::getRange(rPolyPoly) ), mpCanvas( rCanvas ), - maTexture(std::move( aTexture )) + maTexture( rTexture ) { tools::initRenderState(maState,rState); } diff --git a/editeng/inc/editdoc.hxx b/editeng/inc/editdoc.hxx index 12532fde7e73..6ce00d05c40b 100644 --- a/editeng/inc/editdoc.hxx +++ b/editeng/inc/editdoc.hxx @@ -244,7 +244,7 @@ private: public: ContentNode( SfxItemPool& rItemPool ); - ContentNode( OUString aStr, ContentAttribs aContentAttribs ); + ContentNode( const OUString& rStr, const ContentAttribs& rContentAttribs ); ~ContentNode(); ContentNode(const ContentNode&) = delete; ContentNode& operator=(const ContentNode&) = delete; diff --git a/editeng/source/editeng/editdoc.cxx b/editeng/source/editeng/editdoc.cxx index 7621f7c0cd3f..41a8cf20f1b8 100644 --- a/editeng/source/editeng/editdoc.cxx +++ b/editeng/source/editeng/editdoc.cxx @@ -1193,8 +1193,8 @@ ContentNode::ContentNode( SfxItemPool& rPool ) : aContentAttribs( rPool ) { } -ContentNode::ContentNode( OUString aStr, ContentAttribs _aContentAttribs ) : - maString(std::move(aStr)), aContentAttribs(std::move(_aContentAttribs)) +ContentNode::ContentNode( const OUString& rStr, const ContentAttribs& rContentAttribs ) : + maString(rStr), aContentAttribs(rContentAttribs) { } diff --git a/sot/source/sdstor/stgdir.cxx b/sot/source/sdstor/stgdir.cxx index ee70d390542e..69ca094f370f 100644 --- a/sot/source/sdstor/stgdir.cxx +++ b/sot/source/sdstor/stgdir.cxx @@ -28,7 +28,6 @@ #include <sal/log.hxx> #include <memory> -#include <utility> //////////////////////////// class StgDirEntry @@ -53,7 +52,7 @@ StgDirEntry::StgDirEntry( const void* pBuffer, sal_uInt32 nBufferLen, sal_uInt64 InitMembers(); } -StgDirEntry::StgDirEntry( StgEntry r ) : m_aEntry(std::move( r )) +StgDirEntry::StgDirEntry( const StgEntry& r ) : m_aEntry( r ) { InitMembers(); } diff --git a/sot/source/sdstor/stgdir.hxx b/sot/source/sdstor/stgdir.hxx index 5044dc48f313..3605c27ac03d 100644 --- a/sot/source/sdstor/stgdir.hxx +++ b/sot/source/sdstor/stgdir.hxx @@ -59,7 +59,7 @@ public: bool m_bInvalid; // true: invalid entry StgDirEntry(const void* pBuffer, sal_uInt32 nBufferLen, sal_uInt64 nUnderlyingStreamSize, bool * pbOk); - explicit StgDirEntry( StgEntry ); + explicit StgDirEntry( const StgEntry& ); virtual ~StgDirEntry() override; void Invalidate( bool ); // invalidate all open entries