4abb191916
This allows to correctly store and read Unicode strings used in password-protected libraries. The additional data stored after all legacy data of the stringpool record (after a magic number to mark its presence), and so is invisible for older versions of program: this allows to keep the version of data and backward compatibility. Of course, older versions will only see legacy data, with broken Unicode strings; and password-protected libraries edited and saved in older versions will not contain Unicode data. read_uInt16s_ToOUString and write_uInt16s_FromOUString are used for correct handling of UTF-16 strings on LE/BE systems. Change-Id: I990bc27b5cc7d499e71c43d45b7f263af41911e7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86065 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
77 lines
1.6 KiB
Makefile
77 lines
1.6 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,sc_macros_test))
|
|
|
|
$(eval $(call gb_CppunitTest_use_externals,sc_macros_test, \
|
|
boost_headers \
|
|
mdds_headers \
|
|
))
|
|
|
|
$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_macros_test))
|
|
|
|
$(eval $(call gb_CppunitTest_add_exception_objects,sc_macros_test, \
|
|
sc/qa/extras/macros-test \
|
|
))
|
|
|
|
$(eval $(call gb_CppunitTest_use_libraries,sc_macros_test, \
|
|
basegfx \
|
|
comphelper \
|
|
cppu \
|
|
cppuhelper \
|
|
drawinglayer \
|
|
editeng \
|
|
for \
|
|
forui \
|
|
i18nlangtag \
|
|
msfilter \
|
|
oox \
|
|
sal \
|
|
salhelper \
|
|
sax \
|
|
sb \
|
|
sc \
|
|
sfx \
|
|
sot \
|
|
subsequenttest \
|
|
svl \
|
|
svt \
|
|
svx \
|
|
svxcore \
|
|
test \
|
|
tk \
|
|
tl \
|
|
ucbhelper \
|
|
unotest \
|
|
utl \
|
|
vbahelper \
|
|
vcl \
|
|
xo \
|
|
))
|
|
|
|
$(eval $(call gb_CppunitTest_set_include,sc_macros_test,\
|
|
-I$(SRCDIR)/sc/source/ui/inc \
|
|
-I$(SRCDIR)/sc/inc \
|
|
$$(INCLUDE) \
|
|
))
|
|
|
|
$(eval $(call gb_CppunitTest_use_api,sc_macros_test,\
|
|
offapi \
|
|
oovbaapi \
|
|
udkapi \
|
|
))
|
|
|
|
$(eval $(call gb_CppunitTest_use_ure,sc_macros_test))
|
|
$(eval $(call gb_CppunitTest_use_vcl,sc_macros_test))
|
|
|
|
$(eval $(call gb_CppunitTest_use_rdb,sc_macros_test,services))
|
|
|
|
$(eval $(call gb_CppunitTest_use_configuration,sc_macros_test))
|
|
|
|
# vim: set noet sw=4 ts=4:
|