diff options
author | heiko tietze <tietze.heiko@gmail.com> | 2019-01-15 09:38:00 +0100 |
---|---|---|
committer | Heiko Tietze <tietze.heiko@gmail.com> | 2019-01-15 14:03:12 +0100 |
commit | dcf185ea162a4f593c66639cb3aebdc9c3d1a60f (patch) | |
tree | 8d837f66e2b0eec52f04731d85164332a70c35ad /vcl/source | |
parent | dc7ae151c481b9d6154ff3f982508b1e0f0cb5fd (diff) |
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 <tietze.heiko@gmail.com>
Diffstat (limited to 'vcl/source')
-rw-r--r-- | vcl/source/window/printdlg.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
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 ); } |