summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-10-05 14:01:15 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-10-05 14:01:35 +0100
commit03268fc84e1c3a0fb588ddff340b052f70c5100a (patch)
tree3923819e9814ab4a3cf1beb7ed40382d85ac3603 /svtools
parent6c2d66e5257e46f8db438ae2151ba440870e2400 (diff)
rejig this to remove self-assign
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/filter/wmf/winmtf.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/svtools/source/filter/wmf/winmtf.hxx b/svtools/source/filter/wmf/winmtf.hxx
index 693190cee56c..a7c0b4874bfc 100644
--- a/svtools/source/filter/wmf/winmtf.hxx
+++ b/svtools/source/filter/wmf/winmtf.hxx
@@ -738,9 +738,9 @@ public:
const Point& rEndAngle
);
void DrawPolygon( Polygon& rPolygon, sal_Bool bRecordPath = sal_False );
- void DrawPolygon( Polygon& rPolygon, sal_Bool bDrawTo, sal_Bool bRecordPath)
- { //only for the template compatibility
- bDrawTo = bDrawTo; //to avoid complaints about unused parameter
+ void DrawPolygon( Polygon& rPolygon, sal_Bool /*bDrawTo*/, sal_Bool bRecordPath)
+ {
+ //For ReadAndDrawPolygon template compatibility
DrawPolygon(rPolygon, bRecordPath);
}
void DrawPolyPolygon( PolyPolygon& rPolyPolygon, sal_Bool bRecordPath = sal_False );