summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2014-05-23 22:52:43 +1000
committerChris Sherlock <chris.sherlock79@gmail.com>2014-05-23 22:52:43 +1000
commitfd95975a469f283dd0bc154caf62cc467aed38d6 (patch)
tree7d075caeb7dbc61847de51c1c1ab02077f32b27c /vcl
parent23eb4435edf8d0634cc253588bb0184db8875301 (diff)
vcl: change to true and false in Window::Show()
Change-Id: I299dcb649d40514c16e41b138def0ad67894cd6d
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/window/window.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/window/window.cxx b/vcl/source/window/window.cxx
index 53531bd65300..c23856386fe5 100644
--- a/vcl/source/window/window.cxx
+++ b/vcl/source/window/window.cxx
@@ -1328,7 +1328,7 @@ ImplWinData* Window::ImplGetWinData() const
mpWindowImpl->mpWinData->mnTrackFlags = 0;
mpWindowImpl->mpWinData->mnIsTopWindow = (sal_uInt16) ~0; // not initialized yet, 0/1 will indicate TopWindow (see IsTopWindow())
mpWindowImpl->mpWinData->mbMouseOver = false;
- mpWindowImpl->mpWinData->mbEnableNativeWidget = (pNoNWF && *pNoNWF) ? false : true; // sal_True: try to draw this control with native theme API
+ mpWindowImpl->mpWinData->mbEnableNativeWidget = (pNoNWF && *pNoNWF) ? false : true; // true: try to draw this control with native theme API
}
return mpWindowImpl->mpWinData;
@@ -2822,7 +2822,7 @@ void Window::Show( bool bVisible, sal_uInt16 nFlags )
mpWindowImpl->mbSuppressAccessibilityEvents = false;
mpWindowImpl->mbPaintFrame = true;
- bool bNoActivate = (nFlags & (SHOW_NOACTIVATE|SHOW_NOFOCUSCHANGE)) ? sal_True : sal_False;
+ bool bNoActivate = (nFlags & (SHOW_NOACTIVATE|SHOW_NOFOCUSCHANGE)) ? true : false;
mpWindowImpl->mpFrame->Show( true, bNoActivate );
if( aDogTag.IsDead() )
return;