diff options
author | David Tardon <dtardon@redhat.com> | 2014-07-09 14:41:29 +0200 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-07-15 11:05:22 +0000 |
commit | f52577053763b287d21da0067970c5727ff087cc (patch) | |
tree | 31be422217e4841cc4cf9861cddc0478e7a841a9 | |
parent | 37b97c83aa23d5a7c1687126d93cf1a69ce4a2d0 (diff) |
fdo#81004 this looks like a mis-merge to me
Change-Id: I2d30774a8a89002b6c2d8487bfce15eb13c82e0d
(cherry picked from commit 8817e5e3a0d92a4febae955ced7a35c52cb08910)
Reviewed-on: https://gerrit.libreoffice.org/10170
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
(cherry picked from commit 90939f2b5dfc8a7aafc255322f0fcb66f670241e)
Reviewed-on: https://gerrit.libreoffice.org/10271
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r-- | svx/source/dialog/fntctrl.cxx | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/svx/source/dialog/fntctrl.cxx b/svx/source/dialog/fntctrl.cxx index 6e9ca6e176fe..e9a92eb4a5ec 100644 --- a/svx/source/dialog/fntctrl.cxx +++ b/svx/source/dialog/fntctrl.cxx @@ -248,14 +248,6 @@ void FontPrevWin_Impl::CheckScript() } sal_uInt16 nScript = xBreak->getScriptType( aText, 0 ); sal_Int32 nChg = 0; - if( com::sun::star::i18n::ScriptType::WEAK == nScript ) - { - nChg = xBreak->endOfScript( aText, nChg, nScript ); - if (nChg < aText.getLength() && nChg >= 0) - nScript = xBreak->getScriptType( aText, nChg ); - else - nScript = com::sun::star::i18n::ScriptType::LATIN; - } do { |