summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2012-11-08 18:54:01 +0100
committerMichael Stahl <mstahl@redhat.com>2012-11-08 18:54:01 +0100
commitaf452fda333da53132a4301c372c321798be9cae (patch)
tree579e753aaedfd0c1904c4d7ba7d8cdd86aaa9184 /basic
parentcab7e3037c200a9d621d7ede015c9426556194dc (diff)
fix more warning C4804 unsafe use of type bool
... from commit bbf1bcd9ad9cc0368aef4a4de41e9538f6ad91b0 Change-Id: Ic8e52f6848e09a274133f2d8fd1c4044cae4b039
Diffstat (limited to 'basic')
-rw-r--r--basic/source/basmgr/basmgr.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/basic/source/basmgr/basmgr.cxx b/basic/source/basmgr/basmgr.cxx
index d177d73a3647..14ffe0902826 100644
--- a/basic/source/basmgr/basmgr.cxx
+++ b/basic/source/basmgr/basmgr.cxx
@@ -1243,7 +1243,7 @@ StarBASIC* BasicManager::AddLib( SotStorage& rStorage, const OUString& rLibName,
DBG_ASSERT( !aStorName.isEmpty(), "No Storage Name!" );
OUString aStorageName = INetURLObject(aStorName, INET_PROT_FILE).GetMainURL( INetURLObject::NO_DECODE );
- DBG_ASSERT(!aStorageName.isEmpty() != 0, "Bad storage name");
+ DBG_ASSERT(!aStorageName.isEmpty(), "Bad storage name");
OUString aNewLibName( rLibName );
while ( HasLib( aNewLibName ) )
1 +0100'>2017-11-02improve constparam lopluginNoel Grandin 2017-10-23loplugin:includeform: idlcStephan Bergmann 2017-10-23loplugin:constmethod in cppu,cppuhelper,idlcNoel Grandin 2017-10-23overload std::hash for OUString and OStringNoel Grandin 2017-10-20Silence compiler warnings C4005 (redefined INT8_MIN etc.)Mike Kaganski 2017-10-19loplugin:includeform: manual changes to idlc/source/parser.yStephan Bergmann 2017-10-05Rename and move SAL_U/W to o3tl::toU/WMike Kaganski 2017-10-01Prefer prefix operatorJulien Nabet 2017-09-30Use explicit function names for fooA/fooW WinAPI; prefer fooWMike Kaganski 2017-09-18Use even more WIN32_LEAN_AND_MEANMike Kaganski 2017-09-11clang-tidy modernize-use-emplace in hwpfilter..lotuswordproNoel Grandin 2017-09-04loplugin:unnecessaryparen include c++ castsNoel Grandin 2017-08-11convert std::map::insert to std::map::emplace IINoel Grandin 2017-08-06loplugin:constparams in sw part6Noel Grandin 2017-07-18no copy neededJochen Nitschke 2017-07-18loplugin:constparams codemaker,idl,idlcNoel Grandin 2017-07-17extend loplugin useuniqueptr to OUString pointersNoel Grandin 2017-07-16Fix lifecycle issueStephan Bergmann 2017-07-14extend loplugin useuniqueptr to POD typesNoel Grandin 2017-07-05loplugin:unnecessaryparenStephan Bergmann 2017-06-25loplugin:oncevar in helpcompiler..jvmfwkNoel Grandin 2017-06-23loplugin:unusedfields in forms..idlcNoel Grandin 2017-06-09More tests to suppress (all .PHONY test targets should be covered now)Stephan Bergmann 2017-05-29remove some unnecessary OString constructor callsNoel Grandin 2017-05-28remove unnecessary use of OString::getStrNoel Grandin 2017-05-09remove unnecessary empty OUString fields and varsNoel Grandin 2017-04-06loplugin:redundantcast check for c-style casts to voidNoel Grandin