diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-06-23 20:04:21 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-06-23 22:25:15 +0200 |
commit | 851daf6ab20c046509725cf26ff72473fb61a761 (patch) | |
tree | a4c9b8007fe4c3c96f684330ab80989fa03adcfc /sw/source/uibase/inc/unotools.hxx | |
parent | 0662813e4d68f0495beee595a9d3ffd84cd2c1b8 (diff) |
tdf#134243 only do the toc-terms localization when showing toc preview
and not when previewing another document, which sidesteps the
infinite loop in this example
Change-Id: Ideb41029f4c98a50555cd35227867d9fdd5ae5a4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96977
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/source/uibase/inc/unotools.hxx')
-rw-r--r-- | sw/source/uibase/inc/unotools.hxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sw/source/uibase/inc/unotools.hxx b/sw/source/uibase/inc/unotools.hxx index 1c6c3708d433..4e72a5309920 100644 --- a/sw/source/uibase/inc/unotools.hxx +++ b/sw/source/uibase/inc/unotools.hxx @@ -26,12 +26,13 @@ #include <com/sun/star/text/XTextCursor.hpp> #include <swdllapi.h> -#define EX_SHOW_ONLINE_LAYOUT 0x001 - +#define EX_SHOW_ONLINE_LAYOUT 0x01 // hard zoom value #define EX_SHOW_BUSINESS_CARDS 0x02 //don't modify page size #define EX_SHOW_DEFAULT_PAGE 0x04 +//replace sample toc strings in the template to localized versions +#define EX_LOCALIZE_TOC_STRINGS 0x08 class SwView; |