[Libreoffice-commits] core.git: 13 commits - codemaker/source comphelper/source compilerplugins/clang connectivity/source cppuhelper/source cppu/source cui/source dbaccess/source embeddedobj/source extensions/source filter/source forms/source idlc/inc idlc/source include/codemaker include/com include/comphelper include/cppuhelper include/registry include/store include/ucbhelper l10ntools/inc l10ntools/source oox/source package/source registry/source registry/tools reportdesign/source salhelper/source sal/osl sal/qa sal/rtl sc/source sd/source sfx2/source store/source svl/source svx/source sw/source toolkit/source ucbhelper/source ucb/source unodevtools/inc unodevtools/source writerperfect/source xmloff/source

Stephan Bergmann sbergman at redhat.com
Mon Feb 17 17:56:11 CET 2014


 codemaker/source/codemaker/global.cxx                       |   50 -
 codemaker/source/codemaker/options.cxx                      |    2 
 codemaker/source/cppumaker/cppuoptions.cxx                  |    8 
 codemaker/source/cppumaker/cppuoptions.hxx                  |    2 
 codemaker/source/javamaker/javaoptions.cxx                  |    8 
 codemaker/source/javamaker/javaoptions.hxx                  |    2 
 comphelper/source/container/container.cxx                   |   24 
 comphelper/source/container/embeddedobjectcontainer.cxx     |  142 ++---
 comphelper/source/container/enumerablemap.cxx               |    4 
 comphelper/source/container/enumhelper.cxx                  |   14 
 comphelper/source/misc/SelectionMultiplex.cxx               |    8 
 comphelper/source/misc/accessiblecomponenthelper.cxx        |    2 
 comphelper/source/misc/accessiblecontexthelper.cxx          |    2 
 comphelper/source/misc/accessibleeventnotifier.cxx          |    2 
 comphelper/source/misc/accessibleselectionhelper.cxx        |    2 
 comphelper/source/misc/accessibletexthelper.cxx             |   20 
 comphelper/source/misc/accessiblewrapper.cxx                |   10 
 comphelper/source/misc/accimplaccess.cxx                    |    2 
 comphelper/source/misc/configurationhelper.cxx              |    4 
 comphelper/source/misc/docpasswordhelper.cxx                |    6 
 comphelper/source/misc/docpasswordrequest.cxx               |   24 
 comphelper/source/misc/documentiologring.cxx                |   12 
 comphelper/source/misc/documentiologring.hxx                |    4 
 comphelper/source/misc/instancelocker.cxx                   |   22 
 comphelper/source/misc/instancelocker.hxx                   |   10 
 comphelper/source/misc/mimeconfighelper.cxx                 |   22 
 comphelper/source/misc/officerestartmanager.cxx             |   10 
 comphelper/source/misc/officerestartmanager.hxx             |    8 
 comphelper/source/misc/sequence.cxx                         |    2 
 comphelper/source/misc/sequenceashashmap.cxx                |   10 
 comphelper/source/misc/stillreadwriteinteraction.cxx        |   28 -
 comphelper/source/misc/storagehelper.cxx                    |   30 -
 comphelper/source/misc/syntaxhighlight.cxx                  |   42 -
 comphelper/source/misc/types.cxx                            |   34 -
 comphelper/source/processfactory/processfactory.cxx         |    6 
 comphelper/source/property/ChainablePropertySetInfo.cxx     |    2 
 comphelper/source/property/MasterPropertySet.cxx            |   14 
 comphelper/source/property/MasterPropertySetInfo.cxx        |    2 
 comphelper/source/property/opropertybag.cxx                 |    4 
 comphelper/source/property/opropertybag.hxx                 |    2 
 comphelper/source/property/propagg.cxx                      |   20 
 comphelper/source/property/property.cxx                     |   10 
 comphelper/source/property/propertycontainerhelper.cxx      |   18 
 comphelper/source/property/propertysethelper.cxx            |    6 
 comphelper/source/property/propertysetinfo.cxx              |    4 
 comphelper/source/property/propertystatecontainer.cxx       |    2 
 comphelper/source/property/propmultiplex.cxx                |   10 
 comphelper/source/property/propstate.cxx                    |    2 
 comphelper/source/streaming/basicio.cxx                     |    4 
 comphelper/source/streaming/seqinputstreamserv.cxx          |    6 
 comphelper/source/streaming/seqstream.cxx                   |    4 
 compilerplugins/clang/pluginhandler.cxx                     |   33 -
 compilerplugins/clang/pluginhandler.hxx                     |    2 
 connectivity/source/commontools/ConnectionWrapper.cxx       |    2 
 connectivity/source/drivers/dbase/DTable.cxx                |    6 
 cppu/source/threadpool/current.cxx                          |    8 
 cppu/source/threadpool/current.hxx                          |    2 
 cppu/source/threadpool/jobqueue.cxx                         |   14 
 cppu/source/threadpool/jobqueue.hxx                         |   10 
 cppu/source/threadpool/thread.cxx                           |    6 
 cppu/source/threadpool/thread.hxx                           |    6 
 cppu/source/threadpool/threadident.cxx                      |    4 
 cppu/source/threadpool/threadpool.cxx                       |   32 -
 cppu/source/threadpool/threadpool.hxx                       |    8 
 cppu/source/typelib/typelib.cxx                             |   12 
 cppu/source/uno/assign.hxx                                  |  146 ++---
 cppu/source/uno/data.cxx                                    |    6 
 cppu/source/uno/eq.hxx                                      |  104 +--
 cppu/source/uno/lbmap.cxx                                   |    4 
 cppu/source/uno/prim.hxx                                    |    2 
 cppuhelper/source/component.cxx                             |    4 
 cppuhelper/source/factory.cxx                               |   26 
 cppuhelper/source/implbase.cxx                              |    2 
 cppuhelper/source/implementationentry.cxx                   |    4 
 cppuhelper/source/interfacecontainer.cxx                    |    2 
 cppuhelper/source/propshlp.cxx                              |    4 
 cui/source/dialogs/showcols.cxx                             |    2 
 dbaccess/source/core/api/RowSet.cxx                         |    2 
 dbaccess/source/core/dataaccess/connection.cxx              |    2 
 dbaccess/source/core/dataaccess/myucp_datasupplier.cxx      |   12 
 dbaccess/source/core/dataaccess/myucp_datasupplier.hxx      |    4 
 dbaccess/source/ext/macromigration/migrationengine.cxx      |    4 
 dbaccess/source/ui/browser/brwctrlr.cxx                     |   20 
 dbaccess/source/ui/misc/UITools.cxx                         |    2 
 dbaccess/source/ui/querydesign/QueryTableView.cxx           |    4 
 dbaccess/source/ui/querydesign/querycontroller.cxx          |    2 
 embeddedobj/source/commonembedding/persistence.cxx          |    2 
 embeddedobj/source/commonembedding/xfactory.cxx             |    4 
 embeddedobj/source/general/xcreator.cxx                     |    4 
 extensions/source/propctrlr/formcomponenthandler.cxx        |    4 
 filter/source/msfilter/msdffimp.cxx                         |    2 
 forms/source/component/Button.cxx                           |    2 
 forms/source/component/ComboBox.cxx                         |    8 
 forms/source/component/ComboBox.hxx                         |    2 
 forms/source/component/DatabaseForm.cxx                     |    8 
 forms/source/component/FormComponent.cxx                    |    2 
 forms/source/component/Grid.cxx                             |    4 
 forms/source/component/ImageControl.cxx                     |    2 
 forms/source/component/ListBox.cxx                          |    6 
 forms/source/component/clickableimage.hxx                   |    2 
 forms/source/component/formcontrolfont.cxx                  |    4 
 forms/source/xforms/submission/submission_put.cxx           |    2 
 idlc/inc/idlc/astattribute.hxx                              |   24 
 idlc/inc/idlc/astconstant.hxx                               |    2 
 idlc/inc/idlc/astdeclaration.hxx                            |   22 
 idlc/inc/idlc/astenum.hxx                                   |    2 
 idlc/inc/idlc/astexpression.hxx                             |    6 
 idlc/inc/idlc/astinterface.hxx                              |   18 
 idlc/inc/idlc/astinterfacemember.hxx                        |    2 
 idlc/inc/idlc/astmodule.hxx                                 |    2 
 idlc/inc/idlc/astoperation.hxx                              |    2 
 idlc/inc/idlc/astservice.hxx                                |    2 
 idlc/inc/idlc/astservicemember.hxx                          |    2 
 idlc/inc/idlc/aststruct.hxx                                 |    2 
 idlc/inc/idlc/asttypedef.hxx                                |    2 
 idlc/inc/idlc/fehelper.hxx                                  |    2 
 idlc/inc/idlc/idlc.hxx                                      |   18 
 idlc/inc/idlc/idlctypes.hxx                                 |    4 
 idlc/source/astconstant.cxx                                 |    6 
 idlc/source/astdeclaration.cxx                              |   22 
 idlc/source/astdump.cxx                                     |   22 
 idlc/source/astenum.cxx                                     |    8 
 idlc/source/astexpression.cxx                               |   10 
 idlc/source/astinterface.cxx                                |   12 
 idlc/source/astoperation.cxx                                |    4 
 idlc/source/astscope.cxx                                    |    4 
 idlc/source/aststruct.cxx                                   |    8 
 idlc/source/fehelper.cxx                                    |    6 
 idlc/source/idlc.cxx                                        |    8 
 idlc/source/idlccompile.cxx                                 |   18 
 idlc/source/idlcproduce.cxx                                 |   14 
 idlc/source/scanner.l                                       |    2 
 include/codemaker/global.hxx                                |   16 
 include/codemaker/options.hxx                               |    4 
 include/com/sun/star/uno/Sequence.hxx                       |    8 
 include/comphelper/MasterPropertySet.hxx                    |    6 
 include/comphelper/SelectionMultiplex.hxx                   |    6 
 include/comphelper/accessiblecomponenthelper.hxx            |    2 
 include/comphelper/accessiblecontexthelper.hxx              |    2 
 include/comphelper/accessibleselectionhelper.hxx            |    4 
 include/comphelper/accessibletexthelper.hxx                 |    8 
 include/comphelper/accessiblewrapper.hxx                    |    6 
 include/comphelper/accimplaccess.hxx                        |    2 
 include/comphelper/basicio.hxx                              |    6 
 include/comphelper/container.hxx                            |    4 
 include/comphelper/docpasswordhelper.hxx                    |    2 
 include/comphelper/docpasswordrequest.hxx                   |    8 
 include/comphelper/embeddedobjectcontainer.hxx              |   40 -
 include/comphelper/enumhelper.hxx                           |    4 
 include/comphelper/extract.hxx                              |   10 
 include/comphelper/interaction.hxx                          |   10 
 include/comphelper/logging.hxx                              |    2 
 include/comphelper/mimeconfighelper.hxx                     |    6 
 include/comphelper/propagg.hxx                              |    4 
 include/comphelper/property.hxx                             |   24 
 include/comphelper/propertycontainerhelper.hxx              |    8 
 include/comphelper/propmultiplex.hxx                        |    6 
 include/comphelper/seqstream.hxx                            |    2 
 include/comphelper/sequence.hxx                             |    8 
 include/comphelper/sequenceashashmap.hxx                    |   10 
 include/comphelper/stillreadwriteinteraction.hxx            |    8 
 include/comphelper/stl_types.hxx                            |    6 
 include/comphelper/storagehelper.hxx                        |   12 
 include/comphelper/types.hxx                                |   22 
 include/comphelper/uno3.hxx                                 |    6 
 include/cppuhelper/proptypehlp.hxx                          |   30 -
 include/registry/reflread.hxx                               |    8 
 include/registry/registry.hxx                               |   30 -
 include/store/store.hxx                                     |    2 
 include/ucbhelper/content.hxx                               |   18 
 include/ucbhelper/contenthelper.hxx                         |   18 
 include/ucbhelper/contentinfo.hxx                           |    6 
 include/ucbhelper/interactionrequest.hxx                    |   64 +-
 include/ucbhelper/interceptedinteraction.hxx                |    6 
 include/ucbhelper/propertyvalueset.hxx                      |   12 
 include/ucbhelper/providerhelper.hxx                        |   14 
 include/ucbhelper/resultset.hxx                             |    4 
 include/ucbhelper/resultsethelper.hxx                       |    8 
 include/ucbhelper/resultsetmetadata.hxx                     |   36 -
 include/ucbhelper/simpleauthenticationrequest.hxx           |   16 
 include/ucbhelper/simplenameclashresolverequest.hxx         |    2 
 l10ntools/inc/cfgmerge.hxx                                  |    6 
 l10ntools/inc/export.hxx                                    |   34 -
 l10ntools/inc/lngmerge.hxx                                  |    8 
 l10ntools/inc/xmlparse.hxx                                  |    2 
 l10ntools/inc/xrmmerge.hxx                                  |    8 
 l10ntools/source/cfgmerge.cxx                               |   22 
 l10ntools/source/export.cxx                                 |  102 +--
 l10ntools/source/lngmerge.cxx                               |   24 
 l10ntools/source/merge.cxx                                  |   24 
 l10ntools/source/xmlparse.cxx                               |    4 
 l10ntools/source/xrmmerge.cxx                               |   32 -
 oox/source/helper/zipstorage.cxx                            |    4 
 package/source/xstor/xstorage.cxx                           |   50 -
 package/source/zipapi/ZipFile.cxx                           |    2 
 package/source/zipapi/ZipOutputStream.cxx                   |    4 
 package/source/zippackage/ZipPackage.cxx                    |    2 
 package/source/zippackage/ZipPackageEntry.cxx               |    2 
 registry/source/keyimpl.hxx                                 |    4 
 registry/source/reflread.cxx                                |   12 
 registry/source/regimpl.cxx                                 |   24 
 registry/source/regimpl.hxx                                 |   18 
 registry/tools/regcompare.cxx                               |   54 -
 registry/tools/regmerge.cxx                                 |    2 
 reportdesign/source/core/api/ReportDefinition.cxx           |    6 
 reportdesign/source/ui/report/ReportController.cxx          |    2 
 sal/osl/unx/conditn.cxx                                     |   10 
 sal/osl/unx/diagnose.cxx                                    |    2 
 sal/osl/unx/file_misc.cxx                                   |    6 
 sal/osl/unx/module.cxx                                      |   21 
 sal/osl/unx/process.cxx                                     |   12 
 sal/osl/unx/uunxapi.hxx                                     |    2 
 sal/qa/OStringBuffer/rtl_OStringBuffer.cxx                  |   40 -
 sal/qa/OStringBuffer/rtl_String_Utils.cxx                   |   20 
 sal/qa/OStringBuffer/rtl_String_Utils.hxx                   |   10 
 sal/qa/osl/condition/osl_Condition.cxx                      |   32 -
 sal/qa/osl/file/osl_File.cxx                                |  325 +++++-------
 sal/qa/osl/module/osl_Module.cxx                            |   55 --
 sal/qa/osl/mutex/osl_Mutex.cxx                              |  112 +---
 sal/qa/osl/process/osl_Thread.cxx                           |  112 +---
 sal/qa/osl/security/TODO.h                                  |    8 
 sal/qa/osl/security/osl_Security.cxx                        |   35 -
 sal/qa/osl/security/osl_Security_Const.h                    |    2 
 sal/qa/rtl/locale/rtl_locale.cxx                            |    4 
 sal/qa/rtl/oustring/rtl_OUString2.cxx                       |    4 
 sal/qa/rtl/strings/test_oustring_endswith.cxx               |    2 
 sal/qa/rtl/textenc/rtl_tencinfo.cxx                         |   28 -
 sal/qa/rtl/uuid/rtl_Uuid.cxx                                |    8 
 sal/rtl/bootstrap.cxx                                       |    8 
 sal/rtl/byteseq.cxx                                         |    6 
 sal/rtl/random.cxx                                          |    8 
 sal/rtl/strimp.cxx                                          |   10 
 sal/rtl/strimp.hxx                                          |    2 
 sal/rtl/string.cxx                                          |   14 
 sal/rtl/strtmpl.cxx                                         |    6 
 sal/rtl/ustring.cxx                                         |    2 
 salhelper/source/timer.cxx                                  |   28 -
 sc/source/ui/docshell/docsh8.cxx                            |    2 
 sd/source/ui/accessibility/AccessibleDocumentViewBase.cxx   |    4 
 sd/source/ui/accessibility/AccessibleDrawDocumentView.cxx   |    2 
 sd/source/ui/inc/AccessibleDocumentViewBase.hxx             |    2 
 sd/source/ui/inc/AccessibleDrawDocumentView.hxx             |    2 
 sfx2/source/doc/DocumentMetadataAccess.cxx                  |    2 
 sfx2/source/doc/oleprops.cxx                                |    2 
 sfx2/source/view/viewfrm.cxx                                |    2 
 store/source/object.cxx                                     |    2 
 store/source/object.hxx                                     |    4 
 store/source/storbios.cxx                                   |    2 
 store/source/storbios.hxx                                   |    4 
 store/source/stordir.cxx                                    |    2 
 store/source/stordir.hxx                                    |    2 
 store/source/storlckb.cxx                                   |    2 
 store/source/storlckb.hxx                                   |    2 
 store/source/storpage.cxx                                   |    2 
 store/source/storpage.hxx                                   |    6 
 store/source/stortree.hxx                                   |    4 
 svl/source/passwordcontainer/passwordcontainer.cxx          |   12 
 svx/source/accessibility/charmapacc.cxx                     |    2 
 svx/source/fmcomp/fmgridcl.cxx                              |    2 
 svx/source/fmcomp/gridcell.cxx                              |    4 
 svx/source/form/fmshimp.cxx                                 |   26 
 svx/source/inc/charmapacc.hxx                               |    2 
 svx/source/inc/fmshimp.hxx                                  |    8 
 svx/source/svdraw/svdoole2.cxx                              |    2 
 sw/source/core/ole/ndole.cxx                                |    4 
 sw/source/core/undo/unins.cxx                               |    2 
 toolkit/source/controls/unocontrols.cxx                     |    2 
 ucb/source/core/FileAccess.cxx                              |    2 
 ucb/source/core/ucbcmds.cxx                                 |    2 
 ucb/source/ucp/cmis/cmis_content.cxx                        |   18 
 ucb/source/ucp/cmis/cmis_datasupplier.cxx                   |   10 
 ucb/source/ucp/cmis/cmis_datasupplier.hxx                   |    4 
 ucb/source/ucp/cmis/cmis_repo_content.cxx                   |   10 
 ucb/source/ucp/ext/ucpext_content.cxx                       |    8 
 ucb/source/ucp/ext/ucpext_datasupplier.cxx                  |   10 
 ucb/source/ucp/ext/ucpext_datasupplier.hxx                  |    4 
 ucb/source/ucp/gio/gio_content.cxx                          |    8 
 ucb/source/ucp/gio/gio_datasupplier.cxx                     |   10 
 ucb/source/ucp/gio/gio_datasupplier.hxx                     |    4 
 ucb/source/ucp/hierarchy/hierarchycontent.cxx               |   12 
 ucb/source/ucp/hierarchy/hierarchydatasupplier.cxx          |   12 
 ucb/source/ucp/hierarchy/hierarchydatasupplier.hxx          |    4 
 ucb/source/ucp/package/pkgcontent.cxx                       |   12 
 ucb/source/ucp/package/pkgdatasupplier.cxx                  |   12 
 ucb/source/ucp/package/pkgdatasupplier.hxx                  |    4 
 ucb/source/ucp/tdoc/tdoc_content.cxx                        |   14 
 ucb/source/ucp/tdoc/tdoc_datasupplier.cxx                   |    8 
 ucb/source/ucp/tdoc/tdoc_datasupplier.hxx                   |    4 
 ucb/source/ucp/webdav-neon/webdavcontent.cxx                |   16 
 ucb/source/ucp/webdav-neon/webdavdatasupplier.cxx           |   10 
 ucb/source/ucp/webdav-neon/webdavdatasupplier.hxx           |    4 
 ucbhelper/source/client/content.cxx                         |   50 -
 ucbhelper/source/client/interceptedinteraction.cxx          |    2 
 ucbhelper/source/provider/contenthelper.cxx                 |   26 
 ucbhelper/source/provider/contentinfo.cxx                   |   20 
 ucbhelper/source/provider/propertyvalueset.cxx              |   32 -
 ucbhelper/source/provider/providerhelper.cxx                |   72 +-
 ucbhelper/source/provider/resultset.cxx                     |  120 ++--
 ucbhelper/source/provider/resultsethelper.cxx               |   16 
 ucbhelper/source/provider/resultsetmetadata.cxx             |   18 
 ucbhelper/source/provider/simpleauthenticationrequest.cxx   |   26 
 ucbhelper/source/provider/simplenameclashresolverequest.cxx |    2 
 unodevtools/inc/unodevtools/options.hxx                     |    4 
 unodevtools/source/skeletonmaker/cppcompskeleton.cxx        |    4 
 unodevtools/source/skeletonmaker/javacompskeleton.cxx       |    2 
 unodevtools/source/unodevtools/options.cxx                  |   18 
 writerperfect/source/impress/KeynoteImportFilter.cxx        |    4 
 xmloff/source/draw/animimp.cxx                              |    4 
 xmloff/source/draw/ximpshap.cxx                             |   22 
 xmloff/source/style/NamedBoolPropertyHdl.cxx                |    4 
 xmloff/source/style/PageMasterExportPropMapper.cxx          |    2 
 xmloff/source/style/PageMasterPropHdl.cxx                   |    4 
 312 files changed, 2092 insertions(+), 2115 deletions(-)

