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

Caolán McNamara caolanm at redhat.com
Wed Jan 18 15:36:55 UTC 2017


 vcl/source/gdi/textlayout.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 3d002fdb8738d9bbc9b04c0270510e349bd58149
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Wed Jan 18 15:35:47 2017 +0000

    Ref...DeviceTextLayout::GetTextArray is only called by Ref...DeviceTextLayout
    
    so set it as private to de-confuse this a little
    
    Change-Id: Idde7f78a767227cc2d52e417b6c39d12e1339745

diff --git a/vcl/source/gdi/textlayout.cxx b/vcl/source/gdi/textlayout.cxx
index 0c37fe7..7c9686e 100644
--- a/vcl/source/gdi/textlayout.cxx
+++ b/vcl/source/gdi/textlayout.cxx
@@ -84,10 +84,11 @@ namespace vcl
 
     public:
         // equivalents to the respective OutputDevice methods, which take the reference device into account
-        long        GetTextArray( const OUString& _rText, long* _pDXAry, sal_Int32 _nStartIndex, sal_Int32 _nLength ) const;
         Rectangle   DrawText( const Rectangle& _rRect, const OUString& _rText, DrawTextFlags _nStyle, MetricVector* _pVector, OUString* _pDisplayText );
 
     private:
+        long        GetTextArray( const OUString& _rText, long* _pDXAry, sal_Int32 _nStartIndex, sal_Int32 _nLength ) const;
+
         OutputDevice&   m_rTargetDevice;
         OutputDevice&   m_rReferenceDevice;
         Font            m_aUnzoomedPointFont;


More information about the Libreoffice-commits mailing list