summaryrefslogtreecommitdiff
path: root/sw/source/core/draw
diff options
context:
space:
mode:
authorMatteo Casalin <matteo.casalin@yahoo.com>2013-08-18 01:03:43 +0200
committerMatteo Casalin <matteo.casalin@yahoo.com>2013-08-18 01:03:43 +0200
commita38f4e61b5611850f3b4f56cc5f6d9a6cb400d2e (patch)
treeeaf1c5fdf8b9293e0212d4971e50bf8dd60359ee /sw/source/core/draw
parent63b86dfdf84edfca0b49d97687e4759dd8d8efff (diff)
String to OUString
Change-Id: I22624e2f15b95257f950f48704909aeb6ae54ef4
Diffstat (limited to 'sw/source/core/draw')
-rw-r--r--sw/source/core/draw/dflyobj.cxx4
-rw-r--r--sw/source/core/draw/dpage.cxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/core/draw/dflyobj.cxx b/sw/source/core/draw/dflyobj.cxx
index ab9c5bc0cb13..6b83fea70c53 100644
--- a/sw/source/core/draw/dflyobj.cxx
+++ b/sw/source/core/draw/dflyobj.cxx
@@ -860,13 +860,13 @@ Pointer SwVirtFlyDrawObj::GetMacroPointer(
bool SwVirtFlyDrawObj::HasMacro() const
{
const SwFmtURL &rURL = pFlyFrm->GetFmt()->GetURL();
- return rURL.GetMap() || rURL.GetURL().Len();
+ return rURL.GetMap() || !rURL.GetURL().isEmpty();
}
SdrObject* SwVirtFlyDrawObj::CheckMacroHit( const SdrObjMacroHitRec& rRec ) const
{
const SwFmtURL &rURL = pFlyFrm->GetFmt()->GetURL();
- if( rURL.GetMap() || rURL.GetURL().Len() )
+ if( rURL.GetMap() || !rURL.GetURL().isEmpty() )
{
SwRect aRect;
if ( pFlyFrm->Lower() && pFlyFrm->Lower()->IsNoTxtFrm() )
diff --git a/sw/source/core/draw/dpage.cxx b/sw/source/core/draw/dpage.cxx
index ff1fcde712a6..db945d6ac19c 100644
--- a/sw/source/core/draw/dpage.cxx
+++ b/sw/source/core/draw/dpage.cxx
@@ -152,7 +152,7 @@ sal_Bool SwDPage::RequestHelp( Window* pWindow, SdrView* pView,
INetURLObject::DECODE_UNAMBIGUOUS);
}
}
- else if ( rURL.GetURL().Len() )
+ else if ( !rURL.GetURL().isEmpty() )
{
sTxt = URIHelper::removePassword( rURL.GetURL(),
INetURLObject::WAS_ENCODED,