diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-04-15 15:46:06 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-04-15 14:46:00 +0000 |
commit | 1ee570a4e625719f8bf270d372926c0d829ae6f0 (patch) | |
tree | 9639106c0e9e46dee8eb5636bf8e4574e0bc9abd /drawinglayer/CppunitTest_drawinglayer_border.mk | |
parent | 2e6a05d6da0ae33a456b1ca40677df56611e779c (diff) |
Related: tdf#99315 BorderLinePrimitive2D: fix solid line primitive width
Regression from commit 2c62596cf264ef10749d8bfdb2bb2ebef2d98fbc
(fdo#75260: Correctly draw double lines for both Writer and Calc.,
2014-03-03), the problem was that when decomposing a double border line
promitive to solid line primitives (which happens for the legacy
"border" type, while both the Calc UI and Excel importer creates
"border-thin" ones), the decomposed inner line's height was larger than
the requested width.
As a result there was no gap between the polygon of the inner and the
outer line of the double border, looking like a non-double border.
The width of the outer border is still incorrect on the screen, though.
Change-Id: Ia9713c315ce8f23e2579b257169798e7c82c0a64
Reviewed-on: https://gerrit.libreoffice.org/24115
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'drawinglayer/CppunitTest_drawinglayer_border.mk')
-rw-r--r-- | drawinglayer/CppunitTest_drawinglayer_border.mk | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/drawinglayer/CppunitTest_drawinglayer_border.mk b/drawinglayer/CppunitTest_drawinglayer_border.mk new file mode 100644 index 000000000000..d477c4ecb09b --- /dev/null +++ b/drawinglayer/CppunitTest_drawinglayer_border.mk @@ -0,0 +1,35 @@ +# -*- 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,drawinglayer_border)) + +$(eval $(call gb_CppunitTest_use_api,drawinglayer_border,\ + offapi \ + udkapi \ +)) + +$(eval $(call gb_CppunitTest_use_libraries,drawinglayer_border, \ + basegfx \ + cppu \ + sal \ + salhelper \ + drawinglayer \ + $(gb_UWINAPI) \ +)) + +$(eval $(call gb_CppunitTest_use_externals,drawinglayer_border,\ + boost_headers \ + libxml2 \ +)) + +$(eval $(call gb_CppunitTest_add_exception_objects,drawinglayer_border, \ + drawinglayer/qa/unit/border \ +)) + +# vim: set noet sw=4 ts=4: |