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

New commits:
commit 389fb881624939440fe71d5671b84fa7133e86b3
Author:     Mike Kaganski <[email protected]>
AuthorDate: Thu Feb 19 15:14:08 2026 +0500
Commit:     Christian Lohmaier <[email protected]>
CommitDate: Fri Feb 20 11:44:32 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
    (cherry picked from commit 881ce5f6cf3ceabafbd8330a5899cf1abc654148)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/199805
    Reviewed-by: Christian Lohmaier <[email protected]>
    Reviewed-by: Xisco Fauli <[email protected]>
    Tested-by: Christian Lohmaier <[email protected]>

diff --git a/vcl/source/window/printdlg.cxx b/vcl/source/window/printdlg.cxx
index c969e0939c35..976242be6eee 100644
--- a/vcl/source/window/printdlg.cxx
+++ b/vcl/source/window/printdlg.cxx
@@ -1978,7 +1978,6 @@ IMPL_LINK_NOARG( PrintDialog, SelectPrinterHdl, 
weld::ComboBox&, void )
         maFirstPageSize = Size();
 
         updateOrientationBox();
-        updatePageSize(mxOrientationBox->get_active());
 
         // update text fields
         mxOKButton->set_label(maPrintText);
@@ -1996,7 +1995,6 @@ IMPL_LINK_NOARG( PrintDialog, SelectPrinterHdl, 
weld::ComboBox&, void )
 
         setPaperSizes();
         updateOrientationBox();
-        updatePageSize(mxOrientationBox->get_active());
         maUpdatePreviewIdle.Start();
     }
 

Reply via email to