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.kaganski@collabora.com> Tested-by: Jenkins
This commit is contained in:
parent
46e96625e9
commit
2205be28b4
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
};
|
||||
|
||||
|
||||
|
|
|
@ -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 )
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue