From bdd7c74a499ea550a10e47d159c2d2d80c940fc0 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 26 Oct 2017 12:49:44 +0100 Subject: Resolves: tdf#113455 Impossible to clear width/height in pages MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I88f80d417108822ceeb73c07cb49892925a2e57f Reviewed-on: https://gerrit.libreoffice.org/43891 Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- sc/source/ui/inc/tptable.hxx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'sc/source/ui/inc/tptable.hxx') diff --git a/sc/source/ui/inc/tptable.hxx b/sc/source/ui/inc/tptable.hxx index f3d01eef310d..3b01422a68ce 100644 --- a/sc/source/ui/inc/tptable.hxx +++ b/sc/source/ui/inc/tptable.hxx @@ -46,6 +46,9 @@ private: void ShowImage(); private: + sal_uInt16 m_nOrigScalePageWidth; + sal_uInt16 m_nOrigScalePageHeight; + VclPtr m_pBtnTopDown; VclPtr m_pBtnLeftRight; VclPtr m_pBmpPageDir; @@ -66,7 +69,9 @@ private: VclPtr m_pEdScaleAll; VclPtr m_pGrHeightWidth; VclPtr m_pEdScalePageWidth; + VclPtr m_pCbScalePageWidth; VclPtr m_pEdScalePageHeight; + VclPtr m_pCbScalePageHeight; VclPtr m_pBxScalePageNum; VclPtr m_pEdScalePageNum; @@ -74,8 +79,9 @@ private: // Handler: DECL_LINK(PageDirHdl, Button*, void); - DECL_LINK( PageNoHdl, Button*, void ); + DECL_LINK(PageNoHdl, Button*, void); DECL_LINK(ScaleHdl, ListBox&, void); + DECL_LINK(ToggleHdl, CheckBox&, void); }; #endif // INCLUDED_SC_SOURCE_UI_INC_TPTABLE_HXX -- cgit v1.2.3