summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2014-07-09 14:41:29 +0200
committerAndras Timar <andras.timar@collabora.com>2014-07-13 09:18:44 +0000
commit90939f2b5dfc8a7aafc255322f0fcb66f670241e (patch)
tree2b5c0fb65738f41403a72611661e09e4d3d1db2f /svx
parent8e08ec34ac5ad552709782b10fd309b78ed080f8 (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>
Diffstat (limited to 'svx')
-rw-r--r--svx/source/dialog/fntctrl.cxx8
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
{