[Libreoffice-commits] core.git: include/vcl vcl/source

Chris Sherlock chris.sherlock79 at gmail.com
Sat Nov 1 20:04:16 PDT 2014


 include/vcl/outdev.hxx         |    2 +-
 vcl/source/outdev/polyline.cxx |    6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

New commits:
commit b167d1127e1579468a74c4414e7f4f33d9d24122
Author: Chris Sherlock <chris.sherlock79 at gmail.com>
Date:   Sun Nov 2 12:38:16 2014 +1100

    vcl: rename OutputDevice::DrawPolyLineWithLineInfo() to drawPolyLine()
    
    Change-Id: I145ebcfb92fc75f4558d3bf090093aef9e848136
    Reviewed-on: https://gerrit.libreoffice.org/12188
    Reviewed-by: Chris Sherlock <chris.sherlock79 at gmail.com>
    Tested-by: Chris Sherlock <chris.sherlock79 at gmail.com>

diff --git a/include/vcl/outdev.hxx b/include/vcl/outdev.hxx
index 0a775db..e96f47f 100644
--- a/include/vcl/outdev.hxx
+++ b/include/vcl/outdev.hxx
@@ -737,7 +737,7 @@ private:
     // #i101491#
     // 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
-    SAL_DLLPRIVATE void         DrawPolyLineWithLineInfo(const Polygon& rPoly, const LineInfo& rLineInfo);
+    SAL_DLLPRIVATE void         drawPolyLine(const Polygon& rPoly, const LineInfo& rLineInfo);
 
 
     // #i101491#
diff --git a/vcl/source/outdev/polyline.cxx b/vcl/source/outdev/polyline.cxx
index d0f2f61..89e27c7 100644
--- a/vcl/source/outdev/polyline.cxx
+++ b/vcl/source/outdev/polyline.cxx
@@ -126,7 +126,7 @@ void OutputDevice::DrawPolyLine( const Polygon& rPoly, const LineInfo& rLineInfo
     if ( mpMetaFile )
         mpMetaFile->AddAction( new MetaPolyLineAction( rPoly, rLineInfo ) );
 
-    DrawPolyLineWithLineInfo(rPoly, rLineInfo);
+    drawPolyLine(rPoly, rLineInfo);
 }
 
 void OutputDevice::DrawPolyLine( const basegfx::B2DPolygon& rB2DPolygon,
@@ -226,11 +226,11 @@ void OutputDevice::DrawPolyLine( const basegfx::B2DPolygon& rB2DPolygon,
         if( fLineWidth != 0.0 )
             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());
 


More information about the Libreoffice-commits mailing list