summaryrefslogtreecommitdiff
path: root/test/source/screenshot_test.cxx
diff options
context:
space:
mode:
authorArmin Le Grand <Armin.Le.Grand@cib.de>2016-07-28 17:10:15 +0200
committerThorsten Behrens <Thorsten.Behrens@CIB.de>2016-08-18 02:39:15 +0200
commit2bc4917a9b9f961e74f2953a82b1f3a01212f457 (patch)
treea5fbaf5cfcc31043d0095045ae42abe23a78ddfd /test/source/screenshot_test.cxx
parentb85600c9d49e555421612fdeca6c6316d192bbd6 (diff)
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
Diffstat (limited to 'test/source/screenshot_test.cxx')
-rw-r--r--test/source/screenshot_test.cxx4
1 files changed, 2 insertions, 2 deletions
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]))
{