From d24134b6a2e6a557bfa17f521e18a01b17e24d98 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 14 Jan 2014 21:09:22 +0100 Subject: [PATCH] This shall likely comp. m_eCurrentConversionDirection to HHC::eHangulToHanja Change-Id: Ib4eba9f6386214d010c880ad15bcacce7665a3af --- editeng/source/misc/hangulhanja.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editeng/source/misc/hangulhanja.cxx b/editeng/source/misc/hangulhanja.cxx index 248dbfd9799e..aa952b82ea2a 100644 --- a/editeng/source/misc/hangulhanja.cxx +++ b/editeng/source/misc/hangulhanja.cxx @@ -313,7 +313,7 @@ namespace editeng { sal_Int16 nConversionType = -1; if (m_eConvType == HHC::eConvHangulHanja) - nConversionType = HHC::eHangulToHanja == ( m_eCurrentConversionDirection && !bSwitchDirection ) ? TO_HANJA : TO_HANGUL; + nConversionType = ( HHC::eHangulToHanja == m_eCurrentConversionDirection && !bSwitchDirection ) ? TO_HANJA : TO_HANGUL; else if (m_eConvType == HHC::eConvSimplifiedTraditional) nConversionType = LANGUAGE_CHINESE_SIMPLIFIED == m_nTargetLang ? TO_SCHINESE : TO_TCHINESE; DBG_ASSERT( nConversionType != -1, "unexpected conversion type" );