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

Stephan Bergmann sbergman at redhat.com
Wed Mar 9 23:02:59 UTC 2016


 vcl/workben/vcldemo.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 6a96ad54ee202adbc0cbe2b84156c270c906db40
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu Mar 10 00:02:18 2016 +0100

    loplugin:staticmethods
    
    Change-Id: Ieaebacd43fa27b91b1ab3e6704bb591488954492

diff --git a/vcl/workben/vcldemo.cxx b/vcl/workben/vcldemo.cxx
index a7fc478..cd501b6 100644
--- a/vcl/workben/vcldemo.cxx
+++ b/vcl/workben/vcldemo.cxx
@@ -486,7 +486,7 @@ public:
             rDev.SetClipRegion();
         }
 
-        void drawComplex (OutputDevice &rDev, Rectangle r)
+        static void drawComplex (OutputDevice &rDev, Rectangle r)
         {
             const unsigned char pInvalid[] = { 0xfe, 0x1f };
             const unsigned char pDiacritic1[] = { 0x61, 0xcc, 0x8a, 0xcc, 0x8c };
@@ -601,7 +601,7 @@ public:
             rDev.SetClipRegion();
         }
         // render text, bbox, DX arrays etc.
-        long drawStringBox(OutputDevice &rDev, Point aPos,
+        static long drawStringBox(OutputDevice &rDev, Point aPos,
                            const OUString &aText,
                            long &nMaxTextHeight)
         {


More information about the Libreoffice-commits mailing list