summaryrefslogtreecommitdiff
path: root/slideshow/source/engine/slide/shapemanagerimpl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'slideshow/source/engine/slide/shapemanagerimpl.cxx')
-rw-r--r--slideshow/source/engine/slide/shapemanagerimpl.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/slideshow/source/engine/slide/shapemanagerimpl.cxx b/slideshow/source/engine/slide/shapemanagerimpl.cxx
index 5a940b244fd2..d0ef048c18ef 100644
--- a/slideshow/source/engine/slide/shapemanagerimpl.cxx
+++ b/slideshow/source/engine/slide/shapemanagerimpl.cxx
@@ -148,7 +148,7 @@ bool ShapeManagerImpl::handleMouseReleased( awt::MouseEvent const& e )
// first check for hyperlinks, because these have
// highest prio:
rtl::OUString const hyperlink( checkForHyperlink(aPosition) );
- if( hyperlink.getLength() > 0 )
+ if( !hyperlink.isEmpty() )
{
mrMultiplexer.notifyHyperlinkClicked(hyperlink);
return true; // event consumed
@@ -219,7 +219,7 @@ bool ShapeManagerImpl::handleMouseMoved( const awt::MouseEvent& e )
const ::basegfx::B2DPoint aPosition( e.X, e.Y );
sal_Int16 nNewCursor(-1);
- if( checkForHyperlink(aPosition).getLength() > 0 )
+ if( !checkForHyperlink(aPosition).isEmpty() )
{
nNewCursor = awt::SystemPointer::REFHAND;
}