include/svl/svdde.hxx | 2 +- svl/source/svdde/ddedata.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
New commits: commit 2205be28b420b76fa580d5979c051bcdb54bf422 Author: Keldin Maldonado (KNM) <kemaldon...@csumb.edu> AuthorDate: Fri Mar 8 23:21:33 2024 -0800 Commit: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org> CommitDate: Mon Mar 11 15:04:23 2024 +0100 tdf#114441 use sal_uInt32 instead of sal_uLong sal_uLong to sal_uInt32 for the clipboard format. Clipboard enum class uses sal_uInt32, so staying consistent with that. Clipboard format doesn't exceed unsigned 32-bit int. Change-Id: I1938f9ba877fc89c51415d9715a82e9b0c09d4e4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164604 Reviewed-by: Mike Kaganski <mike.kagan...@collabora.com> Tested-by: Jenkins diff --git a/include/svl/svdde.hxx b/include/svl/svdde.hxx index e8b808ea1159..c54f88059fa8 100644 --- a/include/svl/svdde.hxx +++ b/include/svl/svdde.hxx @@ -72,7 +72,7 @@ public: DdeData& operator=(DdeData&&) noexcept; static sal_uInt32 GetExternalFormat(SotClipboardFormatId nFmt); - static SotClipboardFormatId GetInternalFormat(sal_uLong nFmt); + static SotClipboardFormatId GetInternalFormat(sal_uInt32 nFmt); }; diff --git a/svl/source/svdde/ddedata.cxx b/svl/source/svdde/ddedata.cxx index d8e1e1579226..a9ef7f4f7457 100644 --- a/svl/source/svdde/ddedata.cxx +++ b/svl/source/svdde/ddedata.cxx @@ -141,7 +141,7 @@ sal_uInt32 DdeData::GetExternalFormat(SotClipboardFormatId nFmt) return static_cast<sal_uInt32>(nFmt); } -SotClipboardFormatId DdeData::GetInternalFormat(sal_uLong nFmt) +SotClipboardFormatId DdeData::GetInternalFormat(sal_uInt32 nFmt) { switch( nFmt ) {