diff options
author | Arnaud Versini <arnaud.versini@gmail.com> | 2017-06-05 12:34:39 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-06-05 13:41:38 +0200 |
commit | f2d40b8ba172d90be9a43c30cd5cbd62c0e8e548 (patch) | |
tree | 6fe8f206109cb97945fff7d9a01122b3e04949d4 /l10ntools/source | |
parent | 118bcbc83e38604189bec667a394a4acaec98f56 (diff) |
Remove all allocation of VCLExternalSolarLock.
This patch is graciously offered by Arnaud Versini.
Change-Id: I3ed5e1758d09542a2ca0533e3f4a6ceb2dbb6346
Reviewed-on: https://gerrit.libreoffice.org/38404
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'l10ntools/source')
-rw-r--r-- | l10ntools/source/po.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/l10ntools/source/po.cxx b/l10ntools/source/po.cxx index 856a76b61835..d17a0708f242 100644 --- a/l10ntools/source/po.cxx +++ b/l10ntools/source/po.cxx @@ -229,7 +229,7 @@ PoEntry::PoEntry( OString sMsgCtxt = rGroupId + "\n" + - (rLocalId.isEmpty() ? OString( "" ) : rLocalId + "\n") + + (rLocalId.isEmpty() ? OString() : rLocalId + "\n") + rResType; switch(eType){ case TTEXT: @@ -243,7 +243,7 @@ PoEntry::PoEntry( m_pGenPo->setMsgCtxt(sMsgCtxt); m_pGenPo->setMsgId(rText); m_pGenPo->setExtractCom( - ( !rHelpText.isEmpty() ? rHelpText + "\n" : OString( "" )) + + ( !rHelpText.isEmpty() ? rHelpText + "\n" : OString()) + genKeyId( m_pGenPo->getReference() + rGroupId + rLocalId + rResType + rText ) ); m_bIsInitialized = true; } |