summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-07-27 21:08:23 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-07-28 16:51:51 +0200
commitff41cf1b8dbeb36b8824257acb5c5ba272415108 (patch)
treef10fd5ac3dac8b21ab0540a2fc66ee3ebaf16a7e /svx
parent9c9e5b5ee7f1144c20624ac9471354a218638175 (diff)
loplugin:oncevar
Change-Id: I3c014f53607a849c743a2fd1aa47d03d5af978fb Reviewed-on: https://gerrit.libreoffice.org/76495 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx')
-rw-r--r--svx/source/dialog/_contdlg.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/svx/source/dialog/_contdlg.cxx b/svx/source/dialog/_contdlg.cxx
index cc7da3c25fd6..13a3581257b7 100644
--- a/svx/source/dialog/_contdlg.cxx
+++ b/svx/source/dialog/_contdlg.cxx
@@ -87,7 +87,6 @@ tools::PolyPolygon SvxContourDlg::CreateAutoContour( const Graphic& rGraphic,
{
Bitmap aBmp;
bool bContourEdgeDetect = false;
- bool bContourVert = false;
if ( rGraphic.GetType() == GraphicType::Bitmap )
{
@@ -164,7 +163,7 @@ tools::PolyPolygon SvxContourDlg::CreateAutoContour( const Graphic& rGraphic,
aBmp.SetPrefSize( rGraphic.GetPrefSize() );
aBmp.SetPrefMapMode( rGraphic.GetPrefMapMode() );
- return tools::PolyPolygon( BitmapEx(aBmp).GetContour( bContourEdgeDetect, bContourVert, pRect ) );
+ return tools::PolyPolygon( BitmapEx(aBmp).GetContour( bContourEdgeDetect, /*bContourVert*/false, pRect ) );
}
// Loop through to super class, no virtual Methods to not become incompatible