vcl/source/window/printdlg.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
New commits: commit dcf185ea162a4f593c66639cb3aebdc9c3d1a60f Author: heiko tietze <[email protected]> AuthorDate: Tue Jan 15 09:38:00 2019 +0100 Commit: Heiko Tietze <[email protected]> CommitDate: Tue Jan 15 14:03:12 2019 +0100 Resolves: tdf#122633 - Print dialog Preview is Off By default on now Change-Id: I7619d290e3dd9032b765057b8878d5dad035eafc Reviewed-on: https://gerrit.libreoffice.org/66351 Tested-by: Jenkins Reviewed-by: Heiko Tietze <[email protected]> diff --git a/vcl/source/window/printdlg.cxx b/vcl/source/window/printdlg.cxx index 982d985397fb..73d7b5b9a50f 100644 --- a/vcl/source/window/printdlg.cxx +++ b/vcl/source/window/printdlg.cxx @@ -867,10 +867,10 @@ void PrintDialog::readFromSettings() // preview box aValue = pItem->getValue( "PrintDialog", "HasPreview" ); - if ( aValue.equalsIgnoreAsciiCase("true") ) - mpPreviewBox->Check( true ); - else + if ( aValue.equalsIgnoreAsciiCase("false") ) mpPreviewBox->Check( false ); + else + mpPreviewBox->Check( true ); } _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
