diff options
author | David Tardon <dtardon@redhat.com> | 2011-05-12 07:29:47 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2011-05-12 14:32:29 +0200 |
commit | 6be5742c156ab5f0257dff3006ae079e87c40f08 (patch) | |
tree | 4dff87dbdf966a4354002f0e1fbb99d2ba3056ba /fpicker | |
parent | fix for fdo#37103 (diff) | |
download | core-6be5742c156ab5f0257dff3006ae079e87c40f08.tar.gz core-6be5742c156ab5f0257dff3006ae079e87c40f08.zip |
use rtl::OUString
Diffstat (limited to 'fpicker')
-rw-r--r-- | fpicker/source/office/fpsmartcontent.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fpicker/source/office/fpsmartcontent.cxx b/fpicker/source/office/fpsmartcontent.cxx index b66cd8ac05a6..ae97b365baf7 100644 --- a/fpicker/source/office/fpsmartcontent.cxx +++ b/fpicker/source/office/fpsmartcontent.cxx @@ -254,8 +254,8 @@ namespace svt Reference< XContent > xParent( xChild->getParent(), UNO_QUERY ); if ( xParent.is() ) { - String aParentURL = String( xParent->getIdentifier()->getContentIdentifier() ); - bRet = ( aParentURL.Len() > 0 && aParentURL != (String)(m_pContent->getURL()) ); + const ::rtl::OUString aParentURL( xParent->getIdentifier()->getContentIdentifier() ); + bRet = ( !aParentURL.isEmpty() && aParentURL != m_pContent->getURL() ); // now we're definately valid m_eState = VALID; |