[Libreoffice-commits] core.git: Branch 'feature/print_revamp' - sw/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Tue Aug 7 09:36:04 UTC 2018


 sw/source/core/view/printdata.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit f3777cadc8894ceddc890147dee7f5f4b0c67601
Author:     Daniel Silva <danielfaleirosilva at gmail.com>
AuthorDate: Mon Jul 23 17:27:10 2018 -0300
Commit:     Katarina Behrens <Katarina.Behrens at cib.de>
CommitDate: Tue Aug 7 11:35:43 2018 +0200

    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 at cib.de>

diff --git a/sw/source/core/view/printdata.cxx b/sw/source/core/view/printdata.cxx
index 3832f5b734b7..3f0021cb287f 100644
--- a/sw/source/core/view/printdata.cxx
+++ b/sw/source/core/view/printdata.cxx
@@ -317,7 +317,7 @@ SwPrintUIOptions::SwPrintUIOptions(
                                                            aHelpIds,
                                                            "PrintAnnotationMode",
                                                            aChoices,
-                                                           static_cast<sal_uInt16>(nPrintPostIts),
+                                                           bHasPostIts ? static_cast<sal_uInt16>(nPrintPostIts) : 0,
                                                            uno::Sequence< sal_Bool >(),
                                                            aAnnotOpt);
 


More information about the Libreoffice-commits mailing list