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

Andras Timar andras.timar at collabora.com
Tue Feb 4 12:52:53 PST 2014


 vcl/source/window/window.cxx |  138 +++++++++++++++++++++----------------------
 1 file changed, 69 insertions(+), 69 deletions(-)

New commits:
commit 757f4ab3311802590062ac525a8597333d0caaff
Author: Andras Timar <andras.timar at collabora.com>
Date:   Tue Feb 4 21:51:57 2014 +0100

    sal_True to true in comments
    
    Change-Id: I1f99b9377294de94c46943a0768d91cd51380a26

diff --git a/vcl/source/window/window.cxx b/vcl/source/window/window.cxx
index 53011b7..b881d1e 100644
--- a/vcl/source/window/window.cxx
+++ b/vcl/source/window/window.cxx
@@ -213,79 +213,79 @@ WindowImpl::WindowImpl( WindowType nType )
     mnMarginRight       = 0;
     mnMarginTop         = 0;
     mnMarginBottom      = 0;
-    mbFrame             = false;        // sal_True: Window is a frame window
-    mbBorderWin         = false;        // sal_True: Window is a border window
-    mbOverlapWin        = false;        // sal_True: Window is a overlap window
-    mbSysWin            = false;        // sal_True: SystemWindow is the base class
-    mbDialog            = false;        // sal_True: Dialog is the base class
-    mbDockWin           = false;        // sal_True: DockingWindow is the base class
-    mbFloatWin          = false;        // sal_True: FloatingWindow is the base class
-    mbPushButton        = false;        // sal_True: PushButton is the base class
-    mbToolBox           = false;      // sal_True: ToolBox is the base class
-    mbMenuFloatingWindow= false;      // sal_True: MenuFloatingWindow is the base class
-    mbToolbarFloatingWindow= false;       // sal_True: ImplPopupFloatWin is the base class, used for subtoolbars
-    mbSplitter          = false;      // sal_True: Splitter is the base class
-    mbVisible           = false;        // sal_True: Show( sal_True ) called
-    mbOverlapVisible    = false;        // sal_True: Hide called for visible window from ImplHideAllOverlapWindow()
-    mbDisabled          = false;        // sal_True: Enable( sal_False ) called
-    mbInputDisabled     = false;        // sal_True: EnableInput( sal_False ) called
-    mbDropDisabled      = false;        // sal_True: Drop is enabled
-    mbNoUpdate          = false;        // sal_True: SetUpdateMode( sal_False ) called
-    mbNoParentUpdate    = false;        // sal_True: SetParentUpdateMode( sal_False ) called
-    mbActive            = false;        // sal_True: Window Active
-    mbParentActive      = false;        // sal_True: OverlapActive from Parent
-    mbReallyVisible     = false;        // sal_True: this and all parents to an overlaped window are visible
-    mbReallyShown       = false;        // sal_True: this and all parents to an overlaped window are shown
-    mbInInitShow        = false;        // sal_True: we are in InitShow
-    mbChildNotify       = false;        // sal_True: ChildNotify
-    mbChildPtrOverwrite = false;        // sal_True: PointerStyle overwrites Child-Pointer
-    mbNoPtrVisible      = false;        // sal_True: ShowPointer( sal_False ) called
-    mbMouseMove         = false;        // sal_True: BaseMouseMove called
-    mbPaintFrame        = false;        // sal_True: Paint is visible, but not painted
-    mbInPaint           = false;        // sal_True: Inside PaintHdl
-    mbMouseButtonDown   = false;        // sal_True: BaseMouseButtonDown called
-    mbMouseButtonUp     = false;        // sal_True: BaseMouseButtonUp called
-    mbKeyInput          = false;        // sal_True: BaseKeyInput called
-    mbKeyUp             = false;        // sal_True: BaseKeyUp called
-    mbCommand           = false;        // sal_True: BaseCommand called
-    mbDefPos            = true;         // sal_True: Position is not Set
-    mbDefSize           = true;         // sal_True: Size is not Set
-    mbCallMove          = true;         // sal_True: Move must be called by Show
-    mbCallResize        = true;         // sal_True: Resize must be called by Show
-    mbWaitSystemResize  = true;         // sal_True: Wait for System-Resize
-    mbInitWinClipRegion = true;         // sal_True: Calc Window Clip Region
-    mbInitChildRegion   = false;        // sal_True: InitChildClipRegion
-    mbWinRegion         = false;        // sal_True: Window Region
-    mbClipChildren      = false;        // sal_True: Child-window should be clipped
-    mbClipSiblings      = false;        // sal_True: Adjacent Child-window should be clipped
-    mbChildTransparent  = false;        // sal_True: Child-windows are allowed to switch to transparent (incl. Parent-CLIPCHILDREN)
-    mbPaintTransparent  = false;        // sal_True: Paints should be executed on the Parent
-    mbMouseTransparent  = false;        // sal_True: Window is transparent for Mouse
-    mbDlgCtrlStart      = false;        // sal_True: From here on own Dialog-Control
-    mbFocusVisible      = false;        // sal_True: Focus Visible
+    mbFrame             = false;        // true: Window is a frame window
+    mbBorderWin         = false;        // true: Window is a border window
+    mbOverlapWin        = false;        // true: Window is a overlap window
+    mbSysWin            = false;        // true: SystemWindow is the base class
+    mbDialog            = false;        // true: Dialog is the base class
+    mbDockWin           = false;        // true: DockingWindow is the base class
+    mbFloatWin          = false;        // true: FloatingWindow is the base class
+    mbPushButton        = false;        // true: PushButton is the base class
+    mbToolBox           = false;      // true: ToolBox is the base class
+    mbMenuFloatingWindow= false;      // true: MenuFloatingWindow is the base class
+    mbToolbarFloatingWindow= false;       // true: ImplPopupFloatWin is the base class, used for subtoolbars
+    mbSplitter          = false;      // true: Splitter is the base class
+    mbVisible           = false;        // true: Show( sal_True ) called
+    mbOverlapVisible    = false;        // true: Hide called for visible window from ImplHideAllOverlapWindow()
+    mbDisabled          = false;        // true: Enable( sal_False ) called
+    mbInputDisabled     = false;        // true: EnableInput( sal_False ) called
+    mbDropDisabled      = false;        // true: Drop is enabled
+    mbNoUpdate          = false;        // true: SetUpdateMode( sal_False ) called
+    mbNoParentUpdate    = false;        // true: SetParentUpdateMode( sal_False ) called
+    mbActive            = false;        // true: Window Active
+    mbParentActive      = false;        // true: OverlapActive from Parent
+    mbReallyVisible     = false;        // true: this and all parents to an overlaped window are visible
+    mbReallyShown       = false;        // true: this and all parents to an overlaped window are shown
+    mbInInitShow        = false;        // true: we are in InitShow
+    mbChildNotify       = false;        // true: ChildNotify
+    mbChildPtrOverwrite = false;        // true: PointerStyle overwrites Child-Pointer
+    mbNoPtrVisible      = false;        // true: ShowPointer( sal_False ) called
+    mbMouseMove         = false;        // true: BaseMouseMove called
+    mbPaintFrame        = false;        // true: Paint is visible, but not painted
+    mbInPaint           = false;        // true: Inside PaintHdl
+    mbMouseButtonDown   = false;        // true: BaseMouseButtonDown called
+    mbMouseButtonUp     = false;        // true: BaseMouseButtonUp called
+    mbKeyInput          = false;        // true: BaseKeyInput called
+    mbKeyUp             = false;        // true: BaseKeyUp called
+    mbCommand           = false;        // true: BaseCommand called
+    mbDefPos            = true;         // true: Position is not Set
+    mbDefSize           = true;         // true: Size is not Set
+    mbCallMove          = true;         // true: Move must be called by Show
+    mbCallResize        = true;         // true: Resize must be called by Show
+    mbWaitSystemResize  = true;         // true: Wait for System-Resize
+    mbInitWinClipRegion = true;         // true: Calc Window Clip Region
+    mbInitChildRegion   = false;        // true: InitChildClipRegion
+    mbWinRegion         = false;        // true: Window Region
+    mbClipChildren      = false;        // true: Child-window should be clipped
+    mbClipSiblings      = false;        // true: Adjacent Child-window should be clipped
+    mbChildTransparent  = false;        // true: Child-windows are allowed to switch to transparent (incl. Parent-CLIPCHILDREN)
+    mbPaintTransparent  = false;        // true: Paints should be executed on the Parent
+    mbMouseTransparent  = false;        // true: Window is transparent for Mouse
+    mbDlgCtrlStart      = false;        // true: From here on own Dialog-Control
+    mbFocusVisible      = false;        // true: Focus Visible
     mbUseNativeFocus    = false;
