sc/qa/unit/helper/qahelper.cxx | 4 ++-- sc/qa/unit/helper/qahelper.hxx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)
New commits: commit 77131a5277f52300319f7cc5f8c2cc8b4d600a7c Author: OmkarAcharekar <omkarachareka...@gmail.com> AuthorDate: Wed Oct 19 02:34:57 2022 +0530 Commit: Stephan Bergmann <sberg...@redhat.com> CommitDate: Fri Oct 21 08:39:43 2022 +0200 tdf#75280: Convert inappropriate use of sal_uIntPtr to better integer types Change-Id: Iebd876c8c7dd5576cdd457a24726d99790befa83 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141516 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sberg...@redhat.com> diff --git a/sc/qa/unit/helper/qahelper.cxx b/sc/qa/unit/helper/qahelper.cxx index 6b520bcd2774..e377ef7630c4 100644 --- a/sc/qa/unit/helper/qahelper.cxx +++ b/sc/qa/unit/helper/qahelper.cxx @@ -596,7 +596,7 @@ OUString toString( ScDocShellRef ScBootstrapFixture::load( bool bReadWrite, const OUString& rURL, const OUString& rFilter, const OUString &rUserData, const OUString& rTypeName, SfxFilterFlags nFilterFlags, SotClipboardFormatId nClipboardID, - sal_uIntPtr nFilterVersion, const OUString* pPassword ) + sal_Int32 nFilterVersion, const OUString* pPassword ) { auto pFilter = std::make_shared<SfxFilter>( rFilter, @@ -629,7 +629,7 @@ ScDocShellRef ScBootstrapFixture::load( bool bReadWrite, ScDocShellRef ScBootstrapFixture::load( const OUString& rURL, const OUString& rFilter, const OUString &rUserData, const OUString& rTypeName, SfxFilterFlags nFilterFlags, SotClipboardFormatId nClipboardID, - sal_uIntPtr nFilterVersion, const OUString* pPassword ) + sal_Int32 nFilterVersion, const OUString* pPassword ) { return load( false, rURL, rFilter, rUserData, rTypeName, nFilterFlags, nClipboardID, nFilterVersion, pPassword ); } diff --git a/sc/qa/unit/helper/qahelper.hxx b/sc/qa/unit/helper/qahelper.hxx index caa449c6a6a9..b3541d9c0c5f 100644 --- a/sc/qa/unit/helper/qahelper.hxx +++ b/sc/qa/unit/helper/qahelper.hxx @@ -193,12 +193,12 @@ protected: ScDocShellRef load( bool bReadWrite, const OUString& rURL, const OUString& rFilter, const OUString &rUserData, const OUString& rTypeName, SfxFilterFlags nFilterFlags, SotClipboardFormatId nClipboardID, - sal_uIntPtr nFilterVersion = SOFFICE_FILEFORMAT_CURRENT, const OUString* pPassword = nullptr ); + sal_Int32 nFilterVersion = SOFFICE_FILEFORMAT_CURRENT, const OUString* pPassword = nullptr ); ScDocShellRef load( const OUString& rURL, const OUString& rFilter, const OUString &rUserData, const OUString& rTypeName, SfxFilterFlags nFilterFlags, SotClipboardFormatId nClipboardID, - sal_uIntPtr nFilterVersion = SOFFICE_FILEFORMAT_CURRENT, const OUString* pPassword = nullptr ); + sal_Int32 nFilterVersion = SOFFICE_FILEFORMAT_CURRENT, const OUString* pPassword = nullptr ); ScDocShellRef load(const OUString& rURL, sal_Int32 nFormat, bool bReadWrite = false);