From 2db8b3a81554735552e366ebbad1227579dee4ca Mon Sep 17 00:00:00 2001 From: Armin Le Grand Date: Thu, 21 Jul 2016 18:20:00 +0200 Subject: screenshots: add dialog test cases for writer Writer has currently no known dialogs that get created with an opened writer document. There are some ui files that do not work with fallback (7), but most work (167). Not all look good, though. Change-Id: I92a6a5077e3a8c93148e162455093399ba1f99ed --- sc/qa/unit/screenshots/data/screenshots.txt | 5 +++-- sc/qa/unit/screenshots/screenshots.cxx | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'sc') diff --git a/sc/qa/unit/screenshots/data/screenshots.txt b/sc/qa/unit/screenshots/data/screenshots.txt index 40a362915d27..f2baf820ad98 100644 --- a/sc/qa/unit/screenshots/data/screenshots.txt +++ b/sc/qa/unit/screenshots/data/screenshots.txt @@ -41,8 +41,9 @@ modules/scalc/ui/formatcellsdialog.ui # be visualized using a fallback based on VclBuilder # -# modules/scalc/ui/headerfootercontent.ui <- deactivated, leads to problems and the test to not work -# modules/scalc/ui/pivottablelayoutdialog.ui <- deactivated, leads to problems and the test to not work +# deactivated, leads to problems and the test to not work +# modules/scalc/ui/headerfootercontent.ui +# modules/scalc/ui/pivottablelayoutdialog.ui modules/scalc/ui/autoformattable.ui modules/scalc/ui/sortwarning.ui diff --git a/sc/qa/unit/screenshots/screenshots.cxx b/sc/qa/unit/screenshots/screenshots.cxx index 927ec010af04..255fe9ca580c 100644 --- a/sc/qa/unit/screenshots/screenshots.cxx +++ b/sc/qa/unit/screenshots/screenshots.cxx @@ -283,7 +283,7 @@ void ScScreenshotTest::testOpeningModalDialogs() OUString aURL = aDirectories.getURLFromSrc("sc/qa/unit/screenshots/data/screenshots.txt"); SvFileStream aStream(aURL, StreamMode::READ); OString aNextUIFile; - OString aComment("#"); + const OString aComment("#"); while (aStream.ReadLine(aNextUIFile)) { -- cgit v1.2.3