summaryrefslogtreecommitdiff
path: root/sw/source/uibase/index
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2018-12-18 04:55:34 +0300
committerMike Kaganski <mike.kaganski@collabora.com>2018-12-18 07:27:47 +0100
commitd8037ae18a297229d1b79f8f76331abfd548350d (patch)
tree7eaa9f4cb012be19d2eca340236eebbc8e784f92 /sw/source/uibase/index
parentc2a91dc53431b5658f54ca4fd32ca79165e865af (diff)
Get rid of aEmptyOUStr
Commit 8051bb7e18ccae0f639e65dfa86bcc18a5fb9108 had removed its "String" counterpart. Change-Id: Id873a259e7f4b2794e94dec83d08ed6b57298beb Reviewed-on: https://gerrit.libreoffice.org/65299 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'sw/source/uibase/index')
-rw-r--r--sw/source/uibase/index/toxmgr.cxx20
1 files changed, 10 insertions, 10 deletions
diff --git a/sw/source/uibase/index/toxmgr.cxx b/sw/source/uibase/index/toxmgr.cxx
index d1b78368a7c3..d77a9f8d5bd3 100644
--- a/sw/source/uibase/index/toxmgr.cxx
+++ b/sw/source/uibase/index/toxmgr.cxx
@@ -159,7 +159,7 @@ void SwTOXMgr::UpdateTOXMark(const SwTOXMarkDescription& rDesc)
if(rDesc.GetPhoneticReadingOfPrimKey())
pCurTOXMark->SetPrimaryKeyReading( *rDesc.GetPhoneticReadingOfPrimKey() );
else
- pCurTOXMark->SetPrimaryKeyReading( aEmptyOUStr );
+ pCurTOXMark->SetPrimaryKeyReading(OUString());
if( rDesc.GetSecKey() && !rDesc.GetSecKey()->isEmpty() )
{
@@ -167,25 +167,25 @@ void SwTOXMgr::UpdateTOXMark(const SwTOXMarkDescription& rDesc)
if(rDesc.GetPhoneticReadingOfSecKey())
pCurTOXMark->SetSecondaryKeyReading( *rDesc.GetPhoneticReadingOfSecKey() );
else
- pCurTOXMark->SetSecondaryKeyReading( aEmptyOUStr );
+ pCurTOXMark->SetSecondaryKeyReading(OUString());
}
else
{
- pCurTOXMark->SetSecondaryKey( aEmptyOUStr );
- pCurTOXMark->SetSecondaryKeyReading( aEmptyOUStr );
+ pCurTOXMark->SetSecondaryKey(OUString());
+ pCurTOXMark->SetSecondaryKeyReading(OUString());
}
}
else
{
- pCurTOXMark->SetPrimaryKey( aEmptyOUStr );
- pCurTOXMark->SetPrimaryKeyReading( aEmptyOUStr );
- pCurTOXMark->SetSecondaryKey( aEmptyOUStr );
- pCurTOXMark->SetSecondaryKeyReading( aEmptyOUStr );
+ pCurTOXMark->SetPrimaryKey(OUString());
+ pCurTOXMark->SetPrimaryKeyReading(OUString());
+ pCurTOXMark->SetSecondaryKey(OUString());
+ pCurTOXMark->SetSecondaryKeyReading(OUString());
}
if(rDesc.GetPhoneticReadingOfAltStr())
pCurTOXMark->SetTextReading( *rDesc.GetPhoneticReadingOfAltStr() );
else
- pCurTOXMark->SetTextReading( aEmptyOUStr );
+ pCurTOXMark->SetTextReading(OUString());
pCurTOXMark->SetMainEntry(rDesc.IsMainEntry());
}
else
@@ -348,7 +348,7 @@ bool SwTOXMgr::UpdateOrInsertTOX(const SwTOXDescription& rDesc,
if(TOX_AUTHORITIES == eCurTOXType)
{
SwAuthorityFieldType* pFType = static_cast<SwAuthorityFieldType*>(
- pSh->GetFieldType(SwFieldIds::TableOfAuthorities, aEmptyOUStr));
+ pSh->GetFieldType(SwFieldIds::TableOfAuthorities, OUString()));
if (!pFType)
{
SwAuthorityFieldType const type(pSh->GetDoc());