summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2011-05-12 07:29:47 +0200
committerDavid Tardon <dtardon@redhat.com>2011-05-12 14:32:29 +0200
commit33febd5bc6c194aca62188a424dec073c84d0107 (patch)
treebeec68fbaa462177e467016cdf05439778c1daf7
parent17e8ee1d7b9b4464af73657679df7b0bbdffa028 (diff)
use rtl::OUString
-rw-r--r--fpicker/source/office/fpsmartcontent.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/fpicker/source/office/fpsmartcontent.cxx b/fpicker/source/office/fpsmartcontent.cxx
index 5b33754049..710fb11133 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;