summaryrefslogtreecommitdiff
path: root/lotuswordpro/source/filter/lwpchangemgr.cxx
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2014-03-08 00:05:32 -0600
committerNorbert Thiebaud <nthiebaud@gmail.com>2014-03-08 01:21:25 -0600
commitd634ce9edb6f1df409547715a391ad2eeca99f0c (patch)
tree62a7327a3346bf4a9b70d465315b7a466b03449e /lotuswordpro/source/filter/lwpchangemgr.cxx
parent0b83c8ffdcba92be56030b1e205a030d46168cfe (diff)
use 'native' OUString api in lotuswordpro instead of macro and wrappers
Change-Id: Iccb78b59c3de9f29975d10fa4e34232cd3bf2cc3
Diffstat (limited to 'lotuswordpro/source/filter/lwpchangemgr.cxx')
-rw-r--r--lotuswordpro/source/filter/lwpchangemgr.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/lotuswordpro/source/filter/lwpchangemgr.cxx b/lotuswordpro/source/filter/lwpchangemgr.cxx
index d9916f040559..a1685b146969 100644
--- a/lotuswordpro/source/filter/lwpchangemgr.cxx
+++ b/lotuswordpro/source/filter/lwpchangemgr.cxx
@@ -103,7 +103,7 @@ LwpChangeMgr::~LwpChangeMgr()
void LwpChangeMgr::AddChangeFrib(LwpFrib* pFrib)
{
m_nCounter++;
- OUString sID = A2OUSTR("ct")+ Int32ToOUString(m_nCounter);
+ OUString sID = "ct"+ OUString::number(m_nCounter);
m_pFribMap->insert(std::pair<LwpFrib*,OUString>(pFrib,sID));
}
@@ -112,7 +112,7 @@ OUString LwpChangeMgr::GetChangeID(LwpFrib* pFrib)
std::map<LwpFrib*,OUString>::iterator iter;
iter = m_pFribMap->find(pFrib);
if (iter == m_pFribMap->end())
- return A2OUSTR("");
+ return "";
else
return iter->second;
}
@@ -143,12 +143,12 @@ void LwpChangeMgr::ConvertAllChange(IXFStream* pStream)
if (m_ChangeList.empty())
return;
// Add for disable change tracking
- pStream->GetAttrList()->AddAttribute( A2OUSTR("text:track-changes"),A2OUSTR("false"));
- pStream->StartElement( A2OUSTR("text:tracked-changes") );
+ pStream->GetAttrList()->AddAttribute( "text:track-changes","false");
+ pStream->StartElement( "text:tracked-changes" );
for (iter1=m_ChangeList.begin();iter1 !=m_ChangeList.end();++iter1)
(*iter1)->ToXml(pStream);
- pStream->EndElement(A2OUSTR("text:tracked-changes"));
+ pStream->EndElement("text:tracked-changes");
for (iter1=m_ChangeList.begin();iter1 !=m_ChangeList.end();++iter1)
{