diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-08-16 10:37:26 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-08-16 13:03:32 +0200 |
commit | ca83aad3703a2c3b28eb7cca43f3b6d2e9351aa4 (patch) | |
tree | 94c77aa4cec83f4152420fa9f246281c1343c3c7 /cui | |
parent | f80385d44814df4cef9fef025240a078f1996bec (diff) |
convert dialog result methods from long->sal_Int32
Change-Id: Id3c56a2c9f8f8813e3bbff4c4ae9156b2185fc9c
Reviewed-on: https://gerrit.libreoffice.org/41206
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/factory/dlgfact.cxx | 4 | ||||
-rw-r--r-- | cui/source/factory/dlgfact.hxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/cui/source/factory/dlgfact.cxx b/cui/source/factory/dlgfact.cxx index 05c834392c11..d49a73467796 100644 --- a/cui/source/factory/dlgfact.cxx +++ b/cui/source/factory/dlgfact.cxx @@ -160,7 +160,7 @@ void VclAbstractDialog2_Impl::StartExecuteModal( const Link<Dialog&,void>& rEnd } // virtual -long VclAbstractDialog2_Impl::GetResult() +sal_Int32 VclAbstractDialog2_Impl::GetResult() { return m_pDlg->GetResult(); } @@ -236,7 +236,7 @@ SvxDistributeVertical AbstractSvxDistributeDialog_Impl::GetDistributeVer()const return pDlg->GetDistributeVer(); } -void AbstractHangulHanjaConversionDialog_Impl::EndDialog(long nResult) +void AbstractHangulHanjaConversionDialog_Impl::EndDialog(sal_Int32 nResult) { pDlg->EndDialog(nResult); } diff --git a/cui/source/factory/dlgfact.hxx b/cui/source/factory/dlgfact.hxx index e333254d3cc8..a6ce3a9ac050 100644 --- a/cui/source/factory/dlgfact.hxx +++ b/cui/source/factory/dlgfact.hxx @@ -84,7 +84,7 @@ public: virtual ~VclAbstractDialog2_Impl() override; virtual void dispose() override; virtual void StartExecuteModal( const Link<Dialog&,void>& rEndDialogHdl ) override; - virtual long GetResult() override; + virtual sal_Int32 GetResult() override; private: DECL_LINK( EndDialogHdl, Dialog&, void ); }; @@ -135,7 +135,7 @@ public: class AbstractHangulHanjaConversionDialog_Impl: public AbstractHangulHanjaConversionDialog { DECL_ABSTDLG_BASE(AbstractHangulHanjaConversionDialog_Impl,HangulHanjaConversionDialog) - virtual void EndDialog(long nResult) override; + virtual void EndDialog(sal_Int32 nResult) override; virtual void EnableRubySupport( bool _bVal ) override; virtual void SetByCharacter( bool _bByCharacter ) override ; virtual void SetConversionDirectionState( bool _bTryBothDirections, editeng::HangulHanjaConversion::ConversionDirection _ePrimaryConversionDirection ) override; |