summaryrefslogtreecommitdiff
path: root/include/svx
diff options
context:
space:
mode:
authorHeiko Tietze <tietze.heiko@gmail.com>2022-02-14 08:23:45 +0100
committerCaolán McNamara <caolanm@redhat.com>2022-02-20 22:17:57 +0100
commit90546b02d70cb9a9c3ee88428d99635a2f7eb22a (patch)
treeb9bafa9802f7fa93ddd32856f31418481969f6d9 /include/svx
parent0d402556af53790adb06380b4b04ea421d14d09e (diff)
Resolves tdf#146929 - Remember user input for the compress dialog
Change-Id: I23a0cd10b6936de920a294901f860620fc2af0a9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129894 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/svx')
-rw-r--r--include/svx/compressgraphicdialog.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/svx/compressgraphicdialog.hxx b/include/svx/compressgraphicdialog.hxx
index 1ef8d387bf62..87556ecbce1d 100644
--- a/include/svx/compressgraphicdialog.hxx
+++ b/include/svx/compressgraphicdialog.hxx
@@ -51,6 +51,7 @@ private:
std::unique_ptr<weld::Scale> m_xQualitySlider;
std::unique_ptr<weld::Button> m_xBtnCalculate;
std::unique_ptr<weld::ComboBox> m_xInterpolationCombo;
+ std::unique_ptr<weld::Button> m_xBtnOkay;
SdrGrafObj* m_xGraphicObj;
Graphic m_aGraphic;
@@ -62,6 +63,7 @@ private:
sal_Int32 m_aNativeSize;
void Initialize();
+ void recallParameter();
DECL_DLLPRIVATE_LINK( SlideHdl, weld::Scale&, void );
DECL_DLLPRIVATE_LINK( NewInterpolationModifiedHdl, weld::ComboBox&, void );
@@ -74,6 +76,7 @@ private:
DECL_DLLPRIVATE_LINK( ToggleReduceResolutionRB, weld::Toggleable&, void );
DECL_DLLPRIVATE_LINK( CalculateClickHdl, weld::Button&, void );
+ DECL_DLLPRIVATE_LINK( OkayClickHdl, weld::Button&, void );
void Update();
void UpdateNewWidthMF();