summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2022-04-14 10:37:04 +0100
committerCaolán McNamara <caolanm@redhat.com>2022-04-14 17:15:56 +0200
commit0d5c5c17a43726c1407d100e440a87ed06966d30 (patch)
treee7b6ce4f74e9e5c56ecbc323f426dca249203fce /include
parent70cb4955f1c099b030567e6bf4702f7dc6ee521a (diff)
Resolves: tdf#148476 allow dialog resize buttons to "shrink" again
a problem since: commit 5d388b94735e34ba445d65e1d5030a646aad7dbe Date: Thu Jan 27 12:17:48 2022 +0000 Related: tdf#146648 let SetWindowState size trump the initial layout pref size Change-Id: Ia765fc011e740386fce568704cb1efb066a5d5bc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133001 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/vcl/syswin.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/vcl/syswin.hxx b/include/vcl/syswin.hxx
index 03d79f2e3497..24f41331eb21 100644
--- a/include/vcl/syswin.hxx
+++ b/include/vcl/syswin.hxx
@@ -159,7 +159,7 @@ public:
virtual Size GetOptimalSize() const override;
virtual void queue_resize(StateChangedType eReason = StateChangedType::Layout) override;
bool isLayoutEnabled() const;
- void setOptimalLayoutSize();
+ void setOptimalLayoutSize(bool bAllowWindowShrink);
bool isCalculatingInitialLayoutSize() const { return mbIsCalculatingInitialLayoutSize; }
void SetIcon( sal_uInt16 nIcon );