summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2014-07-09 14:41:29 +0200
committerDavid Tardon <dtardon@redhat.com>2014-07-09 14:44:45 +0200
commit8817e5e3a0d92a4febae955ced7a35c52cb08910 (patch)
tree902f1c3aa7327e66f64345752d3cee71bce0298f
parentf312ef98de57a5926be67421395544bb9d41b809 (diff)
fdo#81004 this looks like a mis-merge to me
Change-Id: I2d30774a8a89002b6c2d8487bfce15eb13c82e0d
-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
{