diff options
-rw-r--r-- | include/sot/formats.hxx | 4 | ||||
-rw-r--r-- | include/sot/stg.hxx | 2 | ||||
-rw-r--r-- | include/sot/storage.hxx | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/include/sot/formats.hxx b/include/sot/formats.hxx index 4e36686203a8..a1f5f8858335 100644 --- a/include/sot/formats.hxx +++ b/include/sot/formats.hxx @@ -24,7 +24,7 @@ // - predefined formats - // Do NOT change the order of these values as the implementation depends on them! -enum class SotClipboardFormatId : sal_uLong +enum class SotClipboardFormatId : sal_uInt32 { // standard formats for that Copy/Paste methods exist STRING = 1, @@ -181,7 +181,7 @@ enum class SotClipboardFormatId : sal_uLong /** Make it easier to iterate over format IDs */ inline SotClipboardFormatId& operator++(SotClipboardFormatId& v) { - v = static_cast<SotClipboardFormatId>(static_cast<sal_uLong>(v) + 1); + v = static_cast<SotClipboardFormatId>(static_cast<sal_uInt32>(v) + 1); return v; } diff --git a/include/sot/stg.hxx b/include/sot/stg.hxx index 4f2b19c0255e..b932f9139b09 100644 --- a/include/sot/stg.hxx +++ b/include/sot/stg.hxx @@ -79,7 +79,7 @@ public: virtual bool Equals( const BaseStorageStream& rStream ) const = 0; }; -enum class SotClipboardFormatId : sal_uLong; +enum class SotClipboardFormatId : sal_uInt32; class SAL_DLLPUBLIC_RTTI BaseStorage : public StorageBase { diff --git a/include/sot/storage.hxx b/include/sot/storage.hxx index 4ca0bc9d9387..b8cbe947557a 100644 --- a/include/sot/storage.hxx +++ b/include/sot/storage.hxx @@ -29,7 +29,7 @@ #include <sot/storinfo.hxx> #include <sot/sotdllapi.h> -enum class SotClipboardFormatId : sal_uLong; +enum class SotClipboardFormatId : sal_uInt32; class SotStorage; class BaseStorageStream; |