diff options
author | Brij Mohan Lal Srivastava <contactbrijmohan@gmail.com> | 2014-11-12 14:24:10 +0530 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-11-14 09:20:38 +0100 |
commit | d32be3ace8c8fd430bbecdf69f88a116b0ee91d1 (patch) | |
tree | b373c084cb124434e0498867b24bc7bb333155dd /editeng/source/misc/hangulhanja.cxx | |
parent | Silence winsock deprecation warning (diff) | |
download | core-d32be3ace8c8fd430bbecdf69f88a116b0ee91d1.tar.gz core-d32be3ace8c8fd430bbecdf69f88a116b0ee91d1.zip |
fdo#86023 - O[U]String needs a 'clear' method
Added clear() method to OString and OUString class, Updated appropriate call-sites.
Change-Id: I0ba97fa6dc7af3e31b605953089a4e8e9c3e61ac
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'editeng/source/misc/hangulhanja.cxx')
-rw-r--r-- | editeng/source/misc/hangulhanja.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editeng/source/misc/hangulhanja.cxx b/editeng/source/misc/hangulhanja.cxx index a4c12e1262e1..0d2e6d7ab4cd 100644 --- a/editeng/source/misc/hangulhanja.cxx +++ b/editeng/source/misc/hangulhanja.cxx @@ -471,7 +471,7 @@ namespace editeng { const bool bAllowImplicitChanges = m_eConvType == HHC::eConvSimplifiedTraditional; - m_sCurrentPortion = OUString(); + m_sCurrentPortion.clear(); m_nCurrentPortionLang = LANGUAGE_NONE; m_pAntiImpl->GetNextPortion( m_sCurrentPortion, m_nCurrentPortionLang, bAllowImplicitChanges ); m_nReplacementBaseIndex = 0; |