include/sot/formats.hxx | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-)
New commits: commit 4e46c135a4882c405c523aebffe1cbf01cdaf0d3 Author: Mike Kaganski <[email protected]> AuthorDate: Sat Sep 20 09:54:01 2025 +0200 Commit: Mike Kaganski <[email protected]> CommitDate: Sat Sep 20 12:47:28 2025 +0200 Reorder enum elements (but not their values, as the comment requests) Change-Id: Ieabed839c2132443984d8d2659ca6f7b2b4fb5f5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/191216 Tested-by: Jenkins Reviewed-by: Mike Kaganski <[email protected]> diff --git a/include/sot/formats.hxx b/include/sot/formats.hxx index a94fd34e746c..6b662b4698af 100644 --- a/include/sot/formats.hxx +++ b/include/sot/formats.hxx @@ -26,6 +26,8 @@ // Do NOT change the order of these values as the implementation depends on them! enum class SotClipboardFormatId : sal_uInt32 { + NONE = 0, + // standard formats for that Copy/Paste methods exist STRING = 1, BITMAP = 2, @@ -33,11 +35,12 @@ enum class SotClipboardFormatId : sal_uInt32 PRIVATE = 4, SIMPLE_FILE = 5, FILE_LIST = 6, + +// the SW module essentially creates its own ID's and this is one of them + ONLY_USED_IN_SW = 8, + // further formats (only via CopyData/PasteData) RTF = 10, - - NONE = 0, - ONLY_USED_IN_SW = 8, // the SW module essentially creates its own ID's and this is one of them DRAWING = 11, SVXB = 12, SVIM = 13,
