diff options
author | Daniel Silva <danielfaleirosilva@gmail.com> | 2018-07-23 17:27:10 -0300 |
---|---|---|
committer | Aron Budea <aron.budea@collabora.com> | 2019-09-26 18:56:42 +0200 |
commit | 20ca7b238fe5b346f693b5b22d406e82effdf454 (patch) | |
tree | 599672990d5bb75424bcfa4ff942213cdbebbd40 /sw/source | |
parent | 2660443e3119f8d230b8e787a420b38fc3363747 (diff) |
tdf#112294 fix comments listbox selection in writer print dialog
Change-Id: I5e2362f22df9a1ad6b36313f306e7642591b615a
Reviewed-on: https://gerrit.libreoffice.org/57887
Tested-by: Jenkins
Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
(cherry picked from commit e1bb5b2cd8ecc4db760b1d413e28edc388da5c3e)
Diffstat (limited to 'sw/source')
-rw-r--r-- | sw/source/core/view/printdata.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/view/printdata.cxx b/sw/source/core/view/printdata.cxx index a03f2f4166b1..ebb419847ad2 100644 --- a/sw/source/core/view/printdata.cxx +++ b/sw/source/core/view/printdata.cxx @@ -320,7 +320,7 @@ SwPrintUIOptions::SwPrintUIOptions( aHelpIds, "PrintAnnotationMode", aChoices, - static_cast<sal_uInt16>(nPrintPostIts), + bHasPostIts ? static_cast<sal_uInt16>(nPrintPostIts) : 0, uno::Sequence< sal_Bool >(), aAnnotOpt); |