From 4b0daa9ce768aec2a891a129b10e71aead0ca369 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Toma=C5=BE=20Vajngerl?= Date: Tue, 7 Jul 2020 23:09:57 +0200 Subject: [PATCH] move Primitive2dXmlDump from drawinglayer::tools to drawinglayer NS MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit drawinglayer::tools causes conflicts with ::tools namespace, so better to move Primitive2dXmlDump out from this namespace as for inspecting purposes it ccan be injected into existing code which could break make it conflict and break compilation. Change-Id: I5f9e594b2b8b1dd24067fa5f5ca3cfc4eefb85cd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98627 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl --- .../source/tools/primitive2dxmldump.cxx | 4 +- emfio/qa/cppunit/emf/EmfImportTest.cxx | 10 ++-- .../drawinglayer/tools/primitive2dxmldump.hxx | 4 +- svgio/qa/cppunit/SvgImportTest.cxx | 58 +++++++++---------- svx/qa/unit/sdr.cxx | 2 +- svx/qa/unit/svdraw.cxx | 2 +- 6 files changed, 40 insertions(+), 40 deletions(-) diff --git a/drawinglayer/source/tools/primitive2dxmldump.cxx b/drawinglayer/source/tools/primitive2dxmldump.cxx index 7fd249697ac2..7e68a780a84c 100644 --- a/drawinglayer/source/tools/primitive2dxmldump.cxx +++ b/drawinglayer/source/tools/primitive2dxmldump.cxx @@ -44,7 +44,7 @@ using namespace drawinglayer::primitive2d; -namespace drawinglayer::tools +namespace drawinglayer { namespace @@ -451,6 +451,6 @@ void Primitive2dXmlDump::decomposeAndWrite( } } -} // end namespace drawinglayer::tools +} // end namespace drawinglayer /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/emfio/qa/cppunit/emf/EmfImportTest.cxx b/emfio/qa/cppunit/emf/EmfImportTest.cxx index ac435905d570..ca42b307211b 100644 --- a/emfio/qa/cppunit/emf/EmfImportTest.cxx +++ b/emfio/qa/cppunit/emf/EmfImportTest.cxx @@ -76,7 +76,7 @@ Primitive2DSequence Test::parseEmf(const OUString& aSource) void Test::checkRectPrimitive(Primitive2DSequence const & rPrimitive) { - drawinglayer::tools::Primitive2dXmlDump dumper; + drawinglayer::Primitive2dXmlDump dumper; xmlDocUniquePtr pDocument = dumper.dumpAndParse(comphelper::sequenceToContainer(rPrimitive)); CPPUNIT_ASSERT (pDocument); @@ -103,7 +103,7 @@ void Test::TestDrawString() // first, get the sequence of primitives and dump it Primitive2DSequence aSequence = parseEmf("/emfio/qa/cppunit/emf/data/TestDrawString.emf"); CPPUNIT_ASSERT_EQUAL(1, static_cast(aSequence.getLength())); - drawinglayer::tools::Primitive2dXmlDump dumper; + drawinglayer::Primitive2dXmlDump dumper; xmlDocUniquePtr pDocument = dumper.dumpAndParse(comphelper::sequenceToContainer(aSequence)); CPPUNIT_ASSERT (pDocument); @@ -125,7 +125,7 @@ void Test::TestDrawStringTransparent() // first, get the sequence of primitives and dump it Primitive2DSequence aSequence = parseEmf("/emfio/qa/cppunit/emf/data/TestDrawStringTransparent.emf"); CPPUNIT_ASSERT_EQUAL(1, static_cast(aSequence.getLength())); - drawinglayer::tools::Primitive2dXmlDump dumper; + drawinglayer::Primitive2dXmlDump dumper; xmlDocUniquePtr pDocument = dumper.dumpAndParse(comphelper::sequenceToContainer(aSequence)); CPPUNIT_ASSERT (pDocument); @@ -148,7 +148,7 @@ void Test::TestDrawLine() // first, get the sequence of primitives and dump it Primitive2DSequence aSequence = parseEmf("/emfio/qa/cppunit/emf/data/TestDrawLine.emf"); CPPUNIT_ASSERT_EQUAL(1, static_cast(aSequence.getLength())); - drawinglayer::tools::Primitive2dXmlDump dumper; + drawinglayer::Primitive2dXmlDump dumper; xmlDocUniquePtr pDocument = dumper.dumpAndParse(comphelper::sequenceToContainer(aSequence)); CPPUNIT_ASSERT (pDocument); @@ -162,7 +162,7 @@ void Test::TestLinearGradient() // This unit checks for a correct import of an EMF+ file with LinearGradient brush Primitive2DSequence aSequence = parseEmf("/emfio/qa/cppunit/emf/data/TestLinearGradient.emf"); CPPUNIT_ASSERT_EQUAL(1, static_cast(aSequence.getLength())); - drawinglayer::tools::Primitive2dXmlDump dumper; + drawinglayer::Primitive2dXmlDump dumper; xmlDocUniquePtr pDocument = dumper.dumpAndParse(comphelper::sequenceToContainer(aSequence)); CPPUNIT_ASSERT (pDocument); diff --git a/include/drawinglayer/tools/primitive2dxmldump.hxx b/include/drawinglayer/tools/primitive2dxmldump.hxx index f8712db35fb2..9dc06e7b674d 100644 --- a/include/drawinglayer/tools/primitive2dxmldump.hxx +++ b/include/drawinglayer/tools/primitive2dxmldump.hxx @@ -19,14 +19,14 @@ namespace tools { class XmlWriter; } -namespace drawinglayer::tools +namespace drawinglayer { class DRAWINGLAYER_DLLPUBLIC Primitive2dXmlDump final { private: std::vector maFilter; - void decomposeAndWrite(const drawinglayer::primitive2d::Primitive2DContainer& rPrimitive2DSequence, ::tools::XmlWriter& rWriter); + void decomposeAndWrite(const drawinglayer::primitive2d::Primitive2DContainer& rPrimitive2DSequence, tools::XmlWriter& rWriter); public: Primitive2dXmlDump(); diff --git a/svgio/qa/cppunit/SvgImportTest.cxx b/svgio/qa/cppunit/SvgImportTest.cxx index 8120241e227a..51d13d35fdec 100644 --- a/svgio/qa/cppunit/SvgImportTest.cxx +++ b/svgio/qa/cppunit/SvgImportTest.cxx @@ -127,7 +127,7 @@ Primitive2DSequence Test::parseSvg(const OUString& aSource) void Test::checkRectPrimitive(Primitive2DSequence const & rPrimitive) { - drawinglayer::tools::Primitive2dXmlDump dumper; + drawinglayer::Primitive2dXmlDump dumper; xmlDocUniquePtr pDocument = dumper.dumpAndParse(comphelper::sequenceToContainer(rPrimitive)); CPPUNIT_ASSERT (pDocument); @@ -183,7 +183,7 @@ void Test::testTdf87309() Primitive2DSequence aSequenceTdf87309 = parseSvg("/svgio/qa/cppunit/data/tdf87309.svg"); CPPUNIT_ASSERT_EQUAL(1, static_cast(aSequenceTdf87309.getLength())); - drawinglayer::tools::Primitive2dXmlDump dumper; + drawinglayer::Primitive2dXmlDump dumper; xmlDocUniquePtr pDocument = dumper.dumpAndParse(comphelper::sequenceToContainer(aSequenceTdf87309)); CPPUNIT_ASSERT (pDocument); @@ -202,7 +202,7 @@ void Test::testFontsizeKeywords() Primitive2DSequence aSequenceFontsizeKeywords = parseSvg("/svgio/qa/cppunit/data/FontsizeKeywords.svg"); CPPUNIT_ASSERT_EQUAL(1, static_cast(aSequenceFontsizeKeywords.getLength())); - drawinglayer::tools::Primitive2dXmlDump dumper; + drawinglayer::Primitive2dXmlDump dumper; xmlDocUniquePtr pDocument = dumper.dumpAndParse(comphelper::sequenceToContainer(aSequenceFontsizeKeywords)); CPPUNIT_ASSERT (pDocument); @@ -265,7 +265,7 @@ void Test::testFontsizePercentage() Primitive2DSequence aSequenceFontsizePercentage = parseSvg("/svgio/qa/cppunit/data/FontsizePercentage.svg"); CPPUNIT_ASSERT_EQUAL(1, static_cast(aSequenceFontsizePercentage.getLength())); - drawinglayer::tools::Primitive2dXmlDump dumper; + drawinglayer::Primitive2dXmlDump dumper; xmlDocUniquePtr pDocument = dumper.dumpAndParse(comphelper::sequenceToContainer(aSequenceFontsizePercentage)); CPPUNIT_ASSERT (pDocument); @@ -282,7 +282,7 @@ void Test::testFontsizeRelative() Primitive2DSequence aSequenceFontsizeRelative = parseSvg("/svgio/qa/cppunit/data/FontsizeRelative.svg"); CPPUNIT_ASSERT_EQUAL(1, static_cast(aSequenceFontsizeRelative.getLength())); - drawinglayer::tools::Primitive2dXmlDump dumper; + drawinglayer::Primitive2dXmlDump dumper; xmlDocUniquePtr pDocument = dumper.dumpAndParse(comphelper::sequenceToContainer(aSequenceFontsizeRelative)); CPPUNIT_ASSERT (pDocument); @@ -304,7 +304,7 @@ void Test::testTdf45771() Primitive2DSequence aSequenceTdf45771 = parseSvg("/svgio/qa/cppunit/data/tdf45771.svg"); CPPUNIT_ASSERT_EQUAL(1, static_cast(aSequenceTdf45771.getLength())); - drawinglayer::tools::Primitive2dXmlDump dumper; + drawinglayer::Primitive2dXmlDump dumper; xmlDocUniquePtr pDocument = dumper.dumpAndParse(comphelper::sequenceToContainer(aSequenceTdf45771)); CPPUNIT_ASSERT (pDocument); @@ -321,7 +321,7 @@ void Test::testTdf97941() Primitive2DSequence aSequenceTdf97941 = parseSvg("/svgio/qa/cppunit/data/tdf97941.svg"); CPPUNIT_ASSERT_EQUAL(1, static_cast(aSequenceTdf97941.getLength())); - drawinglayer::tools::Primitive2dXmlDump dumper; + drawinglayer::Primitive2dXmlDump dumper; xmlDocUniquePtr pDocument = dumper.dumpAndParse(comphelper::sequenceToContainer(aSequenceTdf97941)); CPPUNIT_ASSERT (pDocument); @@ -337,7 +337,7 @@ void Test::testTdf104339() Primitive2DSequence aSequenceTdf104339 = parseSvg("/svgio/qa/cppunit/data/tdf104339.svg"); CPPUNIT_ASSERT_EQUAL(1, static_cast(aSequenceTdf104339.getLength())); - drawinglayer::tools::Primitive2dXmlDump dumper; + drawinglayer::Primitive2dXmlDump dumper; xmlDocUniquePtr pDocument = dumper.dumpAndParse(comphelper::sequenceToContainer(aSequenceTdf104339)); CPPUNIT_ASSERT (pDocument); @@ -349,7 +349,7 @@ void Test::testTdf85770() Primitive2DSequence aSequenceTdf85770 = parseSvg("/svgio/qa/cppunit/data/tdf85770.svg"); CPPUNIT_ASSERT_EQUAL(1, static_cast(aSequenceTdf85770.getLength())); - drawinglayer::tools::Primitive2dXmlDump dumper; + drawinglayer::Primitive2dXmlDump dumper; xmlDocUniquePtr pDocument = dumper.dumpAndParse(comphelper::sequenceToContainer(aSequenceTdf85770)); CPPUNIT_ASSERT (pDocument); @@ -375,7 +375,7 @@ void Test::testTdf79163() Primitive2DSequence aSequenceTdf79163 = parseSvg("/svgio/qa/cppunit/data/tdf79163.svg"); CPPUNIT_ASSERT_EQUAL(1, static_cast(aSequenceTdf79163.getLength())); - drawinglayer::tools::Primitive2dXmlDump dumper; + drawinglayer::Primitive2dXmlDump dumper; xmlDocUniquePtr pDocument = dumper.dumpAndParse(comphelper::sequenceToContainer(aSequenceTdf79163)); CPPUNIT_ASSERT (pDocument); @@ -388,7 +388,7 @@ void Test::testTdf97542_1() Primitive2DSequence aSequenceTdf97542_1 = parseSvg("/svgio/qa/cppunit/data/tdf97542_1.svg"); CPPUNIT_ASSERT_EQUAL(1, static_cast(aSequenceTdf97542_1.getLength())); - drawinglayer::tools::Primitive2dXmlDump dumper; + drawinglayer::Primitive2dXmlDump dumper; xmlDocUniquePtr pDocument = dumper.dumpAndParse(comphelper::sequenceToContainer(aSequenceTdf97542_1)); CPPUNIT_ASSERT (pDocument); @@ -404,7 +404,7 @@ void Test::testTdf97542_2() Primitive2DSequence aSequenceTdf97542_2 = parseSvg("/svgio/qa/cppunit/data/tdf97542_2.svg"); CPPUNIT_ASSERT_EQUAL(1, static_cast(aSequenceTdf97542_2.getLength())); - drawinglayer::tools::Primitive2dXmlDump dumper; + drawinglayer::Primitive2dXmlDump dumper; xmlDocUniquePtr pDocument = dumper.dumpAndParse(comphelper::sequenceToContainer(aSequenceTdf97542_2)); CPPUNIT_ASSERT (pDocument); @@ -420,7 +420,7 @@ void Test::testTdf97543() Primitive2DSequence aSequenceTdf97543 = parseSvg("/svgio/qa/cppunit/data/tdf97543.svg"); CPPUNIT_ASSERT_EQUAL(1, static_cast(aSequenceTdf97543.getLength())); - drawinglayer::tools::Primitive2dXmlDump dumper; + drawinglayer::Primitive2dXmlDump dumper; xmlDocUniquePtr pDocument = dumper.dumpAndParse(comphelper::sequenceToContainer(aSequenceTdf97543)); CPPUNIT_ASSERT (pDocument); @@ -439,7 +439,7 @@ void Test::testRGBColor() Primitive2DSequence aSequenceRGBColor = parseSvg("/svgio/qa/cppunit/data/RGBColor.svg"); CPPUNIT_ASSERT_EQUAL(1, static_cast(aSequenceRGBColor.getLength())); - drawinglayer::tools::Primitive2dXmlDump dumper; + drawinglayer::Primitive2dXmlDump dumper; xmlDocUniquePtr pDocument = dumper.dumpAndParse(comphelper::sequenceToContainer(aSequenceRGBColor)); CPPUNIT_ASSERT (pDocument); @@ -458,7 +458,7 @@ void Test::testRGBAColor() Primitive2DSequence aSequenceRGBAColor = parseSvg("/svgio/qa/cppunit/data/RGBAColor.svg"); CPPUNIT_ASSERT_EQUAL(1, static_cast(aSequenceRGBAColor.getLength())); - drawinglayer::tools::Primitive2dXmlDump dumper; + drawinglayer::Primitive2dXmlDump dumper; xmlDocUniquePtr pDocument = dumper.dumpAndParse(comphelper::sequenceToContainer(aSequenceRGBAColor)); CPPUNIT_ASSERT (pDocument); @@ -471,7 +471,7 @@ void Test::testNoneColor() Primitive2DSequence aSequenceRGBAColor = parseSvg("/svgio/qa/cppunit/data/noneColor.svg"); CPPUNIT_ASSERT_EQUAL(1, static_cast(aSequenceRGBAColor.getLength())); - drawinglayer::tools::Primitive2dXmlDump dumper; + drawinglayer::Primitive2dXmlDump dumper; xmlDocUniquePtr pDocument = dumper.dumpAndParse(comphelper::sequenceToContainer(aSequenceRGBAColor)); CPPUNIT_ASSERT (pDocument); @@ -488,7 +488,7 @@ void Test::testTdf97936() Primitive2DSequence aSequenceTdf97936 = parseSvg("/svgio/qa/cppunit/data/tdf97936.svg"); CPPUNIT_ASSERT_EQUAL(1, static_cast(aSequenceTdf97936.getLength())); - drawinglayer::tools::Primitive2dXmlDump dumper; + drawinglayer::Primitive2dXmlDump dumper; xmlDocUniquePtr pDocument = dumper.dumpAndParse(comphelper::sequenceToContainer(aSequenceTdf97936)); CPPUNIT_ASSERT (pDocument); @@ -516,7 +516,7 @@ void Test::testClipPathAndParentStyle() Primitive2DSequence aSequenceClipPathAndParentStyle = parseSvg("/svgio/qa/cppunit/data/ClipPathAndParentStyle.svg"); CPPUNIT_ASSERT_EQUAL(1, static_cast(aSequenceClipPathAndParentStyle.getLength())); - drawinglayer::tools::Primitive2dXmlDump dumper; + drawinglayer::Primitive2dXmlDump dumper; xmlDocUniquePtr pDocument = dumper.dumpAndParse(comphelper::sequenceToContainer(aSequenceClipPathAndParentStyle)); CPPUNIT_ASSERT (pDocument); @@ -534,7 +534,7 @@ void Test::testClipPathAndStyle() Primitive2DSequence aSequenceClipPathAndStyle = parseSvg("/svgio/qa/cppunit/data/ClipPathAndStyle.svg"); CPPUNIT_ASSERT_EQUAL(1, static_cast(aSequenceClipPathAndStyle.getLength())); - drawinglayer::tools::Primitive2dXmlDump dumper; + drawinglayer::Primitive2dXmlDump dumper; xmlDocUniquePtr pDocument = dumper.dumpAndParse(comphelper::sequenceToContainer(aSequenceClipPathAndStyle)); CPPUNIT_ASSERT (pDocument); @@ -551,7 +551,7 @@ void Test::testi125329() Primitive2DSequence aSequencei125329 = parseSvg("/svgio/qa/cppunit/data/i125329.svg"); CPPUNIT_ASSERT_EQUAL(1, static_cast(aSequencei125329.getLength())); - drawinglayer::tools::Primitive2dXmlDump dumper; + drawinglayer::Primitive2dXmlDump dumper; xmlDocUniquePtr pDocument = dumper.dumpAndParse(comphelper::sequenceToContainer(aSequencei125329)); CPPUNIT_ASSERT (pDocument); @@ -574,7 +574,7 @@ void Test::testMaskingPath07b() Primitive2DSequence aSequenceMaskingPath07b = parseSvg("/svgio/qa/cppunit/data/masking-path-07-b.svg"); CPPUNIT_ASSERT_EQUAL(1, static_cast(aSequenceMaskingPath07b.getLength())); - drawinglayer::tools::Primitive2dXmlDump dumper; + drawinglayer::Primitive2dXmlDump dumper; xmlDocUniquePtr pDocument = dumper.dumpAndParse(comphelper::sequenceToContainer(aSequenceMaskingPath07b)); CPPUNIT_ASSERT (pDocument); @@ -586,7 +586,7 @@ void Test::test123926() Primitive2DSequence aSequence123926 = parseSvg("/svgio/qa/cppunit/data/tdf123926.svg"); CPPUNIT_ASSERT_EQUAL(1, static_cast(aSequence123926.getLength())); - drawinglayer::tools::Primitive2dXmlDump dumper; + drawinglayer::Primitive2dXmlDump dumper; xmlDocUniquePtr pDocument = dumper.dumpAndParse(comphelper::sequenceToContainer(aSequence123926)); CPPUNIT_ASSERT (pDocument); @@ -600,7 +600,7 @@ void Test::test47446() Primitive2DSequence aSequence47446 = parseSvg("/svgio/qa/cppunit/data/47446.svg"); CPPUNIT_ASSERT_EQUAL(1, static_cast(aSequence47446.getLength())); - drawinglayer::tools::Primitive2dXmlDump dumper; + drawinglayer::Primitive2dXmlDump dumper; xmlDocUniquePtr pDocument = dumper.dumpAndParse(comphelper::sequenceToContainer(aSequence47446)); CPPUNIT_ASSERT (pDocument); @@ -615,7 +615,7 @@ void Test::test47446b() Primitive2DSequence aSequence47446b = parseSvg("/svgio/qa/cppunit/data/47446b.svg"); CPPUNIT_ASSERT_EQUAL(1, static_cast(aSequence47446b.getLength())); - drawinglayer::tools::Primitive2dXmlDump dumper; + drawinglayer::Primitive2dXmlDump dumper; xmlDocUniquePtr pDocument = dumper.dumpAndParse(comphelper::sequenceToContainer(aSequence47446b)); CPPUNIT_ASSERT (pDocument); @@ -630,7 +630,7 @@ void Test::testMaskText() Primitive2DSequence aSequenceMaskText = parseSvg("/svgio/qa/cppunit/data/maskText.svg"); CPPUNIT_ASSERT_EQUAL(1, static_cast(aSequenceMaskText.getLength())); - drawinglayer::tools::Primitive2dXmlDump dumper; + drawinglayer::Primitive2dXmlDump dumper; xmlDocUniquePtr pDocument = dumper.dumpAndParse(comphelper::sequenceToContainer(aSequenceMaskText)); CPPUNIT_ASSERT (pDocument); @@ -648,7 +648,7 @@ void Test::testTdf99994() Primitive2DSequence aSequenceTdf99994 = parseSvg("/svgio/qa/cppunit/data/tdf99994.svg"); CPPUNIT_ASSERT_EQUAL(1, static_cast(aSequenceTdf99994.getLength())); - drawinglayer::tools::Primitive2dXmlDump dumper; + drawinglayer::Primitive2dXmlDump dumper; xmlDocUniquePtr pDocument = dumper.dumpAndParse(comphelper::sequenceToContainer(aSequenceTdf99994)); CPPUNIT_ASSERT (pDocument); @@ -665,7 +665,7 @@ void Test::testTdf99115() Primitive2DSequence aSequenceTdf99115 = parseSvg("/svgio/qa/cppunit/data/tdf99115.svg"); CPPUNIT_ASSERT_EQUAL(1, static_cast(aSequenceTdf99115.getLength())); - drawinglayer::tools::Primitive2dXmlDump dumper; + drawinglayer::Primitive2dXmlDump dumper; xmlDocUniquePtr pDocument = dumper.dumpAndParse(comphelper::sequenceToContainer(aSequenceTdf99115) ); CPPUNIT_ASSERT (pDocument); @@ -714,7 +714,7 @@ void Test::testTdf101237() Primitive2DSequence aSequenceTdf101237 = parseSvg("/svgio/qa/cppunit/data/tdf101237.svg"); CPPUNIT_ASSERT_EQUAL(1, static_cast(aSequenceTdf101237.getLength())); - drawinglayer::tools::Primitive2dXmlDump dumper; + drawinglayer::Primitive2dXmlDump dumper; xmlDocUniquePtr pDocument = dumper.dumpAndParse(comphelper::sequenceToContainer(aSequenceTdf101237)); CPPUNIT_ASSERT (pDocument); @@ -729,7 +729,7 @@ void Test::testTdf94765() Primitive2DSequence aSequenceTdf94765 = parseSvg("/svgio/qa/cppunit/data/tdf94765.svg"); CPPUNIT_ASSERT_EQUAL(1, static_cast(aSequenceTdf94765.getLength())); - drawinglayer::tools::Primitive2dXmlDump dumper; + drawinglayer::Primitive2dXmlDump dumper; xmlDocUniquePtr pDocument = dumper.dumpAndParse(comphelper::sequenceToContainer(aSequenceTdf94765)); CPPUNIT_ASSERT (pDocument); diff --git a/svx/qa/unit/sdr.cxx b/svx/qa/unit/sdr.cxx index 18cfd8400ab9..b087e1144ba8 100644 --- a/svx/qa/unit/sdr.cxx +++ b/svx/qa/unit/sdr.cxx @@ -77,7 +77,7 @@ CPPUNIT_TEST_FIXTURE(SdrTest, testShadowScaleOrigin) = rDrawPageVOContact.getPrimitive2DSequenceHierarchy(aDisplayInfo); // Examine the created primitives. - drawinglayer::tools::Primitive2dXmlDump aDumper; + drawinglayer::Primitive2dXmlDump aDumper; xmlDocUniquePtr pDocument = aDumper.dumpAndParse(xPrimitiveSequence); double fShadowX = getXPath(pDocument, "//shadow/transform", "xy13").toDouble(); double fShadowY = getXPath(pDocument, "//shadow/transform", "xy23").toDouble(); diff --git a/svx/qa/unit/svdraw.cxx b/svx/qa/unit/svdraw.cxx index 5a0f46bba995..c96ccbb7aa97 100644 --- a/svx/qa/unit/svdraw.cxx +++ b/svx/qa/unit/svdraw.cxx @@ -93,7 +93,7 @@ CPPUNIT_TEST_FIXTURE(SvdrawTest, testSemiTransparentText) = rDrawPageVOContact.getPrimitive2DSequenceHierarchy(aDisplayInfo); // Make sure the text is semi-transparent. - drawinglayer::tools::Primitive2dXmlDump aDumper; + drawinglayer::Primitive2dXmlDump aDumper; xmlDocUniquePtr pDocument = aDumper.dumpAndParse(xPrimitiveSequence); // Without the accompanying fix in place, this test would have failed with: