[Libreoffice-commits] core.git: Branch 'libreoffice-5-0' - include/tools

Takeshi Abe tabe at fixedpoint.jp
Tue Jun 2 03:37:26 PDT 2015


 include/tools/stream.hxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 250bc8fbd089d2f02d45bc2e4e5784de38f640c6
Author: Takeshi Abe <tabe at fixedpoint.jp>
Date:   Mon Jun 1 20:18:36 2015 +0900

    Fix a wrong bit mask for StreamMode
    
    ... introduced at 7f8f277b94704a289fbbd1b836e4e5d66311580d
    
    Change-Id: Ic9e2f6f5e01652744011a7e8a5f69f386efd6b52
    Reviewed-on: https://gerrit.libreoffice.org/16015
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Noel Grandin <noelgrandin at gmail.com>
    (cherry picked from commit 8d46bc15e93687f93d7c85064acc71231e2f08b1)
    Reviewed-on: https://gerrit.libreoffice.org/16024
    Tested-by: David Tardon <dtardon at redhat.com>
    Reviewed-by: David Tardon <dtardon at redhat.com>

diff --git a/include/tools/stream.hxx b/include/tools/stream.hxx
index 4e022cad..75d7445c 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 | \


More information about the Libreoffice-commits mailing list