drop toString
Change-Id: If32d2bb0947d13c904da9514873f33c4c2641069
This commit is contained in:
@@ -304,7 +304,7 @@ OUString GraphicNamingHelper::NameGraphic(const OUString& rTemplate)
|
||||
{
|
||||
// Empty template: then auto-generate a unique name.
|
||||
std::unique_ptr<ResMgr> pResMgr(ResMgr::CreateResMgr("svx", Application::GetSettings().GetUILanguageTag()));
|
||||
OUString aPrefix(ResId(STR_ObjNameSingulGRAF, *pResMgr).toString());
|
||||
OUString aPrefix(ResId(STR_ObjNameSingulGRAF, *pResMgr));
|
||||
aRet += aPrefix + OUString::number(++m_nCounter);
|
||||
}
|
||||
|
||||
|
@@ -462,7 +462,7 @@ void OOXMLDocumentImpl::resolve(Stream & rStream)
|
||||
// Set the end position only here, so later it's enough to check if that is non-zero in incrementProgress().
|
||||
mnProgressEndPos = nValue;
|
||||
static ResMgr* pResMgr = ResMgr::CreateResMgr("svx", Application::GetSettings().GetUILanguageTag());
|
||||
OUString aDocLoad(ResId(RID_SVXSTR_DOC_LOAD, *pResMgr).toString());
|
||||
OUString aDocLoad(ResId(RID_SVXSTR_DOC_LOAD, *pResMgr));
|
||||
mxStatusIndicator->start(aDocLoad, mnProgressEndPos);
|
||||
mnPercentSize = mnProgressEndPos / 100;
|
||||
}
|
||||
|
@@ -66,7 +66,7 @@ RTFError RTFTokenizer::resolveParse()
|
||||
if (m_xStatusIndicator.is())
|
||||
{
|
||||
static ResMgr* pResMgr = ResMgr::CreateResMgr("svx", Application::GetSettings().GetUILanguageTag());
|
||||
OUString sDocLoad(ResId(RID_SVXSTR_DOC_LOAD, *pResMgr).toString());
|
||||
OUString sDocLoad(ResId(RID_SVXSTR_DOC_LOAD, *pResMgr));
|
||||
|
||||
sal_uInt64 const nCurrentPos = Strm().Tell();
|
||||
sal_uInt64 const nEndPos = nCurrentPos + Strm().remainingSize();
|
||||
|
Reference in New Issue
Block a user