From 76597aa62a09997beb794669008ce880327bda39 Mon Sep 17 00:00:00 2001 From: Luboš Luňák Date: Fri, 25 Sep 2020 12:50:46 +0200 Subject: rename for disentangling AA and B2D use in VCL drawing MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This renames AntialiasingFlags::EnableB2dDraw to just Enable, and the AntiAliasB2DDraw names to just AntiAlias. This is in preparation for a second commit that will actually separate the AA and B2D functionality of these flags. Change-Id: I9cc215c5752dfabce41e00e19d9074fc8dc3d4de Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103416 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl --- vcl/qa/cppunit/gen/gen.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vcl/qa/cppunit/gen/gen.cxx') diff --git a/vcl/qa/cppunit/gen/gen.cxx b/vcl/qa/cppunit/gen/gen.cxx index dfcfaa997b80..a82a0717ab80 100644 --- a/vcl/qa/cppunit/gen/gen.cxx +++ b/vcl/qa/cppunit/gen/gen.cxx @@ -92,7 +92,7 @@ CPPUNIT_TEST_FIXTURE(GenTest, testTdf107966) pVirtualDevice->DrawRect(tools::Rectangle(Point(), Size(1350, 225))); pVirtualDevice->SetFillColor(Color(0, 0, 0)); AntialiasingFlags nOldAA = pVirtualDevice->GetAntialiasing(); - pVirtualDevice->SetAntialiasing(nOldAA & ~AntialiasingFlags::EnableB2dDraw); + pVirtualDevice->SetAntialiasing(nOldAA & ~AntialiasingFlags::Enable); // Paint a black polygon on it. basegfx::B2DPolygon aPolygon; -- cgit