summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2021-06-08 11:55:43 +0200
committerStephan Bergmann <sbergman@redhat.com>2021-06-08 14:19:31 +0200
commit064a13e94e9b38bc88381b5c497cf6c9ddbe93e4 (patch)
tree84216f96d28e0ce397f78f88b358718d557d7a7b /svx
parent73edebb5ad8f8583367199bc7a48fd98a0147371 (diff)
-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@redhat.com>
Diffstat (limited to 'svx')
-rw-r--r--svx/source/svdraw/svdoedge.cxx2
1 files changed, 0 insertions, 2 deletions
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 );