diff options
author | Olivier Hallot <olivier.hallot@documentfoundation.org> | 2012-01-03 21:17:13 -0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2012-01-04 13:16:37 +0100 |
commit | e224197bda4fc17b0a2333a2af69c11577ec3ef4 (patch) | |
tree | b49bfaf57fec6bedcf19596f0f7b607e2378943d /reportdesign/source/ui/report/propbrw.cxx | |
parent | 473a1a4a48003e926ebed16f3535f57bfcf371d9 (diff) |
Fix for fdo43460 Part XXVIII getLength() to isEmpty()
Diffstat (limited to 'reportdesign/source/ui/report/propbrw.cxx')
-rw-r--r-- | reportdesign/source/ui/report/propbrw.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/reportdesign/source/ui/report/propbrw.cxx b/reportdesign/source/ui/report/propbrw.cxx index 0416b77d2098..8a8509cc0d88 100644 --- a/reportdesign/source/ui/report/propbrw.cxx +++ b/reportdesign/source/ui/report/propbrw.cxx @@ -262,7 +262,7 @@ void PropBrw::implDetachController() OSL_VERIFY( m_xBrowserController->getViewData() >>= sCurrentPage ); } - if ( !sCurrentPage.getLength() ) + if ( sCurrentPage.isEmpty() ) sCurrentPage = m_sLastActivePage; } catch( const Exception& ) @@ -509,7 +509,7 @@ void PropBrw::Update( OSectionView* pNewView ) m_bInitialStateChange = sal_False; // and additionally, we want to show the page which was active during // our previous incarnation - if ( m_sLastActivePage.getLength() && m_xBrowserController.is() ) + if ( !m_sLastActivePage.isEmpty() && m_xBrowserController.is() ) { try { |