8842b1938b
This is similar to commitc612c3b0ae
(protect more printer code-paths., 2015-03-20), but handles more OutputDevice member functions. The user-level problem was that in case a macro creates a dialog with an embedded Chart document and the user clicks on e.g. the chart title (so an sdr::overlay::OverlayManager is created), then it can happen during closing the dialog that the overlay manager calls these functions after the output device is disposed. Change-Id: I8021fb795704f19e52d70505804d68725c636ce0 Reviewed-on: https://gerrit.libreoffice.org/66403 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins (cherry picked from commit8b461713c0
)
49 lines
1.2 KiB
Makefile
49 lines
1.2 KiB
Makefile
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
|
|
#
|
|
# This file is part of the LibreOffice project.
|
|
#
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
#
|
|
|
|
$(eval $(call gb_CppunitTest_CppunitTest,vcl_outdev))
|
|
|
|
$(eval $(call gb_CppunitTest_set_include,vcl_outdev,\
|
|
$$(INCLUDE) \
|
|
-I$(SRCDIR)/vcl/inc \
|
|
))
|
|
|
|
$(eval $(call gb_CppunitTest_add_exception_objects,vcl_outdev, \
|
|
vcl/qa/cppunit/outdev \
|
|
))
|
|
|
|
$(eval $(call gb_CppunitTest_use_externals,vcl_outdev,boost_headers))
|
|
|
|
$(eval $(call gb_CppunitTest_use_libraries,vcl_outdev, \
|
|
basegfx \
|
|
comphelper \
|
|
cppu \
|
|
cppuhelper \
|
|
sal \
|
|
svt \
|
|
test \
|
|
tl \
|
|
unotest \
|
|
vcl \
|
|
))
|
|
|
|
$(eval $(call gb_CppunitTest_use_sdk_api,vcl_outdev))
|
|
|
|
$(eval $(call gb_CppunitTest_use_ure,vcl_outdev))
|
|
$(eval $(call gb_CppunitTest_use_vcl,vcl_outdev))
|
|
|
|
$(eval $(call gb_CppunitTest_use_components,vcl_outdev,\
|
|
configmgr/source/configmgr \
|
|
i18npool/util/i18npool \
|
|
ucb/source/core/ucb1 \
|
|
))
|
|
|
|
$(eval $(call gb_CppunitTest_use_configuration,vcl_outdev))
|
|
|
|
# vim: set noet sw=4 ts=4:
|