summaryrefslogtreecommitdiff
path: root/sw/source
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source')
-rw-r--r--sw/source/core/view/printdata.cxx2
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);