Kaydet (Commit) b167d112 authored tarafından Chris Sherlock's avatar Chris Sherlock

vcl: rename OutputDevice::DrawPolyLineWithLineInfo() to drawPolyLine()

Change-Id: I145ebcfb92fc75f4558d3bf090093aef9e848136
Reviewed-on: https://gerrit.libreoffice.org/12188Reviewed-by: 's avatarChris Sherlock <chris.sherlock79@gmail.com>
Tested-by: 's avatarChris Sherlock <chris.sherlock79@gmail.com>
üst 06bde51c
...@@ -737,7 +737,7 @@ private: ...@@ -737,7 +737,7 @@ private:
// #i101491# // #i101491#
// Helper which holds the old line geometry creation and is extended to use AA when // Helper which holds the old line geometry creation and is extended to use AA when
// switched on. Advantage is that line geometry is only temporarily used for paint // switched on. Advantage is that line geometry is only temporarily used for paint
SAL_DLLPRIVATE void DrawPolyLineWithLineInfo(const Polygon& rPoly, const LineInfo& rLineInfo); SAL_DLLPRIVATE void drawPolyLine(const Polygon& rPoly, const LineInfo& rLineInfo);
// #i101491# // #i101491#
......
...@@ -126,7 +126,7 @@ void OutputDevice::DrawPolyLine( const Polygon& rPoly, const LineInfo& rLineInfo ...@@ -126,7 +126,7 @@ void OutputDevice::DrawPolyLine( const Polygon& rPoly, const LineInfo& rLineInfo
if ( mpMetaFile ) if ( mpMetaFile )
mpMetaFile->AddAction( new MetaPolyLineAction( rPoly, rLineInfo ) ); mpMetaFile->AddAction( new MetaPolyLineAction( rPoly, rLineInfo ) );
DrawPolyLineWithLineInfo(rPoly, rLineInfo); drawPolyLine(rPoly, rLineInfo);
} }
void OutputDevice::DrawPolyLine( const basegfx::B2DPolygon& rB2DPolygon, void OutputDevice::DrawPolyLine( const basegfx::B2DPolygon& rB2DPolygon,
...@@ -226,11 +226,11 @@ void OutputDevice::DrawPolyLine( const basegfx::B2DPolygon& rB2DPolygon, ...@@ -226,11 +226,11 @@ void OutputDevice::DrawPolyLine( const basegfx::B2DPolygon& rB2DPolygon,
if( fLineWidth != 0.0 ) if( fLineWidth != 0.0 )
aLineInfo.SetWidth( static_cast<long>(fLineWidth+0.5) ); aLineInfo.SetWidth( static_cast<long>(fLineWidth+0.5) );
DrawPolyLineWithLineInfo( aToolsPolygon, aLineInfo ); drawPolyLine( aToolsPolygon, aLineInfo );
} }
} }
void OutputDevice::DrawPolyLineWithLineInfo(const Polygon& rPoly, const LineInfo& rLineInfo) void OutputDevice::drawPolyLine(const Polygon& rPoly, const LineInfo& rLineInfo)
{ {
sal_uInt16 nPoints(rPoly.GetSize()); sal_uInt16 nPoints(rPoly.GetSize());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment