diff options
author | Noel Grandin <noel@peralex.com> | 2013-10-16 09:36:04 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-10-18 09:59:24 +0200 |
commit | b4d116ef8f0b405fd9b12967766b138c21605489 (patch) | |
tree | e883497daf1f9c59b5cd3adc77fc0550a46f68d7 | |
parent | aa5cccd33c3b55dd4664f2600e0cf50d931ca122 (diff) |
convert sw/source/core/access/*.cxx from String to OUString
Change-Id: I03c63fbfe40e1fd7b7e26ecc7f16d695a68cbe46
-rw-r--r-- | sw/source/core/access/accnotextframe.cxx | 2 | ||||
-rw-r--r-- | sw/source/core/access/accportions.cxx | 4 | ||||
-rw-r--r-- | sw/source/core/access/acctextframe.cxx | 6 |
3 files changed, 6 insertions, 6 deletions
diff --git a/sw/source/core/access/accnotextframe.cxx b/sw/source/core/access/accnotextframe.cxx index d2af5ba1c4a9..b79e7945a000 100644 --- a/sw/source/core/access/accnotextframe.cxx +++ b/sw/source/core/access/accnotextframe.cxx @@ -122,7 +122,7 @@ void SwAccessibleNoTextFrame::Modify( const SfxPoolItem* pOld, const SfxPoolItem { const OUString sOldDesc( msDesc ); - const String& rDesc = pNd->GetDescription(); + const OUString& rDesc = pNd->GetDescription(); msDesc = rDesc; if ( msDesc.isEmpty() && msTitle != GetName() ) diff --git a/sw/source/core/access/accportions.cxx b/sw/source/core/access/accportions.cxx index 446050a0b664..d6fc8e4ade16 100644 --- a/sw/source/core/access/accportions.cxx +++ b/sw/source/core/access/accportions.cxx @@ -216,8 +216,8 @@ void SwAccessiblePortionData::Finish() // include terminator values: always include two 'last character' // markers in the position arrays to make sure we always find one // position before the end - Special( 0, String(), POR_TERMINATE ); - Special( 0, String(), POR_TERMINATE ); + Special( 0, OUString(), POR_TERMINATE ); + Special( 0, OUString(), POR_TERMINATE ); LineBreak(0); LineBreak(0); diff --git a/sw/source/core/access/acctextframe.cxx b/sw/source/core/access/acctextframe.cxx index f1ba231242f2..a25506962608 100644 --- a/sw/source/core/access/acctextframe.cxx +++ b/sw/source/core/access/acctextframe.cxx @@ -87,9 +87,9 @@ void SwAccessibleTextFrame::Modify( const SfxPoolItem* pOld, const SfxPoolItem * // #i73249# case RES_TITLE_CHANGED: { - const String& sOldTitle( + const OUString& sOldTitle( dynamic_cast<const SwStringMsgPoolItem*>(pOld)->GetString() ); - const String& sNewTitle( + const OUString& sNewTitle( dynamic_cast<const SwStringMsgPoolItem*>(pNew)->GetString() ); if ( sOldTitle == sNewTitle ) { @@ -118,7 +118,7 @@ void SwAccessibleTextFrame::Modify( const SfxPoolItem* pOld, const SfxPoolItem * const SwFlyFrmFmt* pFlyFrmFmt = dynamic_cast<const SwFlyFrmFmt*>( pFlyFrm->GetFmt() ); - const String& rDesc = pFlyFrmFmt->GetObjDescription(); + const OUString& rDesc = pFlyFrmFmt->GetObjDescription(); msDesc = rDesc; if ( msDesc.isEmpty() && msTitle != GetName() ) |