summaryrefslogtreecommitdiff
path: root/sc/CppunitTest_sc_tablevalidationobj.mk
blob: 9843b68d5313b6245bcd577392b39f73e5eec497 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# -*- 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,sc_tablevalidationobj))

$(eval $(call gb_CppunitTest_use_external,sc_tablevalidationobj,boost_headers))

$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_tablevalidationobj))

$(eval $(call gb_CppunitTest_add_exception_objects,sc_tablevalidationobj, \
	sc/qa/extras/sctablevalidationobj \
))

$(eval $(call gb_CppunitTest_use_libraries,sc_tablevalidationobj, \
	cppu \
	sal \
	subsequenttest \
	test \
	unotest \
))

$(eval $(call gb_CppunitTest_set_include,sc_tablevalidationobj,\
	$$(INCLUDE) \
))

$(eval $(call gb_CppunitTest_use_sdk_api,sc_tablevalidationobj))

$(eval $(call gb_CppunitTest_use_ure,sc_tablevalidationobj))
$(eval $(call gb_CppunitTest_use_vcl,sc_tablevalidationobj))

$(eval $(call gb_CppunitTest_use_components,sc_tablevalidationobj,\
	$(sc_unoapi_common_components) \
))

$(eval $(call gb_CppunitTest_use_configuration,sc_tablevalidationobj))

# vim: set noet sw=4 ts=4:
cid#1556055 COPY_INSTEAD_OF_MOVE cid#1556307 COPY_INSTEAD_OF_MOVE cid#1556349 COPY_INSTEAD_OF_MOVE cid#1556436 COPY_INSTEAD_OF_MOVE cid#1556665 COPY_INSTEAD_OF_MOVE cid#1556696 COPY_INSTEAD_OF_MOVE cid#1556718 COPY_INSTEAD_OF_MOVE cid#1556775 COPY_INSTEAD_OF_MOVE cid#1556835 COPY_INSTEAD_OF_MOVE cid#1556877 COPY_INSTEAD_OF_MOVE cid#1556994 COPY_INSTEAD_OF_MOVE cid#1557010 COPY_INSTEAD_OF_MOVE cid#1557074 COPY_INSTEAD_OF_MOVE cid#1557111 COPY_INSTEAD_OF_MOVE cid#1557142 COPY_INSTEAD_OF_MOVE cid#1557163 COPY_INSTEAD_OF_MOVE cid#1557164 COPY_INSTEAD_OF_MOVE cid#1557214 COPY_INSTEAD_OF_MOVE cid#1557254 COPY_INSTEAD_OF_MOVE cid#1557322 COPY_INSTEAD_OF_MOVE cid#1557327 COPY_INSTEAD_OF_MOVE cid#1557492 COPY_INSTEAD_OF_MOVE cid#1557565 COPY_INSTEAD_OF_MOVE cid#1557663 COPY_INSTEAD_OF_MOVE cid#1557798 COPY_INSTEAD_OF_MOVE Change-Id: I2ae9c184dcc18d44a65437e18c49e16b27f4d81d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174893 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com> 2024-09-29cid#1607257 Overflowed constantNoel Grandin this is a false positve, but perhaps we can help coverity work it out properly with some constexpr Change-Id: I8398153d6678585dacf4acaf7081ec32094bcda6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174150 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> 2024-08-12cid#1608100 silence Overflowed array index readCaolán McNamara Change-Id: I882c93a09697f57971bccfcc74c7cebcc1b265ec Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171762 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com> 2024-05-20loplugin:ostr in variousNoel Grandin Change-Id: I9f399b3752da9df930e0647536ffcd4e82beb1ac Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167856 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> 2024-04-30WaE: C6011 Dereferencing NULL pointer warningsCaolán McNamara upgrade to asserts Change-Id: Iaf4ad07b87496e2e2039e01a4e5ceb6128cdd012 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166919 Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com> Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com> 2024-03-06Use less boost_headers in low level librariesGabor Kelemen Most of these don't use boost themselves, nor do they need it transitively since the use of boost::optional was removed Change-Id: Ic9dee1c4e160b313ec5b91677b02ffdea6c5779d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164440 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de> 2023-06-08Add cstdlib include necessary to build with gcc14 libstdc++ (tdf#155715)Martin Jambor Without explicitely including <cstdlib>, compiling some files including store/source/storbase.hxx (such as store/source/storpage.cxx which includes it through store/source/storpage.hxx) will result in errors: error: ‘malloc’ is not a member of ‘std’ and error: ‘free’ is not a member of ‘std’ This patch simply adds the necessary include. Change-Id: I3d1fa2a17c5ae9d512f1de9d434dac3d82fc353f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152712 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com> 2022-08-13clang-tidy modernize-pass-by-value in variousNoel Grandin Change-Id: Ie091b22bd77d4e1fbff46545bc86c12f1dbafcfe Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138171 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> 2022-07-03tdf#143148 store: Use pragma once instead of include guardsChris Sherlock Change-Id: Ic07c02bfbde9cedd397ed5913a26d5add1fdda5a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128171 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr> 2022-06-20store: remove useless comments from storeChris Sherlock Change-Id: I4b2582d3a7314d8752a56e83a4af7618b053abb5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128170 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com> 2022-05-16store: add unit testsChris Sherlock Test: - create a file in memory - open a stream - write a byte to the stream - read the byte from the stream Change-Id: I257880bdd9020d2410f183e612a356eb785621ed Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127674 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Jenkins 2022-01-15Let loplugin:nullptr look into template instantiationsStephan Bergmann It missed some occurrences of 0 when only looking into uninstantiated template code, as Clang doesn't model them with an ImplicitCastExpr, even if the target is known to be a (dependent) pointer type. Looking into all template instantiations of course carries the risk that a given use of 0 is meant to be interpreted as a pointer in some and as an integer in other instantiations. But the only case where that happened in the current code base is RegistryValueList::getElement (include/registry/registry.hxx), where {} is arguably a better choice anyway. (And which would presumably also hold for any future such cases.) Change-Id: I708bcfc8bedc0a49c9282d7814eb325afa29905c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128462 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>