diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-12-01 12:27:43 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-12-01 12:27:43 +0100 |
commit | 18cb1f747b2ae7573fb80df28755315b43dd8d0a (patch) | |
tree | e6eda23c79229eef02a2274620d001b806d94e19 /include/canvas | |
parent | 1a39e0d6a61942d2259f9406c298f1d14460a7a6 (diff) |
Apparently no reason to force underlying type here
...presumably just cargo-cult from how enums get ABI-fixed in the URE interface.
FMT_UNKNOWN turns out to be unused ever since the code was introduced with
5c5e584c8f22c09cb999d7543a9415349910fa06 "INTEGRATION: CWS canvas02."
Caused -Werror,-Wmicrosoft-enum-value with clang-cl.
Change-Id: I353e4a2e71ff720a5368548d61ea1bded9c77a6c
Diffstat (limited to 'include/canvas')
-rw-r--r-- | include/canvas/rendering/icolorbuffer.hxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/include/canvas/rendering/icolorbuffer.hxx b/include/canvas/rendering/icolorbuffer.hxx index 6b8c8c0ee1ef..5439f65cd54e 100644 --- a/include/canvas/rendering/icolorbuffer.hxx +++ b/include/canvas/rendering/icolorbuffer.hxx @@ -42,10 +42,7 @@ namespace canvas FMT_A8R8G8B8, // 32-bit RGB pixel format, 8 bits per channel. - FMT_X8R8G8B8, - - // for enum to 32bit - FMT_UNKNOWN = static_cast<sal_uInt32>(-1) + FMT_X8R8G8B8 }; virtual ~IColorBuffer() {} |