[Libreoffice-commits] core.git: svx/source

Stephan Bergmann (via logerrit) logerrit at kemper.freedesktop.org
Tue Jun 8 12:20:12 UTC 2021


 svx/source/svdraw/svdoedge.cxx |    2 --
 1 file changed, 2 deletions(-)

New commits:
commit 064a13e94e9b38bc88381b5c497cf6c9ddbe93e4
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Tue Jun 8 11:55:43 2021 +0200
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Tue Jun 8 14:19:31 2021 +0200

    -Werror,-Wunused-but-set-variable (Clang 13 trunk)
    
    ...ever since the code's introduction in
    ea1ca189b561e47d3b872f40628e6af224355626 "added api for glue points"
    
    Change-Id: I221632d243c8c778c711c3f001676ff26043d0fa
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116825
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>

diff --git a/svx/source/svdraw/svdoedge.cxx b/svx/source/svdraw/svdoedge.cxx
index c9411425e2e5..3f4dc2b282f9 100644
--- a/svx/source/svdraw/svdoedge.cxx
+++ b/svx/source/svdraw/svdoedge.cxx
@@ -2560,8 +2560,6 @@ void SdrEdgeObj::SetTailPoint( bool bTail, const Point& rPt )
 */
 void SdrEdgeObj::setGluePointIndex( bool bTail, sal_Int32 nIndex /* = -1 */ )
 {
-    tools::Rectangle aBoundRect0; if (m_pUserCall!=nullptr) aBoundRect0=GetCurrentBoundRect();
-
     SdrObjConnection& rConn1 = GetConnection( bTail );
 
     rConn1.SetAutoVertex( nIndex >= 0 && nIndex <= 3 );


More information about the Libreoffice-commits mailing list