diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-12-20 15:01:58 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-12-20 15:01:58 +0000 |
commit | 110544a8039398c66582ba592310e1a58c076970 (patch) | |
tree | 3dfc190b349cc393af35aa8dd16a3dffd62fc69b /vcl | |
parent | 6069c7590abf8150595cc748a7dfcbb535b13d72 (diff) |
reversed assert
Change-Id: I018417df11a41ebb1c453a51a70368b0eae8f6d4
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/window/builder.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/builder.cxx b/vcl/source/window/builder.cxx index 536f07cd1b6a..d0410235ad67 100644 --- a/vcl/source/window/builder.cxx +++ b/vcl/source/window/builder.cxx @@ -1644,7 +1644,7 @@ VclPtr<vcl::Window> VclBuilder::makeObject(vcl::Window *pParent, const OString & #else bool ok = pModule->loadRelative(&thisModule, sModule); #endif - assert(ok || "bad module name in .ui"); (void)ok; + assert(ok && "bad module name in .ui"); (void)ok; aI = m_aModuleMap.insert(std::make_pair(sModule, std::unique_ptr<osl::Module>(pModule))).first; } customMakeWidget pFunction = reinterpret_cast<customMakeWidget>(aI->second->getFunctionSymbol(sFunction)); |