summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2015-06-01 20:18:36 +0900
committerNoel Grandin <noelgrandin@gmail.com>2015-06-02 05:15:07 +0000
commit8d46bc15e93687f93d7c85064acc71231e2f08b1 (patch)
treed6a3b7bf16c013e155f2268f6fa48dc0ba506132
parent0d7935bda6fb0ee4b63593b07c451b30f52b8598 (diff)
Fix a wrong bit mask for StreamMode
... introduced at 7f8f277b94704a289fbbd1b836e4e5d66311580d Change-Id: Ic9e2f6f5e01652744011a7e8a5f69f386efd6b52 Reviewed-on: https://gerrit.libreoffice.org/16015 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
-rw-r--r--include/tools/stream.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tools/stream.hxx b/include/tools/stream.hxx
index 4e022cade7c8..75d7445c5411 100644
--- a/include/tools/stream.hxx
+++ b/include/tools/stream.hxx
@@ -58,7 +58,7 @@ enum class StreamMode {
};
namespace o3tl
{
- template<> struct typed_flags<StreamMode> : is_typed_flags<StreamMode, 0x003f> {};
+ template<> struct typed_flags<StreamMode> : is_typed_flags<StreamMode, 0x0f1f> {};
}
#define STREAM_READWRITEBITS (StreamMode::READ | StreamMode::WRITE | \