diff options
author | Tor Lillqvist <tml@collabora.com> | 2014-11-06 08:32:24 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2014-11-06 08:33:33 +0200 |
commit | 552d4e9cb20a438311d1fcdfdb1d136c7fc18ddf (patch) | |
tree | 5960ef085eb6a2c1088822040d4a6b1ad4926b8b /dbaccess | |
parent | 8b21b5cbe78945b27525b4ce78ae3d981f90590f (diff) |
WaE: VarDecl, use bool instead of sal_Bool [loplugin:salbool]
Apparently the salbool plug-in warns if a sal_Bool is initialized in the C++
fashion. Change to the C fashion and no warning, huh?
Change-Id: I0f4e33cb33ffb1e0d5571d3757a6bb3bc9c44a64
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/core/dataaccess/databasedocument.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dbaccess/source/core/dataaccess/databasedocument.cxx b/dbaccess/source/core/dataaccess/databasedocument.cxx index cac2576ef5e6..ec7ab625233d 100644 --- a/dbaccess/source/core/dataaccess/databasedocument.cxx +++ b/dbaccess/source/core/dataaccess/databasedocument.cxx @@ -756,7 +756,7 @@ void SAL_CALL ODatabaseDocument::recoverFromFile( const OUString& i_SourceLocati sal_Bool SAL_CALL ODatabaseDocument::attachResource( const OUString& _rURL, const Sequence< PropertyValue >& _rArguments ) throw (RuntimeException, std::exception) { DocumentGuard aGuard( *this, DocumentGuard::MethodUsedDuringInit ); - sal_Bool bRet(sal_False); + sal_Bool bRet = sal_False; try { bRet = impl_attachResource( _rURL, _rArguments, aGuard ); |