diff options
author | Andras Timar <andras.timar@collabora.com> | 2018-09-30 16:55:41 +0200 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2018-09-30 21:58:09 +0200 |
commit | 2a47dd078bf448f34f05a56a647410a66da00eea (patch) | |
tree | 3eb116064ee2e894b3291fcd7fdfc0169d2a5e5b /l10ntools/source | |
parent | 1bf49e98f8019bf62906651804725e4da5b9d514 (diff) |
pocheck: we need to access msgctxt of a PO entry
Change-Id: I43978811056692623344239d2c6e4763fa7de16b
Reviewed-on: https://gerrit.libreoffice.org/61165
Tested-by: Jenkins
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Diffstat (limited to 'l10ntools/source')
-rw-r--r-- | l10ntools/source/po.cxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/l10ntools/source/po.cxx b/l10ntools/source/po.cxx index e87fe66f25f1..a0cdf2172df2 100644 --- a/l10ntools/source/po.cxx +++ b/l10ntools/source/po.cxx @@ -354,6 +354,14 @@ bool PoEntry::isFuzzy() const return m_pGenPo->isFuzzy(); } +// Get message context +const OString& PoEntry::getMsgCtxt() const +{ + assert( m_bIsInitialized ); + return m_pGenPo->getMsgCtxt(); + +} + // Get translation string in merge format OString const & PoEntry::getMsgId() const { |