summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorArmin Le Grand <Armin.Le.Grand@cib.de>2016-07-21 18:20:00 +0200
committerThorsten Behrens <Thorsten.Behrens@CIB.de>2016-08-18 02:39:12 +0200
commit2db8b3a81554735552e366ebbad1227579dee4ca (patch)
tree116334bf4543907c2ac47e3770642c59f11bf7dc /sc
parente56334255291a0ccb5165d7ceaa1391b906bb4de (diff)
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
Diffstat (limited to 'sc')
-rw-r--r--sc/qa/unit/screenshots/data/screenshots.txt5
-rw-r--r--sc/qa/unit/screenshots/screenshots.cxx2
2 files changed, 4 insertions, 3 deletions
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))
{