New commits:
commit 05f742d28b3786f44781af5b069c05c16b84decd
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Sun Feb 16 22:51:15 2014 +0100

    comphelper: sal_Bool -> bool
    
    Change-Id: I6fc331ae0706f4bb193543011c8d4ae0a385fcc0

diff --git a/comphelper/source/container/container.cxx b/comphelper/source/container/container.cxx
index 036375b..d3b4404 100644
--- a/comphelper/source/container/container.cxx
+++ b/comphelper/source/container/container.cxx
@@ -41,23 +41,23 @@ IndexAccessIterator::~IndexAccessIterator() {}
 //------------------------------------------------------------------------------
 ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface> IndexAccessIterator::Next()
 {
-    sal_Bool bCheckingStartingPoint = !m_xCurrentObject.is();
+    bool bCheckingStartingPoint = !m_xCurrentObject.is();
         // Is the current node the starting point?
-    sal_Bool bAlreadyCheckedCurrent = m_xCurrentObject.is();
+    bool bAlreadyCheckedCurrent = m_xCurrentObject.is();
         // Have I already tested the current node through ShouldHandleElement?
     if (!m_xCurrentObject.is())
         m_xCurrentObject = m_xStartingPoint;
 
     ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface> xSearchLoop( m_xCurrentObject);
-    sal_Bool bHasMoreToSearch = sal_True;
-    sal_Bool bFoundSomething = sal_False;
+    bool bHasMoreToSearch = true;
+    bool bFoundSomething = false;
     while (!bFoundSomething && bHasMoreToSearch)
     {
         // Priming loop
         if (!bAlreadyCheckedCurrent && ShouldHandleElement(xSearchLoop))
         {
             m_xCurrentObject = xSearchLoop;
-            bFoundSomething = sal_True;
+            bFoundSomething = true;
         }
         else
         {
@@ -67,7 +67,7 @@ IndexAccessIterator::~IndexAccessIterator() {}
             {
                 ::com::sun::star::uno::Any aElement(xContainerAccess->getByIndex(0));
                 xSearchLoop = *(::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface>*)aElement.getValue();
-                bCheckingStartingPoint = sal_False;
+                bCheckingStartingPoint = false;
 
                 m_arrChildIndizies.push_back((sal_Int32)0);
             }
@@ -92,7 +92,7 @@ IndexAccessIterator::~IndexAccessIterator() {}
                         // and check the next child
                         ::com::sun::star::uno::Any aElement(xContainerAccess->getByIndex(nOldSearchChildIndex));
                         xSearchLoop = *(::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface>*) aElement.getValue();
-                        bCheckingStartingPoint = sal_False;
+                        bCheckingStartingPoint = false;
                         // and update its position in the list.
                         m_arrChildIndizies.push_back((sal_Int32)nOldSearchChildIndex);
 
@@ -100,12 +100,12 @@ IndexAccessIterator::~IndexAccessIterator() {}
                     }
                     // Finally, if there's nothing more to do in this row (to the right), we'll move on to the next row.
                     xSearchLoop = xParent;
-                    bCheckingStartingPoint = sal_False;
+                    bCheckingStartingPoint = false;
                 }
 
                 if (m_arrChildIndizies.empty() && !bCheckingStartingPoint)
                 {   //This is the case if there is nothing to the right in the original search loop
-                    bHasMoreToSearch = sal_False;
+                    bHasMoreToSearch = false;
                 }
             }
 
@@ -114,12 +114,12 @@ IndexAccessIterator::~IndexAccessIterator() {}
                 if (ShouldHandleElement(xSearchLoop))
                 {
                     m_xCurrentObject = xSearchLoop;
-                    bFoundSomething = sal_True;
+                    bFoundSomething = true;
                 }
                 else
                     if (bCheckingStartingPoint)
-                        bHasMoreToSearch = sal_False;
-                bAlreadyCheckedCurrent = sal_True;
+                        bHasMoreToSearch = false;
+                bAlreadyCheckedCurrent = true;
             }
         }
     }
diff --git a/comphelper/source/container/embeddedobjectcontainer.cxx b/comphelper/source/container/embeddedobjectcontainer.cxx
index 2d7df99..eaa9772 100644
--- a/comphelper/source/container/embeddedobjectcontainer.cxx
+++ b/comphelper/source/container/embeddedobjectcontainer.cxx
@@ -60,7 +60,7 @@ struct hashObjectName_Impl
 
 struct eqObjectName_Impl
 {
-    sal_Bool operator()(const OUString Str1, const OUString Str2) const
+    bool operator()(const OUString Str1, const OUString Str2) const
     {
         return ( Str1 == Str2 );
     }
@@ -148,13 +148,13 @@ void EmbeddedObjectContainer::SwitchPersistence( const uno::Reference < embed::X
     pImpl->bOwnsStorage = false;
 }
 
-sal_Bool EmbeddedObjectContainer::CommitImageSubStorage()
+bool EmbeddedObjectContainer::CommitImageSubStorage()
 {
     if ( pImpl->mxImageStorage.is() )
     {
         try
         {
-            sal_Bool bReadOnlyMode = sal_True;
+            bool bReadOnlyMode = true;
             uno::Reference < beans::XPropertySet > xSet(pImpl->mxImageStorage,uno::UNO_QUERY);
             if ( xSet.is() )
             {
@@ -172,11 +172,11 @@ sal_Bool EmbeddedObjectContainer::CommitImageSubStorage()
         }
         catch (const uno::Exception&)
         {
-            return sal_False;
+            return false;
         }
     }
 
-    return sal_True;
+    return true;
 }
 
 void EmbeddedObjectContainer::ReleaseImageSubStorage()
@@ -255,12 +255,12 @@ uno::Sequence < OUString > EmbeddedObjectContainer::GetObjectNames()
     return aSeq;
 }
 
-sal_Bool EmbeddedObjectContainer::HasEmbeddedObjects()
+bool EmbeddedObjectContainer::HasEmbeddedObjects()
 {
     return pImpl->maObjectContainer.size() != 0;
 }
 
-sal_Bool EmbeddedObjectContainer::HasEmbeddedObject( const OUString& rName )
+bool EmbeddedObjectContainer::HasEmbeddedObject( const OUString& rName )
 {
     EmbeddedObjectContainerNameMap::iterator aIt = pImpl->maObjectContainer.find( rName );
     if ( aIt == pImpl->maObjectContainer.end() )
@@ -269,24 +269,24 @@ sal_Bool EmbeddedObjectContainer::HasEmbeddedObject( const OUString& rName )
         return xAccess->hasByName(rName);
     }
     else
-        return sal_True;
+        return true;
 }
 
-sal_Bool EmbeddedObjectContainer::HasEmbeddedObject( const uno::Reference < embed::XEmbeddedObject >& xObj )
+bool EmbeddedObjectContainer::HasEmbeddedObject( const uno::Reference < embed::XEmbeddedObject >& xObj )
 {
     EmbeddedObjectContainerNameMap::iterator aIt = pImpl->maObjectContainer.begin();
     while ( aIt != pImpl->maObjectContainer.end() )
     {
         if ( (*aIt).second == xObj )
-            return sal_True;
+            return true;
         else
             ++aIt;
     }
 
-    return sal_False;
+    return false;
 }
 
