Mercurial > hg > svgui
diff layer/SliceLayer.cpp @ 1251:9e1559b08f0d
Fix a couple of compiler warnings
author | Chris Cannam |
---|---|
date | Tue, 28 Feb 2017 14:47:13 +0000 |
parents | 4d0ca1ab4cd0 |
children | bbdfe9b57857 |
line wrap: on
line diff
--- a/layer/SliceLayer.cpp Tue Feb 28 14:33:31 2017 +0000 +++ b/layer/SliceLayer.cpp Tue Feb 28 14:47:13 2017 +0000 @@ -368,8 +368,6 @@ } int xorigin = getVerticalScaleWidth(v, true, paint) + 1; - int w = v->getPaintWidth() - xorigin - 1; - m_xorigins[v->getId()] = xorigin; // for use in getFeatureDescription int yorigin = v->getPaintHeight() - 20 - paint.fontMetrics().height() - 7;