diff options
author | László Németh <nemeth@numbertext.org> | 2014-09-29 17:21:25 +0200 |
---|---|---|
committer | László Németh <nemeth@numbertext.org> | 2014-09-29 17:37:03 +0200 |
commit | 0597f3bb6b6066255b0ce50ea98d2dd7e2c6708b (patch) | |
tree | 8d673f7ce3b4e450c7b82c3808abc3be7510e9c0 | |
parent | 5aa360cae0383f270c12708e7e94179a7fde6711 (diff) |
Set relative heights for all default heading styles
The relative height "100%" (used only by Heading 3 now) is converted
silently to absolute height (btw, also in the dialogs and in OOo, too).
Using 101% instead of 100% fixes this problem, so setting a new height
in the parent style "Heading" (for example, by Tools->Options->
LibreOffice Writer->Basic fonts (western)->Heading->Size) can change
the heights of all default headings, including Heading 3.
Change-Id: Ia44ac9d24041b75f0aedd7b56340dd41caf0020e
-rw-r--r-- | sw/source/core/doc/DocumentStylePoolManager.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/doc/DocumentStylePoolManager.cxx b/sw/source/core/doc/DocumentStylePoolManager.cxx index 2cc04cc5612b..671285fb385a 100644 --- a/sw/source/core/doc/DocumentStylePoolManager.cxx +++ b/sw/source/core/doc/DocumentStylePoolManager.cxx @@ -85,7 +85,7 @@ namespace static const sal_uInt16 aHeadlineSizes[ 2 * MAXLEVEL ] = { // we do everything procentual now: - 130, 115, 100, 95, 85, + 130, 115, 101, 95, 85, 85, 80, 80, 75, 75, // normal PT_24, PT_18, PT_14, PT_12, PT_10, PT_7, PT_7, PT_7, PT_7, PT_7 // HTML mode |