Kaydet (Commit) b4d116ef authored tarafından Noel Grandin's avatar Noel Grandin

convert sw/source/core/access/*.cxx from String to OUString

Change-Id: I03c63fbfe40e1fd7b7e26ecc7f16d695a68cbe46
üst aa5cccd3
...@@ -122,7 +122,7 @@ void SwAccessibleNoTextFrame::Modify( const SfxPoolItem* pOld, const SfxPoolItem ...@@ -122,7 +122,7 @@ void SwAccessibleNoTextFrame::Modify( const SfxPoolItem* pOld, const SfxPoolItem
{ {
const OUString sOldDesc( msDesc ); const OUString sOldDesc( msDesc );
const String& rDesc = pNd->GetDescription(); const OUString& rDesc = pNd->GetDescription();
msDesc = rDesc; msDesc = rDesc;
if ( msDesc.isEmpty() && if ( msDesc.isEmpty() &&
msTitle != GetName() ) msTitle != GetName() )
......
...@@ -216,8 +216,8 @@ void SwAccessiblePortionData::Finish() ...@@ -216,8 +216,8 @@ void SwAccessiblePortionData::Finish()
// include terminator values: always include two 'last character' // include terminator values: always include two 'last character'
// markers in the position arrays to make sure we always find one // markers in the position arrays to make sure we always find one
// position before the end // position before the end
Special( 0, String(), POR_TERMINATE ); Special( 0, OUString(), POR_TERMINATE );
Special( 0, String(), POR_TERMINATE ); Special( 0, OUString(), POR_TERMINATE );
LineBreak(0); LineBreak(0);
LineBreak(0); LineBreak(0);
......
...@@ -87,9 +87,9 @@ void SwAccessibleTextFrame::Modify( const SfxPoolItem* pOld, const SfxPoolItem * ...@@ -87,9 +87,9 @@ void SwAccessibleTextFrame::Modify( const SfxPoolItem* pOld, const SfxPoolItem *
// #i73249# // #i73249#
case RES_TITLE_CHANGED: case RES_TITLE_CHANGED:
{ {
const String& sOldTitle( const OUString& sOldTitle(
dynamic_cast<const SwStringMsgPoolItem*>(pOld)->GetString() ); dynamic_cast<const SwStringMsgPoolItem*>(pOld)->GetString() );
const String& sNewTitle( const OUString& sNewTitle(
dynamic_cast<const SwStringMsgPoolItem*>(pNew)->GetString() ); dynamic_cast<const SwStringMsgPoolItem*>(pNew)->GetString() );
if ( sOldTitle == sNewTitle ) if ( sOldTitle == sNewTitle )
{ {
...@@ -118,7 +118,7 @@ void SwAccessibleTextFrame::Modify( const SfxPoolItem* pOld, const SfxPoolItem * ...@@ -118,7 +118,7 @@ void SwAccessibleTextFrame::Modify( const SfxPoolItem* pOld, const SfxPoolItem *
const SwFlyFrmFmt* pFlyFrmFmt = const SwFlyFrmFmt* pFlyFrmFmt =
dynamic_cast<const SwFlyFrmFmt*>( pFlyFrm->GetFmt() ); dynamic_cast<const SwFlyFrmFmt*>( pFlyFrm->GetFmt() );
const String& rDesc = pFlyFrmFmt->GetObjDescription(); const OUString& rDesc = pFlyFrmFmt->GetObjDescription();
msDesc = rDesc; msDesc = rDesc;
if ( msDesc.isEmpty() && if ( msDesc.isEmpty() &&
msTitle != GetName() ) msTitle != GetName() )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment