diff options
author | Olivier Hallot <olivier.hallot@alta.org.br> | 2012-01-09 11:57:52 -0200 |
---|---|---|
committer | Olivier Hallot <olivier.hallot@alta.org.br> | 2012-01-10 23:08:01 -0200 |
commit | f19d269ab4286b2e2e9f579bc4705daf4f6756ab (patch) | |
tree | 72a42c0a91e1f78b2ae3240c975b00b4dddc8035 /sdext/source/presenter/PresenterSlideSorter.cxx | |
parent | db08c1ac5ed566fbec4d2ce8345ed483fa8bf9ab (diff) |
Fix for fdo43460 Part XXXII getLength() to isEmpty()
Part XXXII
Modules
sdext
Diffstat (limited to 'sdext/source/presenter/PresenterSlideSorter.cxx')
-rw-r--r-- | sdext/source/presenter/PresenterSlideSorter.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sdext/source/presenter/PresenterSlideSorter.cxx b/sdext/source/presenter/PresenterSlideSorter.cxx index 038b3830d1f4..e874002d0c3d 100644 --- a/sdext/source/presenter/PresenterSlideSorter.cxx +++ b/sdext/source/presenter/PresenterSlideSorter.cxx @@ -1833,7 +1833,7 @@ void PresenterSlideSorter::MouseOverManager::SetSlide ( if (xSlideProperties.is()) xSlideProperties->getPropertyValue(A2S("LinkDisplayName")) >>= msText; - if (msText.getLength() == 0) + if (msText.isEmpty()) msText = A2S("Slide ") + OUString::valueOf(nSlideIndex + 1); } } @@ -1884,7 +1884,7 @@ Reference<rendering::XBitmap> PresenterSlideSorter::MouseOverManager::CreateBitm PaintButtonBackground(xBitmapCanvas, aLabelSize); // Paint the text. - if (sText.getLength() > 0) + if (!sText.isEmpty()) { const rendering::StringContext aContext (sText, 0, sText.getLength()); |