summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-04-28 11:02:46 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-04-28 13:44:13 +0200
commit5e70740d93b9fa327ca73d3d15512ade0c5611d6 (patch)
tree763aed35a849c5c526402559ef193d6595fa44e5
parent832f4c4be4322d0185115e7f61e2940de11f90cb (diff)
DbgIs* return types want to be bool
Change-Id: I86587025d397d2d84f9aed1e204ae21056829a1c
-rw-r--r--include/tools/debug.hxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/tools/debug.hxx b/include/tools/debug.hxx
index 4b0ee11434d9..b6e2f627fd07 100644
--- a/include/tools/debug.hxx
+++ b/include/tools/debug.hxx
@@ -69,31 +69,31 @@ inline void DbgSaveData( const DbgData& rData )
DbgFunc( DBG_FUNC_SAVEDATA, (void*)&rData );
}
-inline sal_uIntPtr DbgIsResource()
+inline bool DbgIsResource()
{
DbgData* pData = DbgGetData();
if ( pData )
return pData->nTestFlags & DBG_TEST_RESOURCE;
else
- return sal_False;
+ return false;
}
-inline sal_uIntPtr DbgIsDialog()
+inline bool DbgIsDialog()
{
DbgData* pData = DbgGetData();
if ( pData )
return pData->nTestFlags & DBG_TEST_DIALOG;
else
- return sal_False;
+ return false;
}
-inline sal_uIntPtr DbgIsBoldAppFont()
+inline bool DbgIsBoldAppFont()
{
DbgData* pData = DbgGetData();
if ( pData )
return pData->nTestFlags & DBG_TEST_BOLDAPPFONT;
else
- return sal_False;
+ return false;
}
inline void DbgSetTestSolarMutex( DbgTestSolarMutexProc pProc )