diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-02-21 12:53:51 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-02-21 12:53:51 +0100 |
commit | e8f8f24c8415898c787bbfb629247ed62e73a2b9 (patch) | |
tree | dae18a3acbf29c192118e7c003f80df8da8e21ae /vcl/unx/generic/app/salinst.cxx | |
parent | 1c8402465cfd4df862409dc310f5f099d044c4d8 (diff) |
vcl: sal_Bool -> bool
Change-Id: I2a3e3d3e3266ea0f0fafdd91362076a4aa160f0e
Diffstat (limited to 'vcl/unx/generic/app/salinst.cxx')
-rw-r--r-- | vcl/unx/generic/app/salinst.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/vcl/unx/generic/app/salinst.cxx b/vcl/unx/generic/app/salinst.cxx index 9966c08e7128..487cd637f45d 100644 --- a/vcl/unx/generic/app/salinst.cxx +++ b/vcl/unx/generic/app/salinst.cxx @@ -84,7 +84,7 @@ X11SalInstance::~X11SalInstance() struct PredicateReturn { sal_uInt16 nType; - sal_Bool bRet; + bool bRet; }; extern "C" { @@ -121,7 +121,7 @@ Bool ImplPredicateEvent( Display *, XEvent *pEvent, char *pData ) } if ( (nType & pPre->nType) || ( ! nType && (pPre->nType & VCL_INPUT_OTHER) ) ) - pPre->bRet = sal_True; + pPre->bRet = true; return False; } @@ -131,16 +131,16 @@ bool X11SalInstance::AnyInput(sal_uInt16 nType) { SalGenericData *pData = GetGenericData(); Display *pDisplay = pData->GetSalDisplay()->GetDisplay(); - sal_Bool bRet = sal_False; + bool bRet = false; if( (nType & VCL_INPUT_TIMER) && (mpXLib && mpXLib->CheckTimeout(false)) ) - bRet = sal_True; + bRet = true; else if (XPending(pDisplay) ) { PredicateReturn aInput; XEvent aEvent; - aInput.bRet = sal_False; + aInput.bRet = false; aInput.nType = nType; XCheckIfEvent(pDisplay, &aEvent, ImplPredicateEvent, |