vcl/source/window/printdlg.cxx |    4 ----
 1 file changed, 4 deletions(-)

New commits:
commit b1dc4c7dbc688bb90d9a636d3a994b6e1f9bab32
Author:     Gabor Kelemen <[email protected]>
AuthorDate: Sun May 11 11:53:14 2025 +0200
Commit:     Gabor Kelemen <[email protected]>
CommitDate: Mon Jun 23 10:28:57 2025 +0200

    [API CHANGE] Replace VCL Settings (PrintDialog/CopyCount)
    
    in order to simplify code.
    
    This property was saved, but not loaded in PrintDialog::readFromSettings
    From UX perspective it does not feel right to add a new config key
    and start properly reading/saving this value, so just drop it entirely
    
    Change-Id: I8a7d92c6bf649646a661301d03981f4db579bb17
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/185181
    Tested-by: Jenkins
    Reviewed-by: Gabor Kelemen <[email protected]>

diff --git a/vcl/source/window/printdlg.cxx b/vcl/source/window/printdlg.cxx
index 797aff61fa5d..b95e5715e8d2 100644
--- a/vcl/source/window/printdlg.cxx
+++ b/vcl/source/window/printdlg.cxx
@@ -759,10 +759,6 @@ void PrintDialog::storeToSettings()
     officecfg::VCL::VCLSettings::PrintDialog::WindowState::set(
                      m_xDialog->get_window_state(vcl::WindowDataMask::All), 
batch );
 
-    pItem->setValue( u"PrintDialog"_ustr,
-                     u"CopyCount"_ustr,
-                     mxCopyCountField->get_text() );
-
     officecfg::VCL::VCLSettings::PrintDialog::Collate::set( 
mxCollateBox->get_active(), batch );
 
     pItem->setValue( u"PrintDialog"_ustr,

Reply via email to