diff options
Diffstat (limited to 'dbaccess/source/ui/querydesign')
-rw-r--r-- | dbaccess/source/ui/querydesign/QueryViewSwitch.cxx | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/dbaccess/source/ui/querydesign/QueryViewSwitch.cxx b/dbaccess/source/ui/querydesign/QueryViewSwitch.cxx index ecef58f3bc9a..227720fc5c12 100644 --- a/dbaccess/source/ui/querydesign/QueryViewSwitch.cxx +++ b/dbaccess/source/ui/querydesign/QueryViewSwitch.cxx @@ -277,16 +277,13 @@ Reference< XComponentContext > const & OQueryViewSwitch::getORB() const return m_pDesignView->getORB(); } -bool OQueryViewSwitch::reset() +void OQueryViewSwitch::reset() { m_pDesignView->reset(); if ( !m_pDesignView->initByParseIterator( nullptr ) ) - return false; + return; - if ( switchView( nullptr ) ) - return false; - - return true; + switchView( nullptr ); } void OQueryViewSwitch::setNoneVisbleRow(sal_Int32 _nRows) |