-sal_Bool EmbeddedObjectContainer::HasInstantiatedEmbeddedObject( const OUString& rName )
+bool EmbeddedObjectContainer::HasInstantiatedEmbeddedObject( const OUString& rName )
 {
     // allows to detect whether the object was already instantiated
     // currently the filter instantiate it on loading, so this method allows
@@ -347,7 +347,7 @@ uno::Reference < embed::XEmbeddedObject > EmbeddedObjectContainer::Get_Impl( con
     {
         // create the object from the storage
         uno::Reference < beans::XPropertySet > xSet( pImpl->mxStorage, uno::UNO_QUERY );
-        sal_Bool bReadOnlyMode = sal_True;
+        bool bReadOnlyMode = true;
         if ( xSet.is() )
         {
             // get the open mode from the parent storage
@@ -493,7 +493,7 @@ void EmbeddedObjectContainer::AddEmbeddedObject( const ::com::sun::star::uno::Re
     }
 }
 
-sal_Bool EmbeddedObjectContainer::StoreEmbeddedObject( const uno::Reference < embed::XEmbeddedObject >& xObj, OUString& rName, sal_Bool bCopy )
+bool EmbeddedObjectContainer::StoreEmbeddedObject( const uno::Reference < embed::XEmbeddedObject >& xObj, OUString& rName, bool bCopy )
 {
     SAL_INFO( "comphelper.container", "comphelper (mv76033) comphelper::EmbeddedObjectContainer::StoreEmbeddedObject" );
 
@@ -528,24 +528,24 @@ sal_Bool EmbeddedObjectContainer::StoreEmbeddedObject( const uno::Reference < em
     {
         SAL_WARN("comphelper.container", "EmbeddedObjectContainer::StoreEmbeddedObject: exception caught: " << e.Message);
         // TODO/LATER: better error recovery should keep storage intact
-        return sal_False;
+        return false;
     }
 
-    return sal_True;
+    return true;
 }
 
-sal_Bool EmbeddedObjectContainer::InsertEmbeddedObject( const uno::Reference < embed::XEmbeddedObject >& xObj, OUString& rName )
+bool EmbeddedObjectContainer::InsertEmbeddedObject( const uno::Reference < embed::XEmbeddedObject >& xObj, OUString& rName )
 {
     SAL_INFO( "comphelper.container", "comphelper (mv76033) comphelper::EmbeddedObjectContainer::InsertEmbeddedObject( Object )" );
     // store it into the container storage
-    if ( StoreEmbeddedObject( xObj, rName, sal_False ) )
+    if ( StoreEmbeddedObject( xObj, rName, false ) )
     {
         // remember object
         AddEmbeddedObject( xObj, rName );
-        return sal_True;
+        return true;
     }
     else
-        return sal_False;
+        return false;
 }
 
 uno::Reference < embed::XEmbeddedObject > EmbeddedObjectContainer::InsertEmbeddedObject( const uno::Reference < io::XInputStream >& xStm, OUString& rNewName )
@@ -556,14 +556,14 @@ uno::Reference < embed::XEmbeddedObject > EmbeddedObjectContainer::InsertEmbedde
         rNewName = CreateUniqueObjectName();
 
     // store it into the container storage
-    sal_Bool bIsStorage = sal_False;
+    bool bIsStorage = false;
     try
     {
         // first try storage persistence
         uno::Reference < embed::XStorage > xStore = ::comphelper::OStorageHelper::GetStorageFromInputStream( xStm );
 
         // storage was created from stream successfully
-        bIsStorage = sal_True;
+        bIsStorage = true;
 
         uno::Reference < embed::XStorage > xNewStore = pImpl->mxStorage->openStorageElement( rNewName, embed::ElementModes::READWRITE );
         xStore->copyToStorage( xNewStore );
@@ -681,13 +681,13 @@ uno::Reference < embed::XEmbeddedObject > EmbeddedObjectContainer::InsertEmbedde
     return xObj;
 }
 
-sal_Bool EmbeddedObjectContainer::TryToCopyGraphReplacement( EmbeddedObjectContainer& rSrc,
+bool EmbeddedObjectContainer::TryToCopyGraphReplacement( EmbeddedObjectContainer& rSrc,
                                                             const OUString& aOrigName,
                                                             const OUString& aTargetName )
 {
     SAL_INFO( "comphelper.container", "comphelper (mv76033) comphelper::EmbeddedObjectContainer::TryToCopyGraphReplacement" );
 
-    sal_Bool bResult = sal_False;
+    bool bResult = false;
 
     if ( ( &rSrc != this || !aOrigName.equals( aTargetName ) ) && !aOrigName.isEmpty() && !aTargetName.isEmpty() )
     {
@@ -722,7 +722,7 @@ uno::Reference < embed::XEmbeddedObject > EmbeddedObjectContainer::CopyAndGetEmb
         rName = CreateUniqueObjectName();
 
     // objects without persistance are not really stored by the method
-    if ( xObj.is() && StoreEmbeddedObject( xObj, rName, sal_True ) )
+    if ( xObj.is() && StoreEmbeddedObject( xObj, rName, true ) )
     {
         xResult = Get_Impl( rName, xObj);
         if ( !xResult.is() )
@@ -853,7 +853,7 @@ uno::Reference < embed::XEmbeddedObject > EmbeddedObjectContainer::CopyAndGetEmb
     return xResult;
 }
 
-sal_Bool EmbeddedObjectContainer::MoveEmbeddedObject( EmbeddedObjectContainer& rSrc, const uno::Reference < embed::XEmbeddedObject >& xObj, OUString& rName )
+bool EmbeddedObjectContainer::MoveEmbeddedObject( EmbeddedObjectContainer& rSrc, const uno::Reference < embed::XEmbeddedObject >& xObj, OUString& rName )
 {
     SAL_INFO( "comphelper.container", "comphelper (mv76033) comphelper::EmbeddedObjectContainer::MoveEmbeddedObject( Object )" );
 
@@ -864,7 +864,7 @@ sal_Bool EmbeddedObjectContainer::MoveEmbeddedObject( EmbeddedObjectContainer& r
         aName = xPersist->getEntryName();
 
     // now move the object to the new container; the returned name is the new persist name in this container
-    sal_Bool bRet;
+    bool bRet;
 
     try
     {
@@ -875,20 +875,20 @@ sal_Bool EmbeddedObjectContainer::MoveEmbeddedObject( EmbeddedObjectContainer& r
     catch (const uno::Exception&)
     {
         SAL_WARN( "comphelper.container", "Failed to insert embedded object into storage!" );
-        bRet = sal_False;
+        bRet = false;
     }
 
     if ( bRet )
     {
         // now remove the object from the former container
-        bRet = sal_False;
+        bRet = false;
         EmbeddedObjectContainerNameMap::iterator aIt = rSrc.pImpl->maObjectContainer.begin();
         while ( aIt != rSrc.pImpl->maObjectContainer.end() )
         {
             if ( (*aIt).second == xObj )
             {
                 rSrc.pImpl->maObjectContainer.erase( aIt );
-                bRet = sal_True;
+                bRet = true;
                 break;
             }
 
@@ -907,7 +907,7 @@ sal_Bool EmbeddedObjectContainer::MoveEmbeddedObject( EmbeddedObjectContainer& r
             catch (const uno::Exception&)
             {
                 SAL_WARN( "comphelper.container", "Failed to remove object from storage!" );
-                bRet = sal_False;
+                bRet = false;
             }
         }
 
@@ -918,7 +918,7 @@ sal_Bool EmbeddedObjectContainer::MoveEmbeddedObject( EmbeddedObjectContainer& r
 }
 
 // #i119941, bKeepToTempStorage: use to specify whether store the removed object to temporary storage+
-sal_Bool EmbeddedObjectContainer::RemoveEmbeddedObject( const OUString& rName, sal_Bool bClose, sal_Bool bKeepToTempStorage )
+bool EmbeddedObjectContainer::RemoveEmbeddedObject( const OUString& rName, bool bClose, bool bKeepToTempStorage )
 {
     SAL_INFO( "comphelper.container", "comphelper (mv76033) comphelper::EmbeddedObjectContainer::RemoveEmbeddedObject( Name )" );
 
@@ -927,10 +927,10 @@ sal_Bool EmbeddedObjectContainer::RemoveEmbeddedObject( const OUString& rName, s
         //return RemoveEmbeddedObject( xObj, bClose );
         return RemoveEmbeddedObject( xObj, bClose, bKeepToTempStorage );
     else
-        return sal_False;
+        return false;
 }
 
-sal_Bool EmbeddedObjectContainer::MoveEmbeddedObject( const OUString& rName, EmbeddedObjectContainer& rCnt )
+bool EmbeddedObjectContainer::MoveEmbeddedObject( const OUString& rName, EmbeddedObjectContainer& rCnt )
 {
     SAL_INFO( "comphelper.container", "comphelper (mv76033) comphelper::EmbeddedObjectContainer::MoveEmbeddedObject( Name )" );
 
@@ -939,7 +939,7 @@ sal_Bool EmbeddedObjectContainer::MoveEmbeddedObject( const OUString& rName, Emb
     OSL_ENSURE( aIt2 == rCnt.pImpl->maObjectContainer.end(), "Object does already exist in target container!" );
 
     if ( aIt2 != rCnt.pImpl->maObjectContainer.end() )
-        return sal_False;
+        return false;
 
     uno::Reference < embed::XEmbeddedObject > xObj;
     EmbeddedObjectContainerNameMap::iterator aIt = pImpl->maObjectContainer.find( rName );
@@ -969,23 +969,23 @@ sal_Bool EmbeddedObjectContainer::MoveEmbeddedObject( const OUString& rName, Emb
             rCnt.TryToCopyGraphReplacement( *this, rName, rName );
             // RemoveGraphicStream( rName );
 
-            return sal_True;
+            return true;
         }
         catch (const uno::Exception&)
         {
             SAL_WARN( "comphelper.container", "Could not move object!");
-            return sal_False;
+            return false;
         }
 
     }
     else
         SAL_WARN( "comphelper.container", "Unknown object!");
-    return sal_False;
+    return false;
 }
 
 //sal_Bool EmbeddedObjectContainer::RemoveEmbeddedObject( const uno::Reference < embed::XEmbeddedObject >& xObj, sal_Bool bClose )
 // #i119941, bKeepToTempStorage: use to specify whether store the removed object to temporary storage+
-sal_Bool EmbeddedObjectContainer::RemoveEmbeddedObject( const uno::Reference < embed::XEmbeddedObject >& xObj, sal_Bool bClose, sal_Bool bKeepToTempStorage )
+bool EmbeddedObjectContainer::RemoveEmbeddedObject( const uno::Reference < embed::XEmbeddedObject >& xObj, bool bClose, bool bKeepToTempStorage )
 {
     SAL_INFO( "comphelper.container", "comphelper (mv76033) comphelper::EmbeddedObjectContainer::RemoveEmbeddedObject( Object )" );
 
@@ -1013,7 +1013,7 @@ sal_Bool EmbeddedObjectContainer::RemoveEmbeddedObject( const uno::Reference < e
         }
         catch (const util::CloseVetoException&)
         {
-            bClose = sal_False;
+            bClose = false;
         }
     }
 
@@ -1081,18 +1081,18 @@ sal_Bool EmbeddedObjectContainer::RemoveEmbeddedObject( const uno::Reference < e
         }
         catch (const uno::Exception&)
         {
-            return sal_False;
+            return false;
         }
     }
 
-    sal_Bool bFound = sal_False;
+    bool bFound = false;
     EmbeddedObjectContainerNameMap::iterator aIt = pImpl->maObjectContainer.begin();
     while ( aIt != pImpl->maObjectContainer.end() )
     {
         if ( (*aIt).second == xObj )
         {
             pImpl->maObjectContainer.erase( aIt );
-            bFound = sal_True;
+            bFound = true;
             uno::Reference < container::XChild > xChild( xObj, uno::UNO_QUERY );
             if ( xChild.is() )
                 xChild->setParent( uno::Reference < uno::XInterface >() );
@@ -1122,27 +1122,27 @@ sal_Bool EmbeddedObjectContainer::RemoveEmbeddedObject( const uno::Reference < e
         catch (const uno::Exception&)
         {
             SAL_WARN( "comphelper.container", "Failed to remove object from storage!" );
-            return sal_False;
+            return false;
         }
     }
 
-    return sal_True;
+    return true;
 }
 
-sal_Bool EmbeddedObjectContainer::CloseEmbeddedObject( const uno::Reference < embed::XEmbeddedObject >& xObj )
+bool EmbeddedObjectContainer::CloseEmbeddedObject( const uno::Reference < embed::XEmbeddedObject >& xObj )
 {
     SAL_INFO( "comphelper.container", "comphelper (mv76033) comphelper::EmbeddedObjectContainer::CloseEmbeddedObject" );
 
     // disconnect the object from the container and close it if possible
 
-    sal_Bool bFound = sal_False;
+    bool bFound = false;
     EmbeddedObjectContainerNameMap::iterator aIt = pImpl->maObjectContainer.begin();
     while ( aIt != pImpl->maObjectContainer.end() )
     {
         if ( (*aIt).second == xObj )
         {
             pImpl->maObjectContainer.erase( aIt );
-            bFound = sal_True;
+            bFound = true;
             break;
         }
 
@@ -1220,7 +1220,7 @@ uno::Reference < io::XInputStream > EmbeddedObjectContainer::GetGraphicStream( c
     return GetGraphicStream( aName, pMediaType );
 }
 
-sal_Bool EmbeddedObjectContainer::InsertGraphicStream( const com::sun::star::uno::Reference < com::sun::star::io::XInputStream >& rStream, const OUString& rObjectName, const OUString& rMediaType )
+bool EmbeddedObjectContainer::InsertGraphicStream( const com::sun::star::uno::Reference < com::sun::star::io::XInputStream >& rStream, const OUString& rObjectName, const OUString& rMediaType )
 {
     SAL_INFO( "comphelper.container", "comphelper (mv76033) comphelper::EmbeddedObjectContainer::InsertGraphicStream" );
 
@@ -1251,13 +1251,13 @@ sal_Bool EmbeddedObjectContainer::InsertGraphicStream( const com::sun::star::uno
     }
     catch (const uno::Exception&)
     {
-        return sal_False;
+        return false;
     }
 
-    return sal_True;
+    return true;
 }
 
-sal_Bool EmbeddedObjectContainer::InsertGraphicStreamDirectly( const com::sun::star::uno::Reference < com::sun::star::io::XInputStream >& rStream, const OUString& rObjectName, const OUString& rMediaType )
+bool EmbeddedObjectContainer::InsertGraphicStreamDirectly( const com::sun::star::uno::Reference < com::sun::star::io::XInputStream >& rStream, const OUString& rObjectName, const OUString& rMediaType )
 {
     SAL_INFO( "comphelper.container", "comphelper (mv76033) comphelper::EmbeddedObjectContainer::InsertGraphicStreamDirectly" );
 
@@ -1282,14 +1282,14 @@ sal_Bool EmbeddedObjectContainer::InsertGraphicStreamDirectly( const com::sun::s
     }
     catch (const uno::Exception&)
     {
-        return sal_False;
+        return false;
     }
 
-    return sal_True;
+    return true;
 }
 
 
-sal_Bool EmbeddedObjectContainer::RemoveGraphicStream( const OUString& rObjectName )
+bool EmbeddedObjectContainer::RemoveGraphicStream( const OUString& rObjectName )
 {
     SAL_INFO( "comphelper.container", "comphelper (mv76033) comphelper::EmbeddedObjectContainer::RemoveGraphicStream" );
 
@@ -1300,10 +1300,10 @@ sal_Bool EmbeddedObjectContainer::RemoveGraphicStream( const OUString& rObjectNa
     }
     catch (const uno::Exception&)
     {
-        return sal_False;
+        return false;
     }
 
-    return sal_True;
+    return true;
 }
 namespace {
     void InsertStreamIntoPicturesStorage_Impl( const uno::Reference< embed::XStorage >& xDocStor,
@@ -1338,9 +1338,9 @@ namespace {
 
 }
 // -----------------------------------------------------------------------------
-sal_Bool EmbeddedObjectContainer::StoreAsChildren(sal_Bool _bOasisFormat,sal_Bool _bCreateEmbedded,const uno::Reference < embed::XStorage >& _xStorage)
+bool EmbeddedObjectContainer::StoreAsChildren(bool _bOasisFormat,bool _bCreateEmbedded,const uno::Reference < embed::XStorage >& _xStorage)
 {
-    sal_Bool bResult = sal_False;
+    bool bResult = false;
     try
     {
         comphelper::EmbeddedObjectContainer aCnt( _xStorage );
@@ -1353,7 +1353,7 @@ sal_Bool EmbeddedObjectContainer::StoreAsChildren(sal_Bool _bOasisFormat,sal_Boo
             SAL_WARN_IF( !xObj.is(), "comphelper.container", "An empty entry in the embedded objects list!\n" );
             if ( xObj.is() )
             {
-                sal_Bool bSwitchBackToLoaded = sal_False;
+                bool bSwitchBackToLoaded = false;
                 uno::Reference< embed::XLinkageSupport > xLink( xObj, uno::UNO_QUERY );
 
                 uno::Reference < io::XInputStream > xStream;
@@ -1372,7 +1372,7 @@ sal_Bool EmbeddedObjectContainer::StoreAsChildren(sal_Bool _bOasisFormat,sal_Boo
                     // the image must be regenerated
                     // TODO/LATER: another aspect could be used
                     if ( xObj->getCurrentState() == embed::EmbedStates::LOADED )
-                            bSwitchBackToLoaded = sal_True;
+                            bSwitchBackToLoaded = true;
 
                     xStream = GetGraphicReplacementStream(
                                                             embed::Aspects::MSOLE_CONTENT,
@@ -1404,7 +1404,7 @@ sal_Bool EmbeddedObjectContainer::StoreAsChildren(sal_Bool _bOasisFormat,sal_Boo
                 {
                     uno::Sequence< beans::PropertyValue > aArgs( _bOasisFormat ? 2 : 3 );
                     aArgs[0].Name = "StoreVisualReplacement";
-                    aArgs[0].Value <<= (sal_Bool)( !_bOasisFormat );
+                    aArgs[0].Value <<= !_bOasisFormat;
 
                     // if it is an embedded object or the optimized inserting fails the normal inserting should be done
                     aArgs[1].Name = "CanTryOptimization";
@@ -1438,7 +1438,7 @@ sal_Bool EmbeddedObjectContainer::StoreAsChildren(sal_Bool _bOasisFormat,sal_Boo
     catch (const uno::Exception& e)
     {
         // TODO/LATER: error handling
-        bResult = sal_False;
+        bResult = false;
         SAL_WARN("comphelper.container", "failed. Message: " << e.Message);
     }
 
@@ -1455,15 +1455,15 @@ sal_Bool EmbeddedObjectContainer::StoreAsChildren(sal_Bool _bOasisFormat,sal_Boo
         catch (const uno::Exception&)
         {
             // TODO/LATER: error handling;
-            bResult = sal_False;
+            bResult = false;
         }
     }
     return bResult;
 }
 // -----------------------------------------------------------------------------
-sal_Bool EmbeddedObjectContainer::StoreChildren(sal_Bool _bOasisFormat,sal_Bool _bObjectsOnly)
+bool EmbeddedObjectContainer::StoreChildren(bool _bOasisFormat,bool _bObjectsOnly)
 {
-    sal_Bool bResult = sal_True;
+    bool bResult = true;
     const uno::Sequence < OUString > aNames = GetObjectNames();
     const OUString* pIter = aNames.getConstArray();
     const OUString* pEnd   = pIter + aNames.getLength();
@@ -1534,7 +1534,7 @@ sal_Bool EmbeddedObjectContainer::StoreChildren(sal_Bool _bOasisFormat,sal_Bool
                 catch (const uno::Exception&)
                 {
                     // TODO/LATER: error handling
-                    bResult = sal_False;
+                    bResult = false;
                     break;
                 }
             }
@@ -1575,7 +1575,7 @@ sal_Bool EmbeddedObjectContainer::StoreChildren(sal_Bool _bOasisFormat,sal_Bool
         catch (const uno::Exception&)
         {
             // TODO/LATER: error handling
-            bResult = sal_False;
+            bResult = false;
         }
     }
     return bResult;
@@ -1608,9 +1608,9 @@ uno::Reference< io::XInputStream > EmbeddedObjectContainer::GetGraphicReplacemen
     return xInStream;
 }
 // -----------------------------------------------------------------------------
-sal_Bool EmbeddedObjectContainer::SetPersistentEntries(const uno::Reference< embed::XStorage >& _xStorage,bool _bClearModifedFlag)
+bool EmbeddedObjectContainer::SetPersistentEntries(const uno::Reference< embed::XStorage >& _xStorage,bool _bClearModifedFlag)
 {
-    sal_Bool bError = sal_False;
+    bool bError = false;
     const uno::Sequence < OUString > aNames = GetObjectNames();
     const OUString* pIter = aNames.getConstArray();
     const OUString* pEnd   = pIter + aNames.getLength();
@@ -1635,7 +1635,7 @@ sal_Bool EmbeddedObjectContainer::SetPersistentEntries(const uno::Reference< emb
                 catch (const uno::Exception&)
                 {
                     // TODO/LATER: error handling
-                    bError = sal_True;
+                    bError = true;
                     break;
                 }
             }
diff --git a/comphelper/source/container/enumerablemap.cxx b/comphelper/source/container/enumerablemap.cxx
index 207680e..d2432d2 100644
--- a/comphelper/source/container/enumerablemap.cxx
+++ b/comphelper/source/container/enumerablemap.cxx
@@ -280,7 +280,7 @@ namespace comphelper
         }
 
         // XEnumeration equivalents
-        ::sal_Bool hasMoreElements();
+        bool hasMoreElements();
         Any nextElement();
 
         // IMapModificationListener
@@ -725,7 +725,7 @@ namespace comphelper
     //= MapEnumerator
     //====================================================================
     //--------------------------------------------------------------------
-    ::sal_Bool MapEnumerator::hasMoreElements()
+    bool MapEnumerator::hasMoreElements()
     {
         if ( m_disposed )
             throw DisposedException( OUString(), m_rParent );
diff --git a/comphelper/source/container/enumhelper.cxx b/comphelper/source/container/enumhelper.cxx
index b48e67e..168cac4 100644
--- a/comphelper/source/container/enumhelper.cxx
+++ b/comphelper/source/container/enumhelper.cxx
@@ -33,7 +33,7 @@ OEnumerationByName::OEnumerationByName(const staruno::Reference<starcontainer::X
     :m_aNames(_rxAccess->getElementNames())
     ,m_nPos(0)
     ,m_xAccess(_rxAccess)
-    ,m_bListening(sal_False)
+    ,m_bListening(false)
 {
     impl_startDisposeListening();
 }
@@ -44,7 +44,7 @@ OEnumerationByName::OEnumerationByName(const staruno::Reference<starcontainer::X
     :m_aNames(_aNames)
     ,m_nPos(0)
     ,m_xAccess(_rxAccess)
-    ,m_bListening(sal_False)
+    ,m_bListening(false)
 {
     impl_startDisposeListening();
 }
@@ -117,7 +117,7 @@ void OEnumerationByName::impl_startDisposeListening()
     if (xDisposable.is())
     {
         xDisposable->addEventListener(this);
-        m_bListening = sal_True;
+        m_bListening = true;
     }
     --m_refCount;
 }
@@ -135,7 +135,7 @@ void OEnumerationByName::impl_stopDisposeListening()
     if (xDisposable.is())
     {
         xDisposable->removeEventListener(this);
-        m_bListening = sal_False;
+        m_bListening = false;
     }
     --m_refCount;
 }
@@ -147,7 +147,7 @@ void OEnumerationByName::impl_stopDisposeListening()
 OEnumerationByIndex::OEnumerationByIndex(const staruno::Reference< starcontainer::XIndexAccess >& _rxAccess)
     :m_nPos(0)
     ,m_xAccess(_rxAccess)
-    ,m_bListening(sal_False)
+    ,m_bListening(false)
 {
     impl_startDisposeListening();
 }
@@ -220,7 +220,7 @@ void OEnumerationByIndex::impl_startDisposeListening()
     if (xDisposable.is())
     {
         xDisposable->addEventListener(this);
-        m_bListening = sal_True;
+        m_bListening = true;
     }
     --m_refCount;
 }
@@ -238,7 +238,7 @@ void OEnumerationByIndex::impl_stopDisposeListening()
     if (xDisposable.is())
     {
         xDisposable->removeEventListener(this);
-        m_bListening = sal_False;
+        m_bListening = false;
     }
     --m_refCount;
 }
diff --git a/comphelper/source/misc/SelectionMultiplex.cxx b/comphelper/source/misc/SelectionMultiplex.cxx
index d4cca73..e5daf79 100644
--- a/comphelper/source/misc/SelectionMultiplex.cxx
+++ b/comphelper/source/misc/SelectionMultiplex.cxx
@@ -68,11 +68,11 @@ void OSelectionChangeListener::setAdapter(OSelectionChangeMultiplexer* pAdapter)
 //= OSelectionChangeMultiplexer
 //========================================================================
 //------------------------------------------------------------------
-OSelectionChangeMultiplexer::OSelectionChangeMultiplexer(OSelectionChangeListener* _pListener, const  Reference< XSelectionSupplier>& _rxSet, sal_Bool _bAutoReleaseSet)
+OSelectionChangeMultiplexer::OSelectionChangeMultiplexer(OSelectionChangeListener* _pListener, const  Reference< XSelectionSupplier>& _rxSet, bool _bAutoReleaseSet)
             :m_xSet(_rxSet)
             ,m_pListener(_pListener)
             ,m_nLockCount(0)
-            ,m_bListening(sal_False)
+            ,m_bListening(false)
             ,m_bAutoSetRelease(_bAutoReleaseSet)
 {
     m_pListener->setAdapter(this);
@@ -113,7 +113,7 @@ void OSelectionChangeMultiplexer::dispose()
         m_pListener->setAdapter(NULL);
 
         m_pListener = NULL;
-        m_bListening = sal_False;
+        m_bListening = false;
 
         if (m_bAutoSetRelease)
             m_xSet = NULL;
@@ -135,7 +135,7 @@ void SAL_CALL OSelectionChangeMultiplexer::disposing( const  EventObject& _rSour
     }
 
     m_pListener = NULL;
-    m_bListening = sal_False;
+    m_bListening = false;
 
     if (m_bAutoSetRelease)
         m_xSet = NULL;
diff --git a/comphelper/source/misc/accessiblecomponenthelper.cxx b/comphelper/source/misc/accessiblecomponenthelper.cxx
index 816b24b..2fdaf84 100644
--- a/comphelper/source/misc/accessiblecomponenthelper.cxx
+++ b/comphelper/source/misc/accessiblecomponenthelper.cxx
@@ -44,7 +44,7 @@ namespace comphelper
     }
 
     //--------------------------------------------------------------------
-    sal_Bool SAL_CALL OCommonAccessibleComponent::containsPoint( const Point& _rPoint ) throw (RuntimeException)
+    bool SAL_CALL OCommonAccessibleComponent::containsPoint( const Point& _rPoint ) throw (RuntimeException)
     {
         OExternalLockGuard aGuard( this );
         Rectangle aBounds( implGetBounds() );
diff --git a/comphelper/source/misc/accessiblecontexthelper.cxx b/comphelper/source/misc/accessiblecontexthelper.cxx
index 3b78363..f4d9df5 100644
--- a/comphelper/source/misc/accessiblecontexthelper.cxx
+++ b/comphelper/source/misc/accessiblecontexthelper.cxx
@@ -196,7 +196,7 @@ namespace comphelper
     }
 
     //---------------------------------------------------------------------
-    sal_Bool OAccessibleContextHelper::isAlive() const
+    bool OAccessibleContextHelper::isAlive() const
     {
         return !GetBroadcastHelper().bDisposed && !GetBroadcastHelper().bInDispose;
     }
diff --git a/comphelper/source/misc/accessibleeventnotifier.cxx b/comphelper/source/misc/accessibleeventnotifier.cxx
index c46d54a..be60fe3 100644
--- a/comphelper/source/misc/accessibleeventnotifier.cxx
+++ b/comphelper/source/misc/accessibleeventnotifier.cxx
@@ -128,7 +128,7 @@ namespace
             <TRUE/> if and only if the client could be found and
             <arg>rPos</arg> has been filled with it's position
     */
-    static sal_Bool implLookupClient(
+    static bool implLookupClient(
             const AccessibleEventNotifier::TClientId nClient,
             ClientMap::iterator& rPos )
     {
diff --git a/comphelper/source/misc/accessibleselectionhelper.cxx b/comphelper/source/misc/accessibleselectionhelper.cxx
index dea19d2..ed93e68 100644
--- a/comphelper/source/misc/accessibleselectionhelper.cxx
+++ b/comphelper/source/misc/accessibleselectionhelper.cxx
@@ -46,7 +46,7 @@ namespace comphelper
     }
 
     //--------------------------------------------------------------------
-    sal_Bool SAL_CALL OCommonAccessibleSelection::isAccessibleChildSelected( sal_Int32 nChildIndex ) throw (IndexOutOfBoundsException, RuntimeException)
+    bool SAL_CALL OCommonAccessibleSelection::isAccessibleChildSelected( sal_Int32 nChildIndex ) throw (IndexOutOfBoundsException, RuntimeException)
     {
         return( implIsSelected( nChildIndex ) );
     }
diff --git a/comphelper/source/misc/accessibletexthelper.cxx b/comphelper/source/misc/accessibletexthelper.cxx
index 224a81a..d21d7ff 100644
--- a/comphelper/source/misc/accessibletexthelper.cxx
+++ b/comphelper/source/misc/accessibletexthelper.cxx
@@ -81,21 +81,21 @@ namespace comphelper
 
     // -----------------------------------------------------------------------------
 
-    sal_Bool OCommonAccessibleText::implIsValidBoundary( i18n::Boundary& rBoundary, sal_Int32 nLength )
+    bool OCommonAccessibleText::implIsValidBoundary( i18n::Boundary& rBoundary, sal_Int32 nLength )
     {
         return ( rBoundary.startPos >= 0 ) && ( rBoundary.startPos < nLength ) && ( rBoundary.endPos >= 0 ) && ( rBoundary.endPos <= nLength );
     }
 
     // -----------------------------------------------------------------------------
 
-    sal_Bool OCommonAccessibleText::implIsValidIndex( sal_Int32 nIndex, sal_Int32 nLength )
+    bool OCommonAccessibleText::implIsValidIndex( sal_Int32 nIndex, sal_Int32 nLength )
     {
         return ( nIndex >= 0 ) && ( nIndex < nLength );
     }
 
     // -----------------------------------------------------------------------------
 
-    sal_Bool OCommonAccessibleText::implIsValidRange( sal_Int32 nStartIndex, sal_Int32 nEndIndex, sal_Int32 nLength )
+    bool OCommonAccessibleText::implIsValidRange( sal_Int32 nStartIndex, sal_Int32 nEndIndex, sal_Int32 nLength )
     {
         return ( nStartIndex >= 0 ) && ( nStartIndex <= nLength ) && ( nEndIndex >= 0 ) && ( nEndIndex <= nLength );
     }
@@ -133,9 +133,9 @@ namespace comphelper
 
     // -----------------------------------------------------------------------------
 
-    sal_Bool OCommonAccessibleText::implGetWordBoundary( i18n::Boundary& rBoundary, sal_Int32 nIndex )
+    bool OCommonAccessibleText::implGetWordBoundary( i18n::Boundary& rBoundary, sal_Int32 nIndex )
     {
-        sal_Bool bWord = sal_False;
+        bool bWord = false;
         OUString sText( implGetText() );
 
         if ( implIsValidIndex( nIndex, sText.getLength() ) )
@@ -151,7 +151,7 @@ namespace comphelper
                 {
                     sal_Int32 nType = xCharClass->getCharacterType( sText, rBoundary.startPos, implGetLocale() );
                     if ( ( nType & ( i18n::KCharacterType::LETTER | i18n::KCharacterType::DIGIT ) ) != 0 )
-                        bWord = sal_True;
+                        bWord = true;
                 }
             }
         }
@@ -360,7 +360,7 @@ namespace comphelper
             case AccessibleTextType::WORD:
             {
                 // get word at index
-                sal_Bool bWord = implGetWordBoundary( aBoundary, nIndex );
+                bool bWord = implGetWordBoundary( aBoundary, nIndex );
                 if ( bWord && implIsValidBoundary( aBoundary, nLength ) )
                 {
                     aResult.SegmentText = sText.copy( aBoundary.startPos, aBoundary.endPos - aBoundary.startPos );
@@ -472,7 +472,7 @@ namespace comphelper
                 // get word at index
                 implGetWordBoundary( aBoundary, nIndex );
                 // get previous word
-                sal_Bool bWord = sal_False;
+                bool bWord = false;
                 while ( !bWord && aBoundary.startPos > 0 )
                     bWord = implGetWordBoundary( aBoundary, aBoundary.startPos - 1 );
                 if ( bWord && implIsValidBoundary( aBoundary, nLength ) )
@@ -597,7 +597,7 @@ namespace comphelper
                 // get word at index
                 implGetWordBoundary( aBoundary, nIndex );
                 // get next word
-                sal_Bool bWord = sal_False;
+                bool bWord = false;
                 while ( !bWord && aBoundary.endPos < nLength )
                     bWord = implGetWordBoundary( aBoundary, aBoundary.endPos );
                 if ( bWord && implIsValidBoundary( aBoundary, nLength ) )
@@ -615,7 +615,7 @@ namespace comphelper
                 // get next sentence
                 sal_Int32 nEnd = aBoundary.endPos;
                 sal_Int32 nI = aBoundary.endPos;
-                sal_Bool bFound = sal_False;
+                bool bFound = false;
                 while ( !bFound && ++nI < nLength )
                 {
                     implGetSentenceBoundary( aBoundary, nI );
diff --git a/comphelper/source/misc/accessiblewrapper.cxx b/comphelper/source/misc/accessiblewrapper.cxx
index 7f47f62..f189530 100644
--- a/comphelper/source/misc/accessiblewrapper.cxx
+++ b/comphelper/source/misc/accessiblewrapper.cxx
@@ -75,7 +75,7 @@ namespace comphelper
     //-------------------------------------------------------------------------
     OWrappedAccessibleChildrenManager::OWrappedAccessibleChildrenManager( const Reference< XComponentContext >& _rxContext )
         :m_xContext( _rxContext )
-        ,m_bTransientChildren( sal_True )
+        ,m_bTransientChildren( true )
     {
     }
 
@@ -85,7 +85,7 @@ namespace comphelper
     }
 
     //-------------------------------------------------------------------------
-    void OWrappedAccessibleChildrenManager::setTransientChildren( sal_Bool _bSet )
+    void OWrappedAccessibleChildrenManager::setTransientChildren( bool _bSet )
     {
         m_bTransientChildren = _bSet;
     }
@@ -123,7 +123,7 @@ namespace comphelper
 
     //-------------------------------------------------------------------------
     Reference< XAccessible > OWrappedAccessibleChildrenManager::getAccessibleWrapperFor(
-        const Reference< XAccessible >& _rxKey, sal_Bool _bCreate )
+        const Reference< XAccessible >& _rxKey, bool _bCreate )
     {
         Reference< XAccessible > xValue;
 
@@ -185,7 +185,7 @@ namespace comphelper
         _rOutValue.clear();
         Reference< XAccessible > xChild;
         if ( _rInValue >>= xChild )
-            _rOutValue <<= getAccessibleWrapperFor( xChild, sal_True );
+            _rOutValue <<= getAccessibleWrapperFor( xChild, true );
     }
 
     //-------------------------------------------------------------------------
@@ -460,7 +460,7 @@ namespace comphelper
 #if OSL_DEBUG_LEVEL > 0
         if ( AccessibleEventId::STATE_CHANGED == _rEvent.EventId )
         {
-            sal_Bool bChildTransienceChanged = sal_False;
+            bool bChildTransienceChanged = false;
             sal_Int16 nChangeState = 0;
             if ( _rEvent.OldValue >>= nChangeState )
                 bChildTransienceChanged = bChildTransienceChanged || AccessibleStateType::MANAGES_DESCENDANTS == nChangeState;
diff --git a/comphelper/source/misc/accimplaccess.cxx b/comphelper/source/misc/accimplaccess.cxx
index 32e4cec..b84853a 100644
--- a/comphelper/source/misc/accimplaccess.cxx
+++ b/comphelper/source/misc/accimplaccess.cxx
@@ -139,7 +139,7 @@ namespace comphelper
     }
 
     //---------------------------------------------------------------------
-    sal_Bool OAccessibleImplementationAccess::setAccessibleParent(
+    bool OAccessibleImplementationAccess::setAccessibleParent(
             const Reference< XAccessibleContext >& _rxComponent, const Reference< XAccessible >& _rxNewParent )
     {
         OAccessibleImplementationAccess* pImplementation = getImplementation( _rxComponent );
diff --git a/comphelper/source/misc/configurationhelper.cxx b/comphelper/source/misc/configurationhelper.cxx
index 14b82de..4cb1cb1 100644
--- a/comphelper/source/misc/configurationhelper.cxx
+++ b/comphelper/source/misc/configurationhelper.cxx
@@ -53,7 +53,7 @@ css::uno::Reference< css::uno::XInterface > ConfigurationHelper::openConfig(cons
     }
 
     // enable lazy writing
-    sal_Bool bLazy = ((eMode & ConfigurationHelper::E_LAZY_WRITE)==ConfigurationHelper::E_LAZY_WRITE);
+    bool bLazy = ((eMode & ConfigurationHelper::E_LAZY_WRITE)==ConfigurationHelper::E_LAZY_WRITE);
     aParam.Name    = "lazywrite";
     aParam.Value   = css::uno::makeAny(bLazy);
     lParams.push_back(css::uno::makeAny(aParam));
@@ -61,7 +61,7 @@ css::uno::Reference< css::uno::XInterface > ConfigurationHelper::openConfig(cons
     // open it
     css::uno::Reference< css::uno::XInterface > xCFG;
 
-    sal_Bool bReadOnly = ((eMode & ConfigurationHelper::E_READONLY)==ConfigurationHelper::E_READONLY);
+    bool bReadOnly = ((eMode & ConfigurationHelper::E_READONLY)==ConfigurationHelper::E_READONLY);
     if (bReadOnly)
         xCFG = xConfigProvider->createInstanceWithArguments(
                 OUString("com.sun.star.configuration.ConfigurationAccess"),
diff --git a/comphelper/source/misc/docpasswordhelper.cxx b/comphelper/source/misc/docpasswordhelper.cxx
index 72b8636..a690658 100644
--- a/comphelper/source/misc/docpasswordhelper.cxx
+++ b/comphelper/source/misc/docpasswordhelper.cxx
@@ -95,9 +95,9 @@ uno::Sequence< beans::PropertyValue > DocPasswordHelper::GenerateNewModifyPasswo
 }
 
 // ============================================================================
-sal_Bool DocPasswordHelper::IsModifyPasswordCorrect( const OUString& aPassword, const uno::Sequence< beans::PropertyValue >& aInfo )
+bool DocPasswordHelper::IsModifyPasswordCorrect( const OUString& aPassword, const uno::Sequence< beans::PropertyValue >& aInfo )
 {
-    sal_Bool bResult = sal_False;
+    bool bResult = false;
     if ( !aPassword.isEmpty() && aInfo.getLength() )
     {
         OUString sAlgorithm;
@@ -123,7 +123,7 @@ sal_Bool DocPasswordHelper::IsModifyPasswordCorrect( const OUString& aPassword,
             for ( sal_Int32 nInd = 0; nInd < aNewHash.getLength() && nInd < aHash.getLength() && aNewHash[nInd] == aHash[nInd]; nInd ++ )
             {
                 if ( nInd == aNewHash.getLength() - 1 && nInd == aHash.getLength() - 1 )
-                    bResult = sal_True;
+                    bResult = true;
             }
         }
     }
diff --git a/comphelper/source/misc/docpasswordrequest.cxx b/comphelper/source/misc/docpasswordrequest.cxx
index c0a59a7..eb833fe 100644
--- a/comphelper/source/misc/docpasswordrequest.cxx
+++ b/comphelper/source/misc/docpasswordrequest.cxx
@@ -50,13 +50,13 @@ class AbortContinuation : public ::cppu::WeakImplHelper1< XInteractionAbort >
 public:
     inline explicit     AbortContinuation() : mbSelected( false ) {}
 
-    inline sal_Bool     isSelected() const { return mbSelected; }
+    inline bool     isSelected() const { return mbSelected; }
     inline void         reset() { mbSelected = false; }
 
     virtual void SAL_CALL select() throw( RuntimeException ) { mbSelected = true; }
 
 private:
-    sal_Bool            mbSelected;
+    bool            mbSelected;
 };
 
 // ============================================================================
@@ -64,12 +64,12 @@ private:
 class PasswordContinuation : public ::cppu::WeakImplHelper1< XInteractionPassword2 >
 {
 public:
-    inline explicit     PasswordContinuation() : mbReadOnly( sal_False ), mbSelected( sal_False ) {}
+    inline explicit     PasswordContinuation() : mbReadOnly( false ), mbSelected( false ) {}
 
-    inline sal_Bool     isSelected() const { return mbSelected; }
-    inline void         reset() { mbSelected = sal_False; }
+    inline bool     isSelected() const { return mbSelected; }
+    inline void         reset() { mbSelected = false; }
 
-    virtual void SAL_CALL select() throw( RuntimeException ) { mbSelected = sal_True; }
+    virtual void SAL_CALL select() throw( RuntimeException ) { mbSelected = true; }
 
     virtual void SAL_CALL setPassword( const OUString& rPass ) throw( RuntimeException ) { maPassword = rPass; }
     virtual OUString SAL_CALL getPassword() throw( RuntimeException ) { return maPassword; }
@@ -83,8 +83,8 @@ public:
 private:
     OUString            maPassword;
     OUString            maModifyPassword;
-    sal_Bool            mbReadOnly;
-    sal_Bool            mbSelected;
+    bool            mbReadOnly;
+    bool            mbSelected;
 };
 
 // ============================================================================
@@ -106,7 +106,7 @@ SimplePasswordRequest::~SimplePasswordRequest()
 {
 }
 
-sal_Bool SimplePasswordRequest::isPassword() const
+bool SimplePasswordRequest::isPassword() const
 {
     return mpPassword->isSelected();
 }
@@ -129,7 +129,7 @@ Sequence< Reference< XInteractionContinuation > > SAL_CALL SimplePasswordRequest
 // ============================================================================
 
 DocPasswordRequest::DocPasswordRequest( DocPasswordRequestType eType,
-        PasswordRequestMode eMode, const OUString& rDocumentName, sal_Bool bPasswordToModify )
+        PasswordRequestMode eMode, const OUString& rDocumentName, bool bPasswordToModify )
 : mpAbort( NULL )
 , mpPassword( NULL )
 {
@@ -162,7 +162,7 @@ DocPasswordRequest::~DocPasswordRequest()
 {
 }
 
-sal_Bool DocPasswordRequest::isPassword() const
+bool DocPasswordRequest::isPassword() const
 {
     return mpPassword->isSelected();
 }
@@ -177,7 +177,7 @@ OUString DocPasswordRequest::getPasswordToModify() const
     return mpPassword->getPasswordToModify();
 }
 
-sal_Bool DocPasswordRequest::getRecommendReadOnly() const
+bool DocPasswordRequest::getRecommendReadOnly() const
 {
     return mpPassword->getRecommendReadOnly();
 }
diff --git a/comphelper/source/misc/documentiologring.cxx b/comphelper/source/misc/documentiologring.cxx
index a2e9de1..5c588bb 100644
--- a/comphelper/source/misc/documentiologring.cxx
+++ b/comphelper/source/misc/documentiologring.cxx
@@ -34,8 +34,8 @@ namespace comphelper
 // ----------------------------------------------------------
 OSimpleLogRing::OSimpleLogRing()
 : m_aMessages( SIMPLELOGRING_SIZE )
-, m_bInitialized( sal_False )
-, m_bFull( sal_False )
+, m_bInitialized( false )
+, m_bFull( false )
 , m_nPos( 0 )
 {
 }
@@ -87,11 +87,11 @@ void SAL_CALL OSimpleLogRing::logString( const OUString& aMessage ) throw (uno::
     if ( ++m_nPos >= m_aMessages.getLength() )
     {
         m_nPos = 0;
-        m_bFull = sal_True;
+        m_bFull = true;
     }
 
     // if used once then default initialized
-    m_bInitialized = sal_True;
+    m_bInitialized = true;
 }
 
 // ----------------------------------------------------------
@@ -107,7 +107,7 @@ uno::Sequence< OUString > SAL_CALL OSimpleLogRing::getCollectedLog() throw (uno:
         aResult[nInd] = m_aMessages[ ( nStart + nInd ) % m_aMessages.getLength() ];
 
     // if used once then default initialized
-    m_bInitialized = sal_True;
+    m_bInitialized = true;
 
     return aResult;
 }
@@ -135,7 +135,7 @@ void SAL_CALL OSimpleLogRing::initialize( const uno::Sequence< uno::Any >& aArgu
                 0 );
     }
 
-    m_bInitialized = sal_True;
+    m_bInitialized = true;
 }
 
 // XServiceInfo
diff --git a/comphelper/source/misc/documentiologring.hxx b/comphelper/source/misc/documentiologring.hxx
index 99915c6..30cf4eb 100644
--- a/comphelper/source/misc/documentiologring.hxx
+++ b/comphelper/source/misc/documentiologring.hxx
@@ -39,8 +39,8 @@ class OSimpleLogRing : public ::cppu::WeakImplHelper3< ::com::sun::star::logging
     ::osl::Mutex m_aMutex;
     ::com::sun::star::uno::Sequence< OUString > m_aMessages;
 
-    sal_Bool m_bInitialized;
-    sal_Bool m_bFull;
+    bool m_bInitialized;
+    bool m_bFull;
     sal_Int32 m_nPos;
 
 public:
diff --git a/comphelper/source/misc/instancelocker.cxx b/comphelper/source/misc/instancelocker.cxx
index b256908..8e648c2 100644
--- a/comphelper/source/misc/instancelocker.cxx
+++ b/comphelper/source/misc/instancelocker.cxx
@@ -43,8 +43,8 @@ OInstanceLocker::OInstanceLocker( const uno::Reference< uno::XComponentContext >
 : m_xContext( xContext )
 , m_pLockListener( NULL )
 , m_pListenersContainer( NULL )
-, m_bDisposed( sal_False )
-, m_bInitialized( sal_False )
+, m_bDisposed( false )
+, m_bInitialized( false )
 {
 }
 
@@ -92,7 +92,7 @@ void SAL_CALL OInstanceLocker::dispose()
         m_xLockListener = uno::Reference< uno::XInterface >();
     }
 
-    m_bDisposed = sal_True;
+    m_bDisposed = true;
 }
 
 // --------------------------------------------------------
@@ -185,7 +185,7 @@ void SAL_CALL OInstanceLocker::initialize( const uno::Sequence< uno::Any >& aArg
         throw;
     }
 
-    m_bInitialized = sal_True;
+    m_bInitialized = true;
 }
 
 // XServiceInfo
@@ -242,8 +242,8 @@ OLockListener::OLockListener( const uno::WeakReference< lang::XComponent >& xWra
 : m_xInstance( xInstance )
 , m_xApproval( xApproval )
 , m_xWrapper( xWrapper )
-, m_bDisposed( sal_False )
-, m_bInitialized( sal_False )
+, m_bDisposed( false )
+, m_bInitialized( false )
 , m_nMode( nMode )
 {
 }
@@ -289,7 +289,7 @@ void OLockListener::Dispose()
     }
 
     m_xInstance = uno::Reference< uno::XInterface >();
-    m_bDisposed = sal_True;
+    m_bDisposed = true;
 }
 
 // XEventListener
@@ -445,12 +445,12 @@ void SAL_CALL OLockListener::notifyTermination( const lang::EventObject& aEvent
 
 // XInitialization
 // --------------------------------------------------------
-sal_Bool OLockListener::Init()
+bool OLockListener::Init()
 {
     ::osl::ResettableMutexGuard aGuard( m_aMutex );
 
     if ( m_bDisposed || m_bInitialized )
-        return sal_False;
+        return false;
 
     try
     {
@@ -480,9 +480,9 @@ sal_Bool OLockListener::Init()
         throw;
     }
 
-    m_bInitialized = sal_True;
+    m_bInitialized = true;
 
-    return sal_True;
+    return true;
 }
 
 void createRegistryInfo_OInstanceLocker()
diff --git a/comphelper/source/misc/instancelocker.hxx b/comphelper/source/misc/instancelocker.hxx
index ba80ce3..83153f7 100644
--- a/comphelper/source/misc/instancelocker.hxx
+++ b/comphelper/source/misc/instancelocker.hxx
@@ -51,8 +51,8 @@ class OInstanceLocker : public ::cppu::WeakImplHelper3< ::com::sun::star::lang::
 
     ::cppu::OInterfaceContainerHelper* m_pListenersContainer; // list of listeners
 
-    sal_Bool m_bDisposed;
-    sal_Bool m_bInitialized;
+    bool m_bDisposed;
+    bool m_bInitialized;
 
 public:
     OInstanceLocker( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& xContext );
@@ -92,8 +92,8 @@ class OLockListener : public ::cppu::WeakImplHelper2< ::com::sun::star::util::XC
 
     ::com::sun::star::uno::WeakReference< ::com::sun::star::lang::XComponent > m_xWrapper;
 
-    sal_Bool m_bDisposed;
-    sal_Bool m_bInitialized;
+    bool m_bDisposed;
+    bool m_bInitialized;
 
     sal_Int32 m_nMode;
 
@@ -105,7 +105,7 @@ public:
 
     ~OLockListener();
 
-    sal_Bool Init();
+    bool Init();
     void Dispose();
 
 // XEventListener
diff --git a/comphelper/source/misc/mimeconfighelper.cxx b/comphelper/source/misc/mimeconfighelper.cxx
index 0c6ffb7..b734a8e 100644
--- a/comphelper/source/misc/mimeconfighelper.cxx
+++ b/comphelper/source/misc/mimeconfighelper.cxx
@@ -261,10 +261,10 @@ OUString MimeConfigurationHelper::GetDocServiceNameFromMediaType( const OUString
 }
 
 //-------------------------------------------------------------------------
-sal_Bool MimeConfigurationHelper::GetVerbByShortcut( const OUString& aVerbShortcut,
+bool MimeConfigurationHelper::GetVerbByShortcut( const OUString& aVerbShortcut,
                                                 embed::VerbDescriptor& aDescriptor )
 {
-    sal_Bool bResult = sal_False;
+    bool bResult = false;
 
     uno::Reference< container::XNameAccess > xVerbsConfig = GetVerbsConfiguration();
     uno::Reference< container::XNameAccess > xVerbsProps;
@@ -279,7 +279,7 @@ sal_Bool MimeConfigurationHelper::GetVerbByShortcut( const OUString& aVerbShortc
               && ( xVerbsProps->getByName("VerbAttributes") >>= aTempDescr.VerbAttributes ) )
             {
                 aDescriptor = aTempDescr;
-                bResult = sal_True;
+                bResult = true;
             }
         }
     }
@@ -569,7 +569,7 @@ OUString MimeConfigurationHelper::GetFactoryNameByMediaType( const OUString& aMe
 //-----------------------------------------------------------------------
 OUString MimeConfigurationHelper::UpdateMediaDescriptorWithFilterName(
                                         uno::Sequence< beans::PropertyValue >& aMediaDescr,
-                                        sal_Bool bIgnoreType )
+                                        bool bIgnoreType )
 {
     OUString aFilterName;
 
@@ -647,12 +647,12 @@ OUString MimeConfigurationHelper::UpdateMediaDescriptorWithFilterName(
     OSL_ENSURE( !aDocName.isEmpty(), "The name must exist at this point!\n" );
 
 
-    sal_Bool bNeedsAddition = sal_True;
+    bool bNeedsAddition = true;
     for ( sal_Int32 nMedInd = 0; nMedInd < aMediaDescr.getLength(); nMedInd++ )
         if ( aMediaDescr[nMedInd].Name == "DocumentService" )
         {
             aMediaDescr[nMedInd].Value <<= aDocName;
-            bNeedsAddition = sal_False;
+            bNeedsAddition = false;
             break;
         }
 
@@ -664,7 +664,7 @@ OUString MimeConfigurationHelper::UpdateMediaDescriptorWithFilterName(
         aMediaDescr[nOldLen].Value <<= aDocName;
     }
 
-    return UpdateMediaDescriptorWithFilterName( aMediaDescr, sal_True );
+    return UpdateMediaDescriptorWithFilterName( aMediaDescr, true );
 }
 
 #ifdef WNT
@@ -871,16 +871,16 @@ uno::Sequence< beans::PropertyValue > MimeConfigurationHelper::SearchForFilter(
 
 
 //-------------------------------------------------------------------------
-sal_Bool MimeConfigurationHelper::ClassIDsEqual( const uno::Sequence< sal_Int8 >& aClassID1, const uno::Sequence< sal_Int8 >& aClassID2 )
+bool MimeConfigurationHelper::ClassIDsEqual( const uno::Sequence< sal_Int8 >& aClassID1, const uno::Sequence< sal_Int8 >& aClassID2 )
 {
     if ( aClassID1.getLength() != aClassID2.getLength() )
-        return sal_False;
+        return false;
 
     for ( sal_Int32 nInd = 0; nInd < aClassID1.getLength(); nInd++ )
         if ( aClassID1[nInd] != aClassID2[nInd] )
-            return sal_False;
+            return false;
 
-    return sal_True;
+    return true;
 }
 
 //-------------------------------------------------------------------------
diff --git a/comphelper/source/misc/officerestartmanager.cxx b/comphelper/source/misc/officerestartmanager.cxx
index e3a0398..3977fd8 100644
--- a/comphelper/source/misc/officerestartmanager.cxx
+++ b/comphelper/source/misc/officerestartmanager.cxx
@@ -79,7 +79,7 @@ void SAL_CALL OOfficeRestartManager::requestRestart( const uno::Reference< task:
         if ( m_bRestartRequested )
             return;
 
-        m_bRestartRequested = sal_True;
+        m_bRestartRequested = true;
 
         // the office is still not initialized, no need to terminate, changing the state is enough
         if ( !m_bOfficeInitialized )
@@ -103,7 +103,7 @@ void SAL_CALL OOfficeRestartManager::requestRestart( const uno::Reference< task:
     catch ( uno::Exception& )
     {
         // the try to request restart has failed
-        m_bRestartRequested = sal_False;
+        m_bRestartRequested = false;
     }
 }
 
@@ -126,7 +126,7 @@ void SAL_CALL OOfficeRestartManager::notify( const uno::Any& /* aData */ )
 {
     try
     {
-        sal_Bool bSuccess = sal_False;
+        bool bSuccess = false;
 
         if ( m_xContext.is() )
         {
@@ -153,12 +153,12 @@ void SAL_CALL OOfficeRestartManager::notify( const uno::Any& /* aData */ )
         }
 
         if ( !bSuccess )
-            m_bRestartRequested = sal_False;
+            m_bRestartRequested = false;
     }
     catch( uno::Exception& )
     {
         // the try to restart has failed
-        m_bRestartRequested = sal_False;
+        m_bRestartRequested = false;
     }
 }
 
diff --git a/comphelper/source/misc/officerestartmanager.hxx b/comphelper/source/misc/officerestartmanager.hxx
index 5364849..d7cae3d 100644
--- a/comphelper/source/misc/officerestartmanager.hxx
+++ b/comphelper/source/misc/officerestartmanager.hxx
@@ -38,14 +38,14 @@ class OOfficeRestartManager : public ::cppu::WeakImplHelper3< ::com::sun::star::
     ::osl::Mutex m_aMutex;
     ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > m_xContext;
 
-    sal_Bool m_bOfficeInitialized;
-    sal_Bool m_bRestartRequested;
+    bool m_bOfficeInitialized;
+    bool m_bRestartRequested;
 
 public:
     OOfficeRestartManager( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& xContext )
     : m_xContext( xContext )
-    , m_bOfficeInitialized( sal_False )
-    , m_bRestartRequested( sal_False )
+    , m_bOfficeInitialized( false )
+    , m_bRestartRequested( false )
     {}
 
     virtual ~OOfficeRestartManager()
diff --git a/comphelper/source/misc/sequence.cxx b/comphelper/source/misc/sequence.cxx
index 00b3c3d..ea0cfe1 100644
--- a/comphelper/source/misc/sequence.cxx
+++ b/comphelper/source/misc/sequence.cxx
@@ -25,7 +25,7 @@ namespace comphelper
 //.........................................................................
 
 //------------------------------------------------------------------------------
-staruno::Sequence<sal_Int16> findValue(const staruno::Sequence< OUString >& _rList, const OUString& _rValue, sal_Bool _bOnlyFirst)
+staruno::Sequence<sal_Int16> findValue(const staruno::Sequence< OUString >& _rList, const OUString& _rValue, bool _bOnlyFirst)
 {
     sal_Int32 nLength = _rList.getLength();
 
diff --git a/comphelper/source/misc/sequenceashashmap.cxx b/comphelper/source/misc/sequenceashashmap.cxx
index 24dd7ed..e3df3a9 100644
--- a/comphelper/source/misc/sequenceashashmap.cxx
+++ b/comphelper/source/misc/sequenceashashmap.cxx
@@ -180,7 +180,7 @@ void SequenceAsHashMap::operator>>(css::uno::Sequence< css::beans::NamedValue >&
     }
 }
 
-const css::uno::Any SequenceAsHashMap::getAsConstAny(::sal_Bool bAsPropertyValueList) const
+const css::uno::Any SequenceAsHashMap::getAsConstAny(bool bAsPropertyValueList) const
 {
     css::uno::Any aDestination;
     if (bAsPropertyValueList)
@@ -204,7 +204,7 @@ const css::uno::Sequence< css::beans::PropertyValue > SequenceAsHashMap::getAsCo
     return lReturn;
 }
 
-sal_Bool SequenceAsHashMap::match(const SequenceAsHashMap& rCheck) const
+bool SequenceAsHashMap::match(const SequenceAsHashMap& rCheck) const
 {
     const_iterator pCheck;
     for (  pCheck  = rCheck.begin();
@@ -216,14 +216,14 @@ sal_Bool SequenceAsHashMap::match(const SequenceAsHashMap& rCheck) const
               const_iterator   pFound      = find(sCheckName);
 
         if (pFound == end())
-            return sal_False;
+            return false;
 
         const css::uno::Any& aFoundValue = pFound->second;
         if (aFoundValue != aCheckValue)
-            return sal_False;
+            return false;
     }
 
-    return sal_True;
+    return true;
 }
 
 void SequenceAsHashMap::update(const SequenceAsHashMap& rUpdate)
diff --git a/comphelper/source/misc/stillreadwriteinteraction.cxx b/comphelper/source/misc/stillreadwriteinteraction.cxx
index 79fcbdf9..1d74d8f 100644
--- a/comphelper/source/misc/stillreadwriteinteraction.cxx
+++ b/comphelper/source/misc/stillreadwriteinteraction.cxx
@@ -28,9 +28,9 @@
 namespace comphelper{
 
 StillReadWriteInteraction::StillReadWriteInteraction(const css::uno::Reference< css::task::XInteractionHandler >& xHandler)
-             : m_bUsed                    (sal_False)
-             , m_bHandledByMySelf         (sal_False)
-             , m_bHandledByInternalHandler(sal_False)
+             : m_bUsed                    (false)
+             , m_bHandledByMySelf         (false)
+             , m_bHandledByInternalHandler(false)
 {
     ::std::vector< ::ucbhelper::InterceptedInteraction::InterceptedRequest > lInterceptions;
     ::ucbhelper::InterceptedInteraction::InterceptedRequest                  aInterceptedRequest;
@@ -58,12 +58,12 @@ void StillReadWriteInteraction::resetInterceptions()
 
 void StillReadWriteInteraction::resetErrorStates()
 {
-    m_bUsed                     = sal_False;
-    m_bHandledByMySelf          = sal_False;
-    m_bHandledByInternalHandler = sal_False;
+    m_bUsed                     = false;
+    m_bHandledByMySelf          = false;
+    m_bHandledByInternalHandler = false;
 }
 
-sal_Bool StillReadWriteInteraction::wasWriteError()
+bool StillReadWriteInteraction::wasWriteError()
 {
     return (m_bUsed && m_bHandledByMySelf);
 }
@@ -72,10 +72,10 @@ ucbhelper::InterceptedInteraction::EInterceptionState StillReadWriteInteraction:
                                                                   const ::com::sun::star::uno::Reference< ::com::sun::star::task::XInteractionRequest >& xRequest)
 {
     // we are used!
-    m_bUsed = sal_True;
+    m_bUsed = true;
 
     // check if it's a real interception - might some parameters are not the right ones ...
-    sal_Bool bAbort = sal_False;
+    bool bAbort = false;
     switch(aRequest.Handle)
     {
     case HANDLE_INTERACTIVEIOEXCEPTION:
@@ -97,7 +97,7 @@ ucbhelper::InterceptedInteraction::EInterceptionState StillReadWriteInteraction:
 
     case HANDLE_UNSUPPORTEDDATASINKEXCEPTION:
         {
-            bAbort = sal_True;
+            bAbort = true;
         }
         break;
     }
@@ -105,7 +105,7 @@ ucbhelper::InterceptedInteraction::EInterceptionState StillReadWriteInteraction:
     // handle interaction by ourself
     if (bAbort)
     {
-        m_bHandledByMySelf = sal_True;
+        m_bHandledByMySelf = true;
         css::uno::Reference< css::task::XInteractionContinuation > xAbort = ::ucbhelper::InterceptedInteraction::extractContinuation(
             xRequest->getContinuations(),
             ::getCppuType(static_cast< css::uno::Reference< css::task::XInteractionAbort >* >(0)));
@@ -118,7 +118,7 @@ ucbhelper::InterceptedInteraction::EInterceptionState StillReadWriteInteraction:
     // Otherwhise use internal handler.
     if (m_xInterceptedHandler.is())
     {
-        m_bHandledByInternalHandler = sal_True;
+        m_bHandledByInternalHandler = true;
         m_xInterceptedHandler->handle(xRequest);
     }
     return ::ucbhelper::InterceptedInteraction::E_INTERCEPTED;
diff --git a/comphelper/source/misc/storagehelper.cxx b/comphelper/source/misc/storagehelper.cxx
index a4f36e8..2a362eb 100644
--- a/comphelper/source/misc/storagehelper.cxx
+++ b/comphelper/source/misc/storagehelper.cxx
@@ -286,7 +286,7 @@ uno::Reference< embed::XStorage > OStorageHelper::GetStorageOfFormatFromURL(
             const OUString& aURL,
             sal_Int32 nStorageMode,
             const uno::Reference< uno::XComponentContext >& rxContext,
-            sal_Bool bRepairStorage )
+            bool bRepairStorage )
     throw ( uno::Exception )
 {
     uno::Sequence< beans::PropertyValue > aProps( 1 );
@@ -317,7 +317,7 @@ uno::Reference< embed::XStorage > OStorageHelper::GetStorageOfFormatFromInputStr
             const OUString& aFormat,
             const uno::Reference < io::XInputStream >& xStream,
             const uno::Reference< uno::XComponentContext >& rxContext,
-            sal_Bool bRepairStorage )
+            bool bRepairStorage )
         throw ( uno::Exception )
 {
     uno::Sequence< beans::PropertyValue > aProps( 1 );
@@ -349,7 +349,7 @@ uno::Reference< embed::XStorage > OStorageHelper::GetStorageOfFormatFromStream(
             const uno::Reference < io::XStream >& xStream,
             sal_Int32 nStorageMode,
             const uno::Reference< uno::XComponentContext >& rxContext,
-            sal_Bool bRepairStorage )
+            bool bRepairStorage )
         throw ( uno::Exception )
 {
     uno::Sequence< beans::PropertyValue > aProps( 1 );
@@ -437,14 +437,14 @@ uno::Sequence< beans::NamedValue > OStorageHelper::CreatePackageEncryptionData(
 }
 
 // ----------------------------------------------------------------------
-sal_Bool OStorageHelper::IsValidZipEntryFileName( const OUString& aName, sal_Bool bSlashAllowed )
+bool OStorageHelper::IsValidZipEntryFileName( const OUString& aName, bool bSlashAllowed )
 {
     return IsValidZipEntryFileName( aName.getStr(), aName.getLength(), bSlashAllowed );
 }
 
 // ----------------------------------------------------------------------
-sal_Bool OStorageHelper::IsValidZipEntryFileName(
-    const sal_Unicode *pChar, sal_Int32 nLength, sal_Bool bSlashAllowed )
+bool OStorageHelper::IsValidZipEntryFileName(
+    const sal_Unicode *pChar, sal_Int32 nLength, bool bSlashAllowed )
 {
     for ( sal_Int32 i = 0; i < nLength; i++ )
     {
@@ -457,23 +457,23 @@ sal_Bool OStorageHelper::IsValidZipEntryFileName(
             case '\"':
             case '|':
             case ':':
-                return sal_False;
+                return false;
             case '/':
                 if ( !bSlashAllowed )
-                    return sal_False;
+                    return false;
                 break;
             default:
                 if ( pChar[i] < 32  || (pChar[i] >= 0xD800 && pChar[i] <= 0xDFFF) )
-                    return sal_False;
+                    return false;
         }
     }
-    return sal_True;
+    return true;
 }
 
 // ----------------------------------------------------------------------
-sal_Bool OStorageHelper::PathHasSegment( const OUString& aPath, const OUString& aSegment )
+bool OStorageHelper::PathHasSegment( const OUString& aPath, const OUString& aSegment )
 {
-    sal_Bool bResult = sal_False;
+    bool bResult = false;
     const sal_Int32 nPathLen = aPath.getLength();
     const sal_Int32 nSegLen = aSegment.getLength();
 
@@ -486,16 +486,16 @@ sal_Bool OStorageHelper::PathHasSegment( const OUString& aPath, const OUString&
         aInternalSegment += "/";
 
         if ( aPath.indexOf( aInternalSegment ) >= 0 )
-            bResult = sal_True;
+            bResult = true;
 
         if ( !bResult && !aPath.compareTo( aSegment, nSegLen ) )
         {
             if ( nPathLen == nSegLen || aPath[nSegLen] == '/' )
-                bResult = sal_True;
+                bResult = true;
         }
 
         if ( !bResult && nPathLen > nSegLen && aPath.copy( nPathLen - nSegLen - 1, nSegLen + 1 ) == aEndSegment )
-            bResult = sal_True;
+            bResult = true;
     }
 
     return bResult;
diff --git a/comphelper/source/misc/syntaxhighlight.cxx b/comphelper/source/misc/syntaxhighlight.cxx
index 012dd9e..b747f79 100644
--- a/comphelper/source/misc/syntaxhighlight.cxx
+++ b/comphelper/source/misc/syntaxhighlight.cxx
@@ -261,10 +261,10 @@ class SyntaxHighlighter::Tokenizer
     sal_uInt16 aCharTypeTab[256];
 
     // Auxiliary function: testing of the character flags
-    sal_Bool testCharFlags( sal_Unicode c, sal_uInt16 nTestFlags );
+    bool testCharFlags( sal_Unicode c, sal_uInt16 nTestFlags );
 
     // Get new token, EmptyString == nothing more over there
-    sal_Bool getNextToken( const sal_Unicode*& pos, /*out*/TokenTypes& reType,
+    bool getNextToken( const sal_Unicode*& pos, /*out*/TokenTypes& reType,
         /*out*/const sal_Unicode*& rpStartPos, /*out*/const sal_Unicode*& rpEndPos );
 
     const char** ppListKeyWords;
@@ -282,7 +282,7 @@ public:
 };
 
 // Helper function: test character flag
-sal_Bool SyntaxHighlighter::Tokenizer::testCharFlags( sal_Unicode c, sal_uInt16 nTestFlags )
+bool SyntaxHighlighter::Tokenizer::testCharFlags( sal_Unicode c, sal_uInt16 nTestFlags )
 {
     bool bRet = false;
     if( c != 0 && c <= 255 )
@@ -303,7 +303,7 @@ void SyntaxHighlighter::Tokenizer::setKeyWords( const char** ppKeyWords, sal_uIn
     nKeyWordCount = nCount;
 }
 
-sal_Bool SyntaxHighlighter::Tokenizer::getNextToken( const sal_Unicode*& pos, /*out*/TokenTypes& reType,
+bool SyntaxHighlighter::Tokenizer::getNextToken( const sal_Unicode*& pos, /*out*/TokenTypes& reType,
     /*out*/const sal_Unicode*& rpStartPos, /*out*/const sal_Unicode*& rpEndPos )
 {
     reType = TT_UNKNOWN;
@@ -312,24 +312,24 @@ sal_Bool SyntaxHighlighter::Tokenizer::getNextToken( const sal_Unicode*& pos, /*
 
     sal_Unicode c = *pos;
     if( c == 0 )
-        return sal_False;
+        return false;
 
     ++pos;
 
     //*** Go through all possibilities ***
     // Space?
-    if ( (testCharFlags( c, CHAR_SPACE ) == sal_True) )
+    if ( testCharFlags( c, CHAR_SPACE ) )
     {
-        while( testCharFlags( *pos, CHAR_SPACE ) == sal_True )
+        while( testCharFlags( *pos, CHAR_SPACE ) )
             ++pos;
 
         reType = TT_WHITESPACE;
     }
 
     // Identifier?
-    else if ( (testCharFlags( c, CHAR_START_IDENTIFIER ) == sal_True) )
+    else if ( testCharFlags( c, CHAR_START_IDENTIFIER ) )
     {
-        sal_Bool bIdentifierChar;
+        bool bIdentifierChar;
         do
         {
             // Naechstes Zeichen holen
@@ -372,7 +372,7 @@ sal_Bool SyntaxHighlighter::Tokenizer::getNextToken( const sal_Unicode*& pos, /*
                     {
                         // Remove all characters until end of line or EOF
                         sal_Unicode cPeek = *pos;
-                        while( cPeek != 0 && testCharFlags( cPeek, CHAR_EOL ) == sal_False )
+                        while( cPeek != 0 && !testCharFlags( cPeek, CHAR_EOL ) )
                         {
                             c = *pos++;
                             cPeek = *pos;
@@ -387,14 +387,14 @@ sal_Bool SyntaxHighlighter::Tokenizer::getNextToken( const sal_Unicode*& pos, /*
 
     // Operator?
     // only for BASIC '\'' should be a comment, otherwise it is a normal string and handled there
-    else if ( ( testCharFlags( c, CHAR_OPERATOR ) == sal_True ) || ( (c == '\'') && (aLanguage==HIGHLIGHT_BASIC)) )
+    else if ( testCharFlags( c, CHAR_OPERATOR ) || ( (c == '\'') && (aLanguage==HIGHLIGHT_BASIC)) )
     {
         // parameters for SQL view
         if ( (c==':') || (c=='?'))
         {
             if (c!='?')
             {
-                sal_Bool bIdentifierChar;
+                bool bIdentifierChar;
                 do
                 {
                     // Get next character
@@ -413,7 +413,7 @@ sal_Bool SyntaxHighlighter::Tokenizer::getNextToken( const sal_Unicode*& pos, /*
             if (cPeekNext=='-')
             {
                 // Remove all characters until end of line or EOF
-                while( cPeekNext != 0 && testCharFlags( cPeekNext, CHAR_EOL ) == sal_False )
+                while( cPeekNext != 0 && !testCharFlags( cPeekNext, CHAR_EOL ) )
                 {
                     ++pos;
                     cPeekNext = *pos;
@@ -427,7 +427,7 @@ sal_Bool SyntaxHighlighter::Tokenizer::getNextToken( const sal_Unicode*& pos, /*
            if (cPeekNext=='/')
            {
                // Remove all characters until end of line or EOF
-               while( cPeekNext != 0 && testCharFlags( cPeekNext, CHAR_EOL ) == sal_False )
+               while( cPeekNext != 0 && !testCharFlags( cPeekNext, CHAR_EOL ) )
                {
                    ++pos;
                    cPeekNext = *pos;
@@ -469,7 +469,7 @@ sal_Bool SyntaxHighlighter::Tokenizer::getNextToken( const sal_Unicode*& pos, /*
     }
 
     // Number?
-    else if( testCharFlags( c, CHAR_START_NUMBER ) == sal_True )
+    else if( testCharFlags( c, CHAR_START_NUMBER ) )
     {
         reType = TT_NUMBER;
 
@@ -511,7 +511,7 @@ sal_Bool SyntaxHighlighter::Tokenizer::getNextToken( const sal_Unicode*& pos, /*
         if( reType == TT_NUMBER && nRadix == 10 )
         {
             // Flag if the last character is an exponent
-            sal_Bool bAfterExpChar = sal_False;
+            bool bAfterExpChar = false;
 
             // Read all numbers
             while( testCharFlags( *pos, CHAR_IN_NUMBER ) ||
@@ -526,7 +526,7 @@ sal_Bool SyntaxHighlighter::Tokenizer::getNextToken( const sal_Unicode*& pos, /*
     }
 
     // String?
-    else if( testCharFlags( c, CHAR_START_STRING ) == sal_True )
+    else if( testCharFlags( c, CHAR_START_STRING ) )
     {
         // Remember which character has opened the string
         sal_Unicode cEndString = c;
@@ -544,7 +544,7 @@ sal_Bool SyntaxHighlighter::Tokenizer::getNextToken( const sal_Unicode*& pos, /*
                 break;
             }
             c = *pos++;
-            if( testCharFlags( c, CHAR_EOL ) == sal_True )
+            if( testCharFlags( c, CHAR_EOL ) )
             {
                 // ERROR: unterminated string literal
                 reType = TT_ERROR;
@@ -563,11 +563,11 @@ sal_Bool SyntaxHighlighter::Tokenizer::getNextToken( const sal_Unicode*& pos, /*
     }
 
     // End of line?
-    else if( testCharFlags( c, CHAR_EOL ) == sal_True )
+    else if( testCharFlags( c, CHAR_EOL ) )
     {
         // If another EOL character comes, read it
         sal_Unicode cNext = *pos;
-        if( cNext != c && testCharFlags( cNext, CHAR_EOL ) == sal_True )
+        if( cNext != c && testCharFlags( cNext, CHAR_EOL ) )
             ++pos;
 
         reType = TT_EOL;
@@ -577,7 +577,7 @@ sal_Bool SyntaxHighlighter::Tokenizer::getNextToken( const sal_Unicode*& pos, /*
 
     // Save end position
     rpEndPos = pos;
-    return sal_True;
+    return true;
 }
 
 SyntaxHighlighter::Tokenizer::Tokenizer( HighlighterLanguage aLang ): aLanguage(aLang)
diff --git a/comphelper/source/misc/types.cxx b/comphelper/source/misc/types.cxx
index 684f2d2..ba5f936 100644
--- a/comphelper/source/misc/types.cxx
+++ b/comphelper/source/misc/types.cxx
@@ -42,7 +42,7 @@ using namespace ::com::sun::star::util;
 using namespace ::com::sun::star::lang;
 
 //-------------------------------------------------------------------------
-sal_Bool operator ==(const DateTime& _rLeft, const DateTime& _rRight)
+bool operator ==(const DateTime& _rLeft, const DateTime& _rRight)
 {
     return ( _rLeft.NanoSeconds == _rRight.NanoSeconds) &&
     ( _rLeft.Seconds == _rRight.Seconds) &&
@@ -54,7 +54,7 @@ sal_Bool operator ==(const DateTime& _rLeft, const DateTime& _rRight)
 }
 
 //-------------------------------------------------------------------------
-sal_Bool operator ==(const Date& _rLeft, const Date& _rRight)
+bool operator ==(const Date& _rLeft, const Date& _rRight)
 {
     return ( _rLeft.Day == _rRight.Day) &&
     ( _rLeft.Month == _rRight.Month) &&
@@ -62,7 +62,7 @@ sal_Bool operator ==(const Date& _rLeft, const Date& _rRight)
 }
 
 //-------------------------------------------------------------------------
-sal_Bool operator ==(const Time& _rLeft, const Time& _rRight)
+bool operator ==(const Time& _rLeft, const Time& _rRight)
 {
     return ( _rLeft.NanoSeconds == _rRight.NanoSeconds) &&
     ( _rLeft.Seconds == _rRight.Seconds) &&
@@ -119,9 +119,9 @@ OUString getString(const Any& _rAny)
 }
 
 //------------------------------------------------------------------------------
-sal_Bool getBOOL(const Any& _rAny)
+bool getBOOL(const Any& _rAny)
 {
-    sal_Bool nReturn = sal_False;
+    bool nReturn = false;
     if (_rAny.getValueType() == ::getCppuBooleanType())
         nReturn = *(sal_Bool*)_rAny.getValue();
     else
@@ -149,7 +149,7 @@ FontDescriptor  getDefaultFont()
 }
 
 //------------------------------------------------------------------------------
-sal_Bool isAssignableFrom(const Type& _rAssignable, const Type& _rFrom)
+bool isAssignableFrom(const Type& _rAssignable, const Type& _rFrom)
 {
     // getthe type lib descriptions
     typelib_TypeDescription* pAssignable = NULL;
@@ -164,7 +164,7 @@ sal_Bool isAssignableFrom(const Type& _rAssignable, const Type& _rFrom)
 
 //------------------------------------------------------------------
 template<class TYPE>
-bool tryCompare(const void* _pData, const Any& _rValue, sal_Bool& _bIdentical, TYPE& _rOut)
+bool tryCompare(const void* _pData, const Any& _rValue, bool& _bIdentical, TYPE& _rOut)
 {
     bool bSuccess = _rValue >>= _rOut;
     _bIdentical = bSuccess && (_rOut == *reinterpret_cast<const TYPE*>(_pData));
@@ -172,7 +172,7 @@ bool tryCompare(const void* _pData, const Any& _rValue, sal_Bool& _bIdentical, T
 }
 
 //------------------------------------------------------------------
-bool tryCompare(const void* _pData, const Any& _rValue, sal_Bool& _bIdentical, sal_Unicode& _rOut)
+bool tryCompare(const void* _pData, const Any& _rValue, bool& _bIdentical, sal_Unicode& _rOut)
 {
     bool bSuccess = ( _rValue.getValueTypeClass() == TypeClass_CHAR );
     if ( bSuccess )
@@ -182,9 +182,9 @@ bool tryCompare(const void* _pData, const Any& _rValue, sal_Bool& _bIdentical, s
 }
 
 //------------------------------------------------------------------
-sal_Bool compare_impl(const Type& _rType, const void* pData, const Any& _rValue)
+bool compare_impl(const Type& _rType, const void* pData, const Any& _rValue)
 {
-    sal_Bool bRes = sal_True;
+    bool bRes = true;
 
     if (_rType.getTypeClass() == TypeClass_ANY)
     {
@@ -208,16 +208,16 @@ sal_Bool compare_impl(const Type& _rType, const void* pData, const Any& _rValue)
     }
     else
     {
-        sal_Bool bConversionSuccess = sal_False;
+        bool bConversionSuccess = false;
         switch (_rType.getTypeClass())
         {
             case TypeClass_VOID:
-                bConversionSuccess = sal_True;
+                bConversionSuccess = true;
                 bRes = _rValue.getValueType().getTypeClass() == TypeClass_VOID;
                 break;
             case TypeClass_BOOLEAN:
             {
-                sal_Bool aDummy;
+                bool aDummy;
                 bConversionSuccess = tryCompare(pData, _rValue, bRes, aDummy);
                 break;
             }
@@ -298,7 +298,7 @@ sal_Bool compare_impl(const Type& _rType, const void* pData, const Any& _rValue)
                         bRes = *(FontDescriptor*)pData == aTemp;
                     }
                     else
-                        bRes = sal_False;
+                        bRes = false;
                     break;
                 }
                 if (isA(_rType, static_cast<Date*>(NULL)))
@@ -413,7 +413,7 @@ sal_Bool compare_impl(const Type& _rType, const void* pData, const Any& _rValue)
                 }
                 break;
             default:
-                bRes = sal_False;
+                bRes = false;
         }
 
         bRes = bRes && bConversionSuccess;
@@ -422,13 +422,13 @@ sal_Bool compare_impl(const Type& _rType, const void* pData, const Any& _rValue)
 }
 
 //------------------------------------------------------------------------------
-sal_Bool compare(const Any& rLeft, const Any& rRight)
+bool compare(const Any& rLeft, const Any& rRight)
 {
     return compare_impl(rLeft.getValueType(), rLeft.getValue(), rRight);
 }
 
 //-------------------------------------------------------------------------
-sal_Bool    operator ==(const FontDescriptor& _rLeft, const FontDescriptor& _rRight)
+bool    operator ==(const FontDescriptor& _rLeft, const FontDescriptor& _rRight)
 {
     return ( _rLeft.Name.equals( _rRight.Name ) ) &&
     ( _rLeft.Height == _rRight.Height ) &&
diff --git a/comphelper/source/processfactory/processfactory.cxx b/comphelper/source/processfactory/processfactory.cxx
index 32aff0f..fb4d2f7 100644
--- a/comphelper/source/processfactory/processfactory.cxx
+++ b/comphelper/source/processfactory/processfactory.cxx
@@ -36,7 +36,7 @@ namespace comphelper
     This function preserves only that the xProcessFactory variable will not be create when
     the library is loaded.
 */
-Reference< XMultiServiceFactory > localProcessFactory( const Reference< XMultiServiceFactory >& xSMgr, sal_Bool bSet )
+Reference< XMultiServiceFactory > localProcessFactory( const Reference< XMultiServiceFactory >& xSMgr, bool bSet )
 {
     Guard< Mutex > aGuard( Mutex::getGlobalMutex() );
 
@@ -52,13 +52,13 @@ Reference< XMultiServiceFactory > localProcessFactory( const Reference< XMultiSe
 
 void setProcessServiceFactory(const Reference< XMultiServiceFactory >& xSMgr)
 {
-    localProcessFactory( xSMgr, sal_True );
+    localProcessFactory( xSMgr, true );
 }
 
 Reference< XMultiServiceFactory > getProcessServiceFactory()
 {
     Reference< XMultiServiceFactory> xReturn;
-    xReturn = localProcessFactory( xReturn, sal_False );
+    xReturn = localProcessFactory( xReturn, false );
     if ( !xReturn.is() )
     {
         throw DeploymentException(
diff --git a/comphelper/source/property/ChainablePropertySetInfo.cxx b/comphelper/source/property/ChainablePropertySetInfo.cxx
index 5188331..c30df8a 100644
--- a/comphelper/source/property/ChainablePropertySetInfo.cxx
+++ b/comphelper/source/property/ChainablePropertySetInfo.cxx
@@ -96,7 +96,7 @@ Property SAL_CALL ChainablePropertySetInfo::getPropertyByName( const OUString& r
 sal_Bool SAL_CALL ChainablePropertySetInfo::hasPropertyByName( const OUString& rName )
     throw(::com::sun::star::uno::RuntimeException)
 {
-    return static_cast < sal_Bool > ( maMap.find ( rName ) != maMap.end() );
+    return maMap.find ( rName ) != maMap.end();
 }
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/comphelper/source/property/MasterPropertySet.cxx b/comphelper/source/property/MasterPropertySet.cxx
index 6477e11..3e2f2ca 100644
--- a/comphelper/source/property/MasterPropertySet.cxx
+++ b/comphelper/source/property/MasterPropertySet.cxx
@@ -63,7 +63,7 @@ using namespace ::com::sun::star::beans;
 SlaveData::SlaveData ( ChainablePropertySet *pSlave)
 : mpSlave ( pSlave )
 , mxSlave ( pSlave )
-, mbInit ( sal_False )
+, mbInit ( false )
 {
 }
 
@@ -242,7 +242,7 @@ void SAL_CALL MasterPropertySet::setPropertyValues( const Sequence< OUString >&
                         aOGuardArray[i].reset( new osl::Guard< comphelper::SolarMutex >(pSlave->mpSlave->mpMutex) );
 
                     pSlave->mpSlave->_preSetValues();
-                    pSlave->SetInit ( sal_True );
+                    pSlave->SetInit ( true );
                 }
                 pSlave->mpSlave->_setSingleValue( *((*aIter).second->mpInfo), *pAny );
             }
@@ -255,7 +255,7 @@ void SAL_CALL MasterPropertySet::setPropertyValues( const Sequence< OUString >&
             if ( (*aSlaveIter).second->IsInit())
             {
                 (*aSlaveIter).second->mpSlave->_postSetValues();
-                (*aSlaveIter).second->SetInit ( sal_False );
+                (*aSlaveIter).second->SetInit ( false );
             }
             ++aSlaveIter;
         }
@@ -307,7 +307,7 @@ Sequence< Any > SAL_CALL MasterPropertySet::getPropertyValues( const Sequence< O
                         aOGuardArray[i].reset( new osl::Guard< comphelper::SolarMutex >(pSlave->mpSlave->mpMutex) );
 
                     pSlave->mpSlave->_preGetValues();
-                    pSlave->SetInit ( sal_True );
+                    pSlave->SetInit ( true );
                 }
                 pSlave->mpSlave->_getSingleValue( *((*aIter).second->mpInfo), *pAny );
             }
@@ -320,7 +320,7 @@ Sequence< Any > SAL_CALL MasterPropertySet::getPropertyValues( const Sequence< O
             if ( (*aSlaveIter).second->IsInit())
             {
                 (*aSlaveIter).second->mpSlave->_postSetValues();
-                (*aSlaveIter).second->SetInit ( sal_False );
+                (*aSlaveIter).second->SetInit ( false );
             }
             ++aSlaveIter;
         }
@@ -406,7 +406,7 @@ Sequence< PropertyState > SAL_CALL MasterPropertySet::getPropertyStates( const S
                 if (!pSlave->IsInit())
                 {
                     pSlave->mpSlave->_preGetPropertyState();
-                    pSlave->SetInit ( sal_True );
+                    pSlave->SetInit ( true );
                 }
                 pSlave->mpSlave->_getPropertyState( *((*aIter).second->mpInfo), *pState );
             }
@@ -418,7 +418,7 @@ Sequence< PropertyState > SAL_CALL MasterPropertySet::getPropertyStates( const S
             if ( (*aSlaveIter).second->IsInit())
             {
                 (*aSlaveIter).second->mpSlave->_postGetPropertyState();
-                (*aSlaveIter).second->SetInit ( sal_False );
+                (*aSlaveIter).second->SetInit ( false );
             }
             ++aSlaveIter;
         }
diff --git a/comphelper/source/property/MasterPropertySetInfo.cxx b/comphelper/source/property/MasterPropertySetInfo.cxx
index 5628e64..74baf27 100644
--- a/comphelper/source/property/MasterPropertySetInfo.cxx
+++ b/comphelper/source/property/MasterPropertySetInfo.cxx
@@ -112,7 +112,7 @@ Property SAL_CALL MasterPropertySetInfo::getPropertyByName( const OUString& rNam
 sal_Bool SAL_CALL MasterPropertySetInfo::hasPropertyByName( const OUString& rName )
     throw(::com::sun::star::uno::RuntimeException)
 {
-    return static_cast < sal_Bool > ( maMap.find ( rName ) != maMap.end() );
+    return maMap.find ( rName ) != maMap.end();
 }
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/comphelper/source/property/opropertybag.cxx b/comphelper/source/property/opropertybag.cxx
index 86cf28c..fe72408 100644
--- a/comphelper/source/property/opropertybag.cxx
+++ b/comphelper/source/property/opropertybag.cxx
@@ -162,11 +162,11 @@ namespace comphelper
             bool bIgnoreRuntimeExceptionsWhileFiring)
     {
         if (nCount && !bVetoable) {
-            setModifiedImpl(sal_True, bIgnoreRuntimeExceptionsWhileFiring);
+            setModifiedImpl(true, bIgnoreRuntimeExceptionsWhileFiring);
         }
     }
 
-    void OPropertyBag::setModifiedImpl(::sal_Bool bModified,
+    void OPropertyBag::setModifiedImpl(bool bModified,
             bool bIgnoreRuntimeExceptionsWhileFiring)
     {
         { // do not lock mutex while notifying (#i93514#) to prevent deadlock
diff --git a/comphelper/source/property/opropertybag.hxx b/comphelper/source/property/opropertybag.hxx
index 2006c85..d196e85 100644
--- a/comphelper/source/property/opropertybag.hxx
+++ b/comphelper/source/property/opropertybag.hxx
@@ -185,7 +185,7 @@ namespace comphelper
             sal_Bool bVetoable,
             bool bIgnoreRuntimeExceptionsWhileFiring);
 
-        void SAL_CALL setModifiedImpl( ::sal_Bool bModified,
+        void SAL_CALL setModifiedImpl( bool bModified,
             bool bIgnoreRuntimeExceptionsWhileFiring);
 
     private:
diff --git a/comphelper/source/property/propagg.cxx b/comphelper/source/property/propagg.cxx
index 1256aea..664d2bf 100644
--- a/comphelper/source/property/propagg.cxx
+++ b/comphelper/source/property/propagg.cxx
@@ -201,7 +201,7 @@ sal_Bool OPropertyArrayAggregationHelper::fillPropertyMembersByHandle(
             OUString* _pPropName, sal_Int16* _pAttributes, sal_Int32 _nHandle)
 {
     ConstPropertyAccessorMapIterator i = m_aPropertyAccessors.find(_nHandle);
-    sal_Bool bRet = i != m_aPropertyAccessors.end();
+    bool bRet = i != m_aPropertyAccessors.end();
     if (bRet)
     {
         const  ::com::sun::star::beans::Property& rProperty = m_aProperties.getConstArray()[(*i).second.nPos];
@@ -214,15 +214,15 @@ sal_Bool OPropertyArrayAggregationHelper::fillPropertyMembersByHandle(
 }
 
 //------------------------------------------------------------------------------
-sal_Bool OPropertyArrayAggregationHelper::getPropertyByHandle( sal_Int32 _nHandle, Property& _rProperty ) const
+bool OPropertyArrayAggregationHelper::getPropertyByHandle( sal_Int32 _nHandle, Property& _rProperty ) const
 {
     ConstPropertyAccessorMapIterator pos = m_aPropertyAccessors.find(_nHandle);
     if ( pos != m_aPropertyAccessors.end() )
     {
         _rProperty = m_aProperties[ pos->second.nPos ];
-        return sal_True;
+        return true;
     }
-    return sal_False;
+    return false;
 }
 
 //------------------------------------------------------------------------------
@@ -442,7 +442,7 @@ namespace internal
 //------------------------------------------------------------------------------
 OPropertySetAggregationHelper::OPropertySetAggregationHelper( ::cppu::OBroadcastHelper& rBHlp )
     :OPropertyStateHelper( rBHlp )
-    ,m_bListening( sal_False )
+    ,m_bListening( false )
 {
     m_pForwarder = new PropertyForwarder( *this );
 }
@@ -478,7 +478,7 @@ void OPropertySetAggregationHelper::disposing()
         // register as a single listener
         m_xAggregateMultiSet->removePropertiesChangeListener(this);
         m_xAggregateSet->removeVetoableChangeListener(OUString(), this);
-        m_bListening = sal_False;
+        m_bListening = false;
     }
 
     OPropertyStateHelper::disposing();
@@ -489,7 +489,7 @@ void SAL_CALL OPropertySetAggregationHelper::disposing(const  ::com::sun::star::
 {
     OSL_ENSURE(m_xAggregateSet.is(), "OPropertySetAggregationHelper::disposing : don't have an aggregate anymore !");
     if (_rSource.Source == m_xAggregateSet)
-        m_bListening = sal_False;
+        m_bListening = false;
 }
 
 //------------------------------------------------------------------------------
@@ -565,7 +565,7 @@ void OPropertySetAggregationHelper::setAggregation(const  ::com::sun::star::uno:
     {
         m_xAggregateMultiSet->removePropertiesChangeListener(this);
         m_xAggregateSet->removeVetoableChangeListener(OUString(), this);
-        m_bListening = sal_False;
+        m_bListening = false;
     }
 
     m_xAggregateState       =  m_xAggregateState.query( _rxDelegate );
@@ -590,7 +590,7 @@ void OPropertySetAggregationHelper::startListening()
         m_xAggregateMultiSet->addPropertiesChangeListener(aPropertyNames, this);
         m_xAggregateSet->addVetoableChangeListener(OUString(), this);
 
-        m_bListening = sal_True;
+        m_bListening = true;
     }
 }
 
@@ -979,7 +979,7 @@ void SAL_CALL OPropertySetAggregationHelper::setPropertyToDefault(const OUString
 //------------------------------------------------------------------------------
 sal_Bool SAL_CALL OPropertySetAggregationHelper::convertFastPropertyValue( Any& _rConvertedValue, Any& _rOldValue, sal_Int32 _nHandle, const Any& _rValue ) throw(IllegalArgumentException)
 {
-    sal_Bool bModified = sal_False;
+    bool bModified = false;
 
     OSL_ENSURE( m_pForwarder->isResponsibleFor( _nHandle ), "OPropertySetAggregationHelper::convertFastPropertyValue: this is no forwarded property - did you use declareForwardedProperty for it?" );
     if ( m_pForwarder->isResponsibleFor( _nHandle ) )
diff --git a/comphelper/source/property/property.cxx b/comphelper/source/property/property.cxx
index f1c544f..2eaec9a 100644
--- a/comphelper/source/property/property.cxx
+++ b/comphelper/source/property/property.cxx
@@ -130,14 +130,14 @@ void copyProperties(const Reference<XPropertySet>& _rxSource,
 }
 
 //------------------------------------------------------------------
-sal_Bool hasProperty(const OUString& _rName, const Reference<XPropertySet>& _rxSet)
+bool hasProperty(const OUString& _rName, const Reference<XPropertySet>& _rxSet)
 {
     if (_rxSet.is())
     {
         //  XPropertySetInfoRef xInfo(rxSet->getPropertySetInfo());
         return _rxSet->getPropertySetInfo()->hasPropertyByName(_rName);
     }
-    return sal_False;
+    return false;
 }
 
 //------------------------------------------------------------------
@@ -177,9 +177,9 @@ void ModifyPropertyAttributes(Sequence<Property>& seqProps, const OUString& sPro
 }
 
 //------------------------------------------------------------------
-sal_Bool tryPropertyValue(Any& _rConvertedValue, Any& _rOldValue, const Any& _rValueToSet, const Any& _rCurrentValue, const Type& _rExpectedType)
+bool tryPropertyValue(Any& _rConvertedValue, Any& _rOldValue, const Any& _rValueToSet, const Any& _rCurrentValue, const Type& _rExpectedType)
 {
-    sal_Bool bModified(sal_False);
+    bool bModified(false);
     if (_rCurrentValue.getValue() != _rValueToSet.getValue())
     {
         if ( _rValueToSet.hasValue() && ( !_rExpectedType.equals( _rValueToSet.getValueType() ) ) )
@@ -203,7 +203,7 @@ sal_Bool tryPropertyValue(Any& _rConvertedValue, Any& _rOldValue, const Any& _rV
         if ( _rCurrentValue != _rConvertedValue )
         {
             _rOldValue = _rCurrentValue;
-            bModified = sal_True;
+            bModified = true;
         }
     }
     return bModified;
diff --git a/comphelper/source/property/propertycontainerhelper.cxx b/comphelper/source/property/propertycontainerhelper.cxx
index e019511..0a859ef 100644
--- a/comphelper/source/property/propertycontainerhelper.cxx
+++ b/comphelper/source/property/propertycontainerhelper.cxx
@@ -66,7 +66,7 @@ namespace
 //==========================================================================
 //--------------------------------------------------------------------------
 OPropertyContainerHelper::OPropertyContainerHelper()
-    :m_bUnused(sal_False)
+    :m_bUnused(false)
 {
 }
 
@@ -147,13 +147,13 @@ void OPropertyContainerHelper::registerPropertyNoMember(const OUString& _rName,
 }
 
 //--------------------------------------------------------------------------
-sal_Bool OPropertyContainerHelper::isRegisteredProperty( sal_Int32 _nHandle ) const
+bool OPropertyContainerHelper::isRegisteredProperty( sal_Int32 _nHandle ) const
 {
     return const_cast< OPropertyContainerHelper* >( this )->searchHandle( _nHandle ) != m_aProperties.end();
 }
 
 //--------------------------------------------------------------------------
-sal_Bool OPropertyContainerHelper::isRegisteredProperty( const OUString& _rName ) const
+bool OPropertyContainerHelper::isRegisteredProperty( const OUString& _rName ) const
 {
     // TODO: the current structure is from a time where properties were
     // static, not dynamic. Since we allow that properties are also dynamic,
@@ -220,10 +220,10 @@ namespace
 }
 
 //--------------------------------------------------------------------------
-sal_Bool OPropertyContainerHelper::convertFastPropertyValue(
+bool OPropertyContainerHelper::convertFastPropertyValue(
     Any& _rConvertedValue, Any& _rOldValue, sal_Int32 _nHandle, const Any& _rValue ) SAL_THROW( (IllegalArgumentException) )
 {
-    sal_Bool bModified = sal_False;
+    bool bModified = false;
 
     // get the property somebody is asking for
     PropertiesIterator aPos = searchHandle(_nHandle);
@@ -241,7 +241,7 @@ sal_Bool OPropertyContainerHelper::convertFastPropertyValue(
         case PropertyDescription::ltHoldMyself:
         case PropertyDescription::ltDerivedClassAnyType:
         {
-            sal_Bool bMayBeVoid = ((aPos->aProperty.Attributes & PropertyAttribute::MAYBEVOID) != 0);
+            bool bMayBeVoid = ((aPos->aProperty.Attributes & PropertyAttribute::MAYBEVOID) != 0);
 
 
             // non modifiable version of the value-to-be-set
@@ -320,7 +320,7 @@ sal_Bool OPropertyContainerHelper::convertFastPropertyValue(
 
             if (!_rValue.getValueType().equals(aPos->aProperty.Type))
             {
-                sal_Bool bConverted = sal_False;
+                bool bConverted = false;
 
                 // a temporary any of the correct (required) type
                 aProperlyTyped = Any( NULL, aPos->aProperty.Type.getTypeLibType() );
@@ -336,7 +336,7 @@ sal_Bool OPropertyContainerHelper::convertFastPropertyValue(
                     )
                 {
                     // could query for the requested interface
-                    bConverted = sal_True;
+                    bConverted = true;
                     pNewValue = &aProperlyTyped;
                 }
 
@@ -390,7 +390,7 @@ void OPropertyContainerHelper::setFastPropertyValue(sal_Int32 _nHandle, const An
 
         case PropertyDescription::ltDerivedClassRealType:
 #if OSL_DEBUG_LEVEL > 0
-            sal_Bool bSuccess =
+            bool bSuccess =
 #endif
             // copy the data from the to-be-set value
             uno_type_assignData(
diff --git a/comphelper/source/property/propertysethelper.cxx b/comphelper/source/property/propertysethelper.cxx
index 21cea0c..beb0358 100644
--- a/comphelper/source/property/propertysethelper.cxx
+++ b/comphelper/source/property/propertysethelper.cxx
@@ -145,7 +145,7 @@ void SAL_CALL PropertySetHelper::setPropertyValues( const Sequence< OUString >&
         pEntries[nCount] = NULL;
         const OUString* pNames = aPropertyNames.getConstArray();
 
-        sal_Bool bUnknown = sal_False;
+        bool bUnknown = false;
         sal_Int32 n;
         for( n = 0; !bUnknown && ( n < nCount ); n++, pNames++ )
         {
@@ -174,7 +174,7 @@ Sequence< Any > SAL_CALL PropertySetHelper::getPropertyValues( const Sequence< O
         pEntries[nCount] = NULL;
         const OUString* pNames = aPropertyNames.getConstArray();
 
-        sal_Bool bUnknown = sal_False;
+        bool bUnknown = false;
         sal_Int32 n;
         for( n = 0; !bUnknown && ( n < nCount ); n++, pNames++ )
         {
@@ -239,7 +239,7 @@ Sequence< PropertyState > SAL_CALL PropertySetHelper::getPropertyStates( const S
     {
         const OUString* pNames = aPropertyName.getConstArray();
 
-        sal_Bool bUnknown = sal_False;
+        bool bUnknown = false;
 
         PropertyMapEntry const ** pEntries = new PropertyMapEntry const *[nCount+1];
 
diff --git a/comphelper/source/property/propertysetinfo.cxx b/comphelper/source/property/propertysetinfo.cxx
index cc49841..4e6a0e9 100644
--- a/comphelper/source/property/propertysetinfo.cxx
+++ b/comphelper/source/property/propertysetinfo.cxx
@@ -43,7 +43,7 @@ public:
     const PropertyMap* getPropertyMap() const throw();
 
     Property getPropertyByName( const OUString& aName ) throw( UnknownPropertyException );
-    sal_Bool hasPropertyByName( const OUString& aName ) throw();
+    bool hasPropertyByName( const OUString& aName ) throw();
 
 private:
     PropertyMap maPropertyMap;
@@ -138,7 +138,7 @@ Property PropertyMapImpl::getPropertyByName( const OUString& aName ) throw( Unkn
     return Property( aName, pEntry->mnHandle, pEntry->maType, pEntry->mnAttributes );
 }
 
-sal_Bool PropertyMapImpl::hasPropertyByName( const OUString& aName ) throw()
+bool PropertyMapImpl::hasPropertyByName( const OUString& aName ) throw()
 {
     return maPropertyMap.find( aName ) != maPropertyMap.end();
 }
diff --git a/comphelper/source/property/propertystatecontainer.cxx b/comphelper/source/property/propertystatecontainer.cxx
index 63fbe56..e93c6bb 100644
--- a/comphelper/source/property/propertystatecontainer.cxx
+++ b/comphelper/source/property/propertystatecontainer.cxx
@@ -159,7 +159,7 @@ namespace comphelper
         Any aCurrentValue; getFastPropertyValue( aCurrentValue, _nHandle );
         Any aDefaultValue; getPropertyDefaultByHandle( _nHandle, aDefaultValue );
 
-        sal_Bool bEqual = uno_type_equalData(
+        bool bEqual = uno_type_equalData(
                 const_cast< void* >( aCurrentValue.getValue() ), aCurrentValue.getValueType().getTypeLibType(),
                 const_cast< void* >( aDefaultValue.getValue() ), aDefaultValue.getValueType().getTypeLibType(),

... etc. - the rest is truncated


More information about the Libreoffice-commits mailing list