diff options
author | Petr Mladek <pmladek@suse.cz> | 2012-11-05 14:34:27 +0100 |
---|---|---|
committer | Petr Mladek <pmladek@suse.cz> | 2012-11-05 14:34:27 +0100 |
commit | ef15a5a4acd3174752484c6aeb570d4d6444b645 (patch) | |
tree | 3d1d5b58f85737aa46241aea4c4dabea520cecc2 /sal/inc | |
parent | a1b0ce05e851e9724c046888a01869eddf9e9db2 (diff) | |
parent | c309ce0227a14330094191c1ef15fa00899defcb (diff) |
Merge remote-tracking branch 'origin/libreoffice-3-6-3' into suse-3.6
Conflicts:
desktop/source/app/sofficemain.cxx
instsetoo_native/util/openoffice.lst
solenv/inc/minor.mk
Change-Id: I3e9510067c7173f6c71368e70ba6dfe168c5318e
Diffstat (limited to 'sal/inc')
-rw-r--r-- | sal/inc/osl/diagnose.hxx | 3 | ||||
-rw-r--r-- | sal/inc/rtl/string.hxx | 7 | ||||
-rw-r--r-- | sal/inc/rtl/ustring.hxx | 7 |
3 files changed, 7 insertions, 10 deletions
diff --git a/sal/inc/osl/diagnose.hxx b/sal/inc/osl/diagnose.hxx index 6463d8dcca5d..18dc0fe10bd1 100644 --- a/sal/inc/osl/diagnose.hxx +++ b/sal/inc/osl/diagnose.hxx @@ -33,6 +33,9 @@ #include <functional> #include <typeinfo> +#ifndef HAVE_CXX0X +#define BOOST_NO_0X_HDR_TYPEINDEX +#endif #include "boost/unordered_set.hpp" #include "osl/diagnose.h" #include "osl/interlck.h" diff --git a/sal/inc/rtl/string.hxx b/sal/inc/rtl/string.hxx index 4e76b7410303..e70f3ac29f25 100644 --- a/sal/inc/rtl/string.hxx +++ b/sal/inc/rtl/string.hxx @@ -320,12 +320,9 @@ public: @since LibreOffice 3.4 */ - sal_Bool isEmpty() const SAL_THROW(()) + bool isEmpty() const SAL_THROW(()) { - if ( pData->length ) - return sal_False; - else - return sal_True; + return pData->length == 0; } /** diff --git a/sal/inc/rtl/ustring.hxx b/sal/inc/rtl/ustring.hxx index f3d224ecdb0f..5962752c7af2 100644 --- a/sal/inc/rtl/ustring.hxx +++ b/sal/inc/rtl/ustring.hxx @@ -405,12 +405,9 @@ public: @since LibreOffice 3.4 */ - sal_Bool isEmpty() const SAL_THROW(()) + bool isEmpty() const SAL_THROW(()) { - if ( pData->length ) - return sal_False; - else - return sal_True; + return pData->length == 0; } /** |