dbaccess/source/core/dataaccess/databasedocument.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 552d4e9cb20a438311d1fcdfdb1d136c7fc18ddf Author: Tor Lillqvist <[email protected]> Date: Thu Nov 6 08:32:24 2014 +0200 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 diff --git a/dbaccess/source/core/dataaccess/databasedocument.cxx b/dbaccess/source/core/dataaccess/databasedocument.cxx index cac2576..ec7ab62 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 ); _______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
