diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-11-24 13:22:18 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-11-25 09:05:10 +0200 |
commit | c2775560ab2fa6166b2ce6fa2811ab10a0ffebe8 (patch) | |
tree | e46b2fd5354b57a5781270ea53ecb683ba61a8e2 /l10ntools/source/merge.cxx | |
parent | convert MODKEY constants to o3tl::typed_flags (diff) | |
download | core-c2775560ab2fa6166b2ce6fa2811ab10a0ffebe8.tar.gz core-c2775560ab2fa6166b2ce6fa2811ab10a0ffebe8.zip |
convert STRING_TYP to scoped enum
Change-Id: If0bcc6e13864fd534eb65eda06b1bc2b5498cee9
Diffstat (limited to 'l10ntools/source/merge.cxx')
-rw-r--r-- | l10ntools/source/merge.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/l10ntools/source/merge.cxx b/l10ntools/source/merge.cxx index f927420fb30d..a4a887c33d41 100644 --- a/l10ntools/source/merge.cxx +++ b/l10ntools/source/merge.cxx @@ -92,25 +92,25 @@ ResData::ResData( const OString &rGId, const OString &rFilename) bool MergeEntrys::GetText( OString &rReturn, - sal_uInt16 nTyp, const OString &nLangIndex, bool bDel ) + StringType nTyp, const OString &nLangIndex, bool bDel ) { bool bReturn = true; switch ( nTyp ) { - case STRING_TYP_TEXT : + case StringType::Text : rReturn = sText[ nLangIndex ]; if ( bDel ) sText[ nLangIndex ] = ""; bReturn = bTextFirst[ nLangIndex ]; bTextFirst[ nLangIndex ] = false; break; - case STRING_TYP_QUICKHELPTEXT : + case StringType::QuickHelpText : rReturn = sQuickHelpText[ nLangIndex ]; if ( bDel ) sQuickHelpText[ nLangIndex ] = ""; bReturn = bQuickHelpTextFirst[ nLangIndex ]; bQuickHelpTextFirst[ nLangIndex ] = false; break; - case STRING_TYP_TITLE : + case StringType::Title : rReturn = sTitle[ nLangIndex ]; if ( bDel ) sTitle[ nLangIndex ] = ""; |