From 2bc4917a9b9f961e74f2953a82b1f3a01212f457 Mon Sep 17 00:00:00 2001 From: Armin Le Grand Date: Thu, 28 Jul 2016 17:10:15 +0200 Subject: screenshots: clang plugin & tabpage usage fixes Adapted clang compiler results, made TabDialog implementaions of ScreenShot API work with real UXMLDescription names, including a solution for using multiple tabPages with the same *.ui file Change-Id: I56df878b3db3bcc18fa2b4713b7ad72d42e8eb30 --- test/source/screenshot_test.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/source') diff --git a/test/source/screenshot_test.cxx b/test/source/screenshot_test.cxx index a700b8d928e8..012623a42c8c 100644 --- a/test/source/screenshot_test.cxx +++ b/test/source/screenshot_test.cxx @@ -131,7 +131,7 @@ void ScreenshotTest::dumpDialogToPath(VclAbstractDialog& rDialog) if (aPageDescriptions.size()) { - for (sal_uInt32 a(0); a < aPageDescriptions.size(); a++) + for (size_t a(0); a < aPageDescriptions.size(); a++) { if (rDialog.selectPageByUIXMLDescription(aPageDescriptions[a])) { @@ -155,7 +155,7 @@ void ScreenshotTest::dumpDialogToPath(Dialog& rDialog) if (aPageDescriptions.size()) { - for (sal_uInt32 a(0); a < aPageDescriptions.size(); a++) + for (size_t a(0); a < aPageDescriptions.size(); a++) { if (rDialog.selectPageByUIXMLDescription(aPageDescriptions[a])) { -- cgit v1.2.3