summaryrefslogtreecommitdiff
path: root/reportdesign/source/ui/report/propbrw.cxx
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@documentfoundation.org>2012-01-03 21:17:13 -0200
committerLuboš Luňák <l.lunak@suse.cz>2012-01-04 13:16:37 +0100
commite224197bda4fc17b0a2333a2af69c11577ec3ef4 (patch)
treeb49bfaf57fec6bedcf19596f0f7b607e2378943d /reportdesign/source/ui/report/propbrw.cxx
parent473a1a4a48003e926ebed16f3535f57bfcf371d9 (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.cxx4
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
{