Files
odfstudio/include
Stephan Bergmann f54b1d1e09 Clarify DdeData::GetExternalFormat return type
The implementation (in svl/source/svdde/ddedata.cxx) returns any of:
* {CF_TEXT=1, CF_BITMAP=2, CF_METFILEPICT=3} from the Windows API;
* the return value of Windows API's RegisterClipboardFormatW, which is UINT from
  the Windows API (i.e., 32-bit unsigned int);
* a enum SotClipboardFormatId value, whose underlying type is sal_uInt32.

So the natural choice is sal_uInt32 here.  (Windows API's UINT would also do,
but cannot be used in include/svl/svdde.hxx, which is used on all platforms.)

That in turn shows that DdeService's aFormats and HasCbFormat should also use
sal_uInt32.  (And then, simplify some of the std algorithms use in
svl/source/svdde/ddesvr.cxx.)

Change-Id: I593d0a7df78bfdd08ce2de04c3da2078d973e262
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106151
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2020-11-19 18:24:48 +01:00
..
2020-08-27 09:56:16 +02:00
2020-11-19 05:55:00 +01:00
2020-11-12 16:53:30 +01:00
…
2020-10-22 08:07:45 +02:00
2020-08-19 22:07:44 +02:00
2020-10-29 09:17:55 +01:00
2020-09-17 06:38:23 +02:00
2020-11-11 11:58:37 +01:00
2020-10-04 21:27:07 +02:00
2020-11-16 18:07:50 +01:00
…
2020-11-17 14:31:01 +01:00
2020-08-19 22:07:44 +02:00
2020-09-12 13:36:42 +02:00
2020-08-06 09:29:23 +02:00
…
…
…
…