Kaydet (Commit) e4ad1d17 authored tarafından Caolán McNamara's avatar Caolán McNamara

drop toString

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