Kaydet (Commit) af452fda authored tarafından Michael Stahl's avatar Michael Stahl

fix more warning C4804 unsafe use of type bool

... from commit bbf1bcd9

Change-Id: Ic8e52f6848e09a274133f2d8fd1c4044cae4b039
üst cab7e303
......@@ -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 ) )
......
......@@ -147,7 +147,7 @@ void ScMacroManager::InitUserFuncData()
Reference< container::XContainer > xModuleContainer;
SfxObjectShell* pShell = mpDoc->GetDocumentShell();
if ( pShell && ! pShell->GetBasicManager()->GetName().isEmpty() > 0 )
if (pShell && !pShell->GetBasicManager()->GetName().isEmpty())
{
sProjectName = pShell->GetBasicManager()->GetName();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment