[Libreoffice-commits] core.git: svx/source
Stephan Bergmann
sbergman at redhat.com
Fri Jun 30 15:30:11 UTC 2017
svx/source/svdraw/svdedtv1.cxx | 2 --
1 file changed, 2 deletions(-)
New commits:
commit 8549242f483bc5151508ed28cc8e217e776bbfab
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Fri Jun 30 17:28:08 2017 +0200
aObjName, bObjNameDC, bObjNameSet have effectively been unused
...ever since fd069bee7e57ad529c3c0974559fd2d84ec3151a "initial import", but got
only partially cleaned up with 6561fc32afaa0ca992ae988b6d08c62e3e516d43
"loplugin:oncevar in svx"
Change-Id: I0bd9b944939ab311e78e41d61b36e6e8bae5cd89
diff --git a/svx/source/svdraw/svdedtv1.cxx b/svx/source/svdraw/svdedtv1.cxx
index 243a9ee5869f..2a6a33a91bd2 100644
--- a/svx/source/svdraw/svdedtv1.cxx
+++ b/svx/source/svdraw/svdedtv1.cxx
@@ -791,7 +791,6 @@ void SdrEditView::MergeNotPersistAttrFromMarked(SfxItemSet& rAttr) const
bool bVisible = true, bVisibleDC = false;
SdrLayerID nLayerId(0);
bool bLayerDC=false;
- OUString aObjName;
long nSnapPosX=0; bool bSnapPosXDC=false;
long nSnapPosY=0; bool bSnapPosYDC=false;
long nSnapWdt=0; bool bSnapWdtDC=false;
@@ -847,7 +846,6 @@ void SdrEditView::MergeNotPersistAttrFromMarked(SfxItemSet& rAttr) const
if (!bLogicHgtDiff && aSnapRect.GetHeight()!=aLogicRect.GetHeight()) bLogicHgtDiff=true;
}
}
- aObjName=pObj->GetName();
}
if (bSnapPosXDC || nAllSnapPosX!=nSnapPosX) rAttr.Put(SdrAllPositionXItem(nAllSnapPosX));
More information about the Libreoffice-commits
mailing list