summaryrefslogtreecommitdiff
path: root/sw/source/uibase/table/tablepg.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2022-02-03 19:59:25 +0000
committerCaolán McNamara <caolanm@redhat.com>2022-02-04 11:21:00 +0100
commitea771e85b2302829394df545bb82c02bff2750c2 (patch)
tree8ff097ea232a02968ee5e1312fb24b3d11507065 /sw/source/uibase/table/tablepg.hxx
parentf2d62b11cd7d47925fd098b3947726313d6b296e (diff)
Resolves: tdf#146997 use sal_Int64 instead of sal_Int32 for spinbutton values
for these cases where draw wants to massively scale the units the underlying "metric conversion" are already using sal_Int64 anyway Change-Id: I94e120d72644319548f75b2f68cfe60d4829a2e8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129356 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/source/uibase/table/tablepg.hxx')
-rw-r--r--sw/source/uibase/table/tablepg.hxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/sw/source/uibase/table/tablepg.hxx b/sw/source/uibase/table/tablepg.hxx
index 4aa1c6d3faf6..2bff723adf2b 100644
--- a/sw/source/uibase/table/tablepg.hxx
+++ b/sw/source/uibase/table/tablepg.hxx
@@ -61,12 +61,12 @@ class SwFormatTablePage : public SfxTabPage
std::unique_ptr<svx::FrameDirectionListBox> m_xTextDirectionLB;
std::unique_ptr<weld::Widget> m_xProperties;
- int m_nOrigWidthMin;
- int m_nOrigWidthMax;
- int m_nOrigLeftMin;
- int m_nOrigLeftMax;
- int m_nOrigRightMin;
- int m_nOrigRightMax;
+ sal_Int64 m_nOrigWidthMin;
+ sal_Int64 m_nOrigWidthMax;
+ sal_Int64 m_nOrigLeftMin;
+ sal_Int64 m_nOrigLeftMax;
+ sal_Int64 m_nOrigRightMin;
+ sal_Int64 m_nOrigRightMax;
void Init();
void ModifyHdl(const weld::MetricSpinButton& rEdit, bool bAllowInconsistencies = false);