summaryrefslogtreecommitdiff
path: root/oox/qa
diff options
context:
space:
mode:
authorXisco Fauli <xiscofauli@libreoffice.org>2022-11-03 17:20:11 +0100
committerXisco Fauli <xiscofauli@libreoffice.org>2022-11-03 23:22:14 +0100
commit2640796d90ad4c69f5093e7b3353d43b647901e1 (patch)
tree3649e5a94f17083d1cbd50d85dd2651b92f7396b /oox/qa
parentc5e872e06a070ff8e90f644036981fa202c2b1e0 (diff)
UnoApiTest: make mbSkipValidation private
Change-Id: Icc292b40b3295e7890f81d448bb4907725f46970 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142245 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'oox/qa')
-rw-r--r--oox/qa/unit/export.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/oox/qa/unit/export.cxx b/oox/qa/unit/export.cxx
index 3b01de830343..157e8cd60e87 100644
--- a/oox/qa/unit/export.cxx
+++ b/oox/qa/unit/export.cxx
@@ -67,7 +67,7 @@ CPPUNIT_TEST_FIXTURE(Test, testRotatedShapePosition)
loadFromURL(u"tdf141786_RotatedShapeInGroup.odt");
// FIXME: validation error in OOXML export: Errors: 3
- mbSkipValidation = true;
+ skipValidation();
// When saving that to DOCX:
utl::TempFileNamed aTempFile = save("Office Open XML Text");
@@ -89,7 +89,7 @@ CPPUNIT_TEST_FIXTURE(Test, testDmlGroupshapePolygon)
loadFromURL(u"dml-groupshape-polygon.docx");
// FIXME: validation error in OOXML export: Errors: 9
- mbSkipValidation = true;
+ skipValidation();
// When saving that to DOCX:
utl::TempFileNamed aTempFile = save("Office Open XML Text");
@@ -110,7 +110,7 @@ CPPUNIT_TEST_FIXTURE(Test, testCustomShapeArrowExport)
loadFromURL(u"tdf142602_CustomShapeArrows.odt");
// FIXME: validation error in OOXML export: Errors: 11
- mbSkipValidation = true;
+ skipValidation();
// When saving that to DOCX:
utl::TempFileNamed aTempFile = save("Office Open XML Text");
@@ -572,7 +572,7 @@ CPPUNIT_TEST_FIXTURE(Test, testTdf109169_OctagonBevel)
loadFromURL(u"tdf109169_OctagonBevel.odt");
// FIXME: validation error in OOXML export: Errors: 1
- mbSkipValidation = true;
+ skipValidation();
// Export to docx had not written a:fill or a:stroke attributes at all.
utl::TempFileNamed aTempFile = save("Office Open XML Text");