diff --git a/sw/source/uibase/config/dbconfig.cxx b/sw/source/uibase/config/dbconfig.cxx index 863593163d3b..669bda65a4a7 100644 --- a/sw/source/uibase/config/dbconfig.cxx +++ b/sw/source/uibase/config/dbconfig.cxx @@ -52,13 +52,10 @@ SwDBConfig::~SwDBConfig() void SwDBConfig::Load() { const Sequence& rNames = GetPropertyNames(); - if(!m_pAdrImpl) - { + if (!m_pAdrImpl) m_pAdrImpl.reset(new SwDBData); - m_pAdrImpl->nCommandType = 0; + if (!m_pBibImpl) m_pBibImpl.reset(new SwDBData); - m_pBibImpl->nCommandType = 0; - } Sequence aValues = GetProperties(rNames); const Any* pValues = aValues.getConstArray(); OSL_ENSURE(aValues.getLength() == rNames.getLength(), "GetProperties failed");