From 850964c29c9a11aaafddaac69ffd1ae19f78ead1 Mon Sep 17 00:00:00 2001 From: Mike Kaganski Date: Tue, 23 Aug 2016 16:36:20 +1000 Subject: [loplugin] Change-Id: Ie10af82c5c6e0cb5bb727fa95f92cc590e05b8fa Reviewed-on: https://gerrit.libreoffice.org/28342 Reviewed-by: Mike Kaganski Tested-by: Mike Kaganski --- vcl/backendtest/VisualBackendTest.cxx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'vcl/backendtest') diff --git a/vcl/backendtest/VisualBackendTest.cxx b/vcl/backendtest/VisualBackendTest.cxx index 9388ed01ee47..c944eecdffec 100644 --- a/vcl/backendtest/VisualBackendTest.cxx +++ b/vcl/backendtest/VisualBackendTest.cxx @@ -112,7 +112,7 @@ private: public: VisualBackendTestWindow() - : WorkWindow(NULL, WB_APP | WB_STDWORK) + : WorkWindow(nullptr, WB_APP | WB_STDWORK) , mnNumberOfTests(6) , mnTest(10 * mnNumberOfTests) , mbAnimate(mnTest % mnNumberOfTests == mnNumberOfTests - 1) @@ -163,7 +163,7 @@ public: } } - std::vector setupRegions(int nPartitionsX, int nPartitionsY, int nWidth, int nHeight) + static std::vector setupRegions(int nPartitionsX, int nPartitionsY, int nWidth, int nHeight) { std::vector aRegions; @@ -182,7 +182,7 @@ public: return aRegions; } - void testRectangles(vcl::RenderContext& rRenderContext, int nWidth, int nHeight) + static void testRectangles(vcl::RenderContext& rRenderContext, int nWidth, int nHeight) { Rectangle aRectangle; size_t index = 0; @@ -238,7 +238,7 @@ public: } } - void testFilledRectangles(vcl::RenderContext& rRenderContext, int nWidth, int nHeight) + static void testFilledRectangles(vcl::RenderContext& rRenderContext, int nWidth, int nHeight) { Rectangle aRectangle; size_t index = 0; @@ -292,7 +292,7 @@ public: } } - void testLines(vcl::RenderContext& rRenderContext, int nWidth, int nHeight) + static void testLines(vcl::RenderContext& rRenderContext, int nWidth, int nHeight) { Rectangle aRectangle; size_t index = 0; @@ -343,7 +343,7 @@ public: } } - void testBitmaps(vcl::RenderContext& rRenderContext, int nWidth, int nHeight) + static void testBitmaps(vcl::RenderContext& rRenderContext, int nWidth, int nHeight) { Rectangle aRectangle; size_t index = 0; @@ -440,7 +440,7 @@ public: Point(), mpVDev->GetOutputSizePixel(), *mpVDev.get()); rRenderContext.SetTextColor(COL_LIGHTRED); - rRenderContext.DrawText(Point(10, 10), OUString("FPS: ") + OUString::number(int(fps))); + rRenderContext.DrawText(Point(10, 10), "FPS: " + OUString::number(int(fps))); return; } -- cgit