cid#1640468 Dereference after null check
[LibreOffice.git] / sd / qa / unit / import-tests_skia.cxx
blob16a1756a2dac0f8a144f263a687eb36d95d42489
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 */
10 #include <sal/config.h>
12 #include "sdmodeltestbase.hxx"
14 #include <vcl/skia/SkiaHelper.hxx>
16 // Tests here are expected to run with Skia enabled, similar to CppunitTest_vcl_skia.
17 // At some point, this could be true for all tests?
19 class SdImportTestSkia : public SdModelTestBase
21 public:
22 SdImportTestSkia()
23 : SdModelTestBase(u"/sd/qa/unit/data/"_ustr)
28 CPPUNIT_TEST_FIXTURE(SdImportTestSkia, testTdf156856)
30 // Loading the document must not fail assertion
31 createSdImpressDoc("pptx/tdf156856.pptx");
34 CPPUNIT_PLUGIN_IMPLEMENT();
36 /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */