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

New commits:
commit 1fc13d6f32ca35c5bfc90c3613801b71f5372c06
Author:     Mike Kaganski <[email protected]>
AuthorDate: Thu Feb 19 15:14:08 2026 +0500
Commit:     Miklos Vajna <[email protected]>
CommitDate: Fri Feb 20 11:43:58 2026 +0100

    tdf#170892: don't call updatePageSize too early in printer selection
    
    It will be called in SelectOrientationHdl and SelectPaperSizeHdl.
    
    Change-Id: I9e288de2bf4568ef6afaeaf2bc9259d4eadc5918
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199708
    Reviewed-by: Mike Kaganski <[email protected]>
    Tested-by: Jenkins
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199776
    Tested-by: Jenkins CollaboraOffice <[email protected]>
    Reviewed-by: Miklos Vajna <[email protected]>

diff --git a/vcl/source/window/printdlg.cxx b/vcl/source/window/printdlg.cxx
index a06fba332d96..e5a3f0f63f36 100644
--- a/vcl/source/window/printdlg.cxx
+++ b/vcl/source/window/printdlg.cxx
@@ -2015,7 +2015,6 @@ IMPL_LINK( PrintDialog, SelectHdl, weld::ComboBox&, rBox, 
void )
             maFirstPageSize = Size();
 
             updateOrientationBox();
-            updatePageSize(mxOrientationBox->get_active());
 
             // update text fields
             mxOKButton->set_label(maPrintText);
@@ -2033,7 +2032,6 @@ IMPL_LINK( PrintDialog, SelectHdl, weld::ComboBox&, rBox, 
void )
 
             setPaperSizes();
             updateOrientationBox();
-            updatePageSize(mxOrientationBox->get_active());
             maUpdatePreviewIdle.Start();
         }
 

Reply via email to