diff options
author | Noel <noelgrandin@gmail.com> | 2020-10-12 09:52:12 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-10-26 07:35:36 +0100 |
commit | 4fbd63860500b2db76df4d5aedbe5e3aa31fac69 (patch) | |
tree | 5fa96dc262ba651e82244b0f9e508f79e88ea2df /include/svx/sidebar | |
parent | 62fa5bb8c1299469eacc21cb35ee670b65120713 (diff) |
switching long to a 64-bit type on 64-bit windows
(*) create a rewriting plugin to do most of the work, heavily
based on the fakebool plugin
(*) but there are still a number of "long"s in the codebase
that will need to be done by hand
(*) the plugin needs lots of handholding, due to needing to
add #include and update macros
Change-Id: I8184d7000ca482c0469514bb73178c3a1123b1e9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104203
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/svx/sidebar')
-rw-r--r-- | include/svx/sidebar/LinePropertyPanelBase.hxx | 2 | ||||
-rw-r--r-- | include/svx/sidebar/LineWidthPopup.hxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/include/svx/sidebar/LinePropertyPanelBase.hxx b/include/svx/sidebar/LinePropertyPanelBase.hxx index 359b822e16b1..0442510d7537 100644 --- a/include/svx/sidebar/LinePropertyPanelBase.hxx +++ b/include/svx/sidebar/LinePropertyPanelBase.hxx @@ -49,7 +49,7 @@ public: virtual ~LinePropertyPanelBase() override; virtual void dispose() override; - void SetWidth(long nWidth); + void SetWidth(tools::Long nWidth); void SetWidthIcon(int n); void SetWidthIcon(); diff --git a/include/svx/sidebar/LineWidthPopup.hxx b/include/svx/sidebar/LineWidthPopup.hxx index c16924d0cec8..718ff68ce24a 100644 --- a/include/svx/sidebar/LineWidthPopup.hxx +++ b/include/svx/sidebar/LineWidthPopup.hxx @@ -38,7 +38,7 @@ public: LineWidthPopup(weld::Widget* pParent, LinePropertyPanelBase& rParent); ~LineWidthPopup(); - void SetWidthSelect (long lValue, bool bValuable, MapUnit eMapUnit); + void SetWidthSelect (tools::Long lValue, bool bValuable, MapUnit eMapUnit); weld::Container* getTopLevel() const { return m_xTopLevel.get(); } @@ -49,7 +49,7 @@ private: MapUnit m_eMapUnit; bool m_bVSFocus; bool m_bCustom; - long m_nCustomWidth; + tools::Long m_nCustomWidth; Image m_aIMGCus; Image m_aIMGCusGray; |