-    mbNativeFocusVisible= false;        // sal_True: native Focus Visible
+    mbNativeFocusVisible= false;        // true: native Focus Visible
     mbInShowFocus       = false;        // prevent recursion
     mbInHideFocus       = false;        // prevent recursion
-    mbTrackVisible      = false;        // sal_True: Tracking Visible
-    mbControlForeground = false;        // sal_True: Foreground-Property set
-    mbControlBackground = false;        // sal_True: Background-Property set
-    mbAlwaysOnTop       = false;        // sal_True: always visible for all others windows
-    mbCompoundControl   = false;        // sal_True: Composite Control => Listener...
-    mbCompoundControlHasFocus = false;  // sal_True: Composite Control has focus somewhere
-    mbPaintDisabled     = false;        // sal_True: Paint should not be executed
-    mbAllResize         = false;        // sal_True: Also sent ResizeEvents with 0,0
-    mbInDtor            = false;        // sal_True: We're still in Window-Dtor
-    mbExtTextInput      = false;        // sal_True: ExtTextInput-Mode is active
-    mbInFocusHdl        = false;        // sal_True: Within GetFocus-Handler
+    mbTrackVisible      = false;        // true: Tracking Visible
+    mbControlForeground = false;        // true: Foreground-Property set
+    mbControlBackground = false;        // true: Background-Property set
+    mbAlwaysOnTop       = false;        // true: always visible for all others windows
+    mbCompoundControl   = false;        // true: Composite Control => Listener...
+    mbCompoundControlHasFocus = false;  // true: Composite Control has focus somewhere
+    mbPaintDisabled     = false;        // true: Paint should not be executed
+    mbAllResize         = false;        // true: Also sent ResizeEvents with 0,0
+    mbInDtor            = false;        // true: We're still in Window-Dtor
+    mbExtTextInput      = false;        // true: ExtTextInput-Mode is active
+    mbInFocusHdl        = false;        // true: Within GetFocus-Handler
     mbCreatedWithToolkit = false;
-    mbSuppressAccessibilityEvents = false; // sal_True: do not send any accessibility events
-    mbDrawSelectionBackground = false;    // sal_True: draws transparent window background to indicate (toolbox) selection
-    mbIsInTaskPaneList = false;           // sal_True: window was added to the taskpanelist in the topmost system window
+    mbSuppressAccessibilityEvents = false; // true: do not send any accessibility events
+    mbDrawSelectionBackground = false;    // true: draws transparent window background to indicate (toolbox) selection
+    mbIsInTaskPaneList = false;           // true: window was added to the taskpanelist in the topmost system window
     mnNativeBackground  = 0;              // initialize later, depends on type
-    mbCallHandlersDuringInputDisabled = false; // sal_True: call event handlers even if input is disabled
-    mbHelpTextDynamic = false;          // sal_True: append help id in HELP_DEBUG case
-    mbFakeFocusSet = false; // sal_True: pretend as if the window has focus.
+    mbCallHandlersDuringInputDisabled = false; // true: call event handlers even if input is disabled
+    mbHelpTextDynamic = false;          // true: append help id in HELP_DEBUG case
+    mbFakeFocusSet = false; // true: pretend as if the window has focus.
     mbHexpand = false;
     mbVexpand = false;
     mbExpand = false;
@@ -722,7 +722,7 @@ void Window::ImplInitWindowData( WindowType nType )
     meOutDevType        = OUTDEV_WINDOW;
 
 
-    mbEnableRTL         = Application::GetSettings().GetLayoutRTL();         // sal_True: this outdev will be mirrored if RTL window layout (UI mirroring) is globally active
+    mbEnableRTL         = Application::GetSettings().GetLayoutRTL();         // true: this outdev will be mirrored if RTL window layout (UI mirroring) is globally active
 }
 
 // -----------------------------------------------------------------------


More information about the Libreoffice-commits mailing list