tdf#127167 Do not reset Draw/Impress page size

to default A4 when modifying the Size settings
in Print dialog - LO Draw/Impress page

Change-Id: I28321d29408964d97b2b347c0b9f16cb1fb63183
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88530
Tested-by: Jenkins
Reviewed-by: Katarina Behrens <bubli@bubli.org>
diff --git a/vcl/source/window/printdlg.cxx b/vcl/source/window/printdlg.cxx
index 2870f7a..ad54af1 100644
--- a/vcl/source/window/printdlg.cxx
+++ b/vcl/source/window/printdlg.cxx
@@ -2057,10 +2057,6 @@ IMPL_LINK( PrintDialog, UIOption_RadioHdl, weld::ToggleButton&, i_rBtn, void )
            sal_Int32 nVal = it->second;
            pVal->Value <<= nVal;

            // tdf#63905 use paper size set in printer properties
            if (pVal->Name == "PageOptions")
                maPController->resetPaperToLastConfigured();

            updateOrientationBox();

            checkOptionalControlDependencies();