[Libreoffice-commits] core.git: sw/source

Miklos Vajna (via logerrit) logerrit at kemper.freedesktop.org
Fri Dec 6 09:24:11 UTC 2019


 sw/source/core/inc/txtfrm.hxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit f089a7fc3496ea542c938c21c15b1268091fa045
Author:     Miklos Vajna <vmiklos at collabora.com>
AuthorDate: Fri Dec 6 09:21:48 2019 +0100
Commit:     Miklos Vajna <vmiklos at collabora.com>
CommitDate: Fri Dec 6 10:22:39 2019 +0100

    sw: add missing ": 1" for adjacent bool member
    
    As Kendy points out, sizeof() confirms this is still a useful thing to
    do.
    
    Change-Id: Ic79fb1448f7c029e4ffd24cceb631f2d44539d6c
    Reviewed-on: https://gerrit.libreoffice.org/84598
    Reviewed-by: Miklos Vajna <vmiklos at collabora.com>
    Tested-by: Jenkins

diff --git a/sw/source/core/inc/txtfrm.hxx b/sw/source/core/inc/txtfrm.hxx
index 98d3ad4c5fb9..f4c288001b1e 100644
--- a/sw/source/core/inc/txtfrm.hxx
+++ b/sw/source/core/inc/txtfrm.hxx
@@ -220,7 +220,7 @@ class SW_DLLPUBLIC SwTextFrame: public SwContentFrame
     bool mbRepaint       : 1;        // TextFrame: Repaint is ready to be fetched
     bool mbHasBlinkPortions      : 1;        // Contains Blink Portions
     /// Contains rotated portions.
-    bool mbHasRotatedPortions;
+    bool mbHasRotatedPortions : 1;
     bool mbFieldFollow   : 1;        // Start with Field rest of the Master
     bool mbHasAnimation  : 1;        // Contains animated SwGrfNumPortion
     bool mbIsSwapped     : 1;        // during text formatting we swap the


More information about the Libreoffice-commits mailing list