diff options
author | Frédéric Wang <fred.wang@free.fr> | 2013-07-01 21:14:53 +0200 |
---|---|---|
committer | Fridrich Strba <fridrich@documentfoundation.org> | 2013-07-02 07:40:30 +0000 |
commit | be4837c9da190b4450a7f8a46ee5b9808e5dd941 (patch) | |
tree | 2ab6906c01d10197e43ff5600039be1867f27fe9 /starmath/source/ooxmlimport.cxx | |
parent | fbc9c18875d1e86c9b3d7d5c13e1db13af23e3f0 (diff) |
fdo#66416 - Use appropriate unicode characters for math "Brackets"
Change-Id: I43d74c92f0de65f9456f5cd8ae150466b6a43717
Reviewed-on: https://gerrit.libreoffice.org/4661
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
Diffstat (limited to 'starmath/source/ooxmlimport.cxx')
-rw-r--r-- | starmath/source/ooxmlimport.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/starmath/source/ooxmlimport.cxx b/starmath/source/ooxmlimport.cxx index c47b14e09c74..10c3d3b15e99 100644 --- a/starmath/source/ooxmlimport.cxx +++ b/starmath/source/ooxmlimport.cxx @@ -319,13 +319,13 @@ OUString SmOoxmlImport::handleD() opening = "left lline "; if( closing == "|" ) closing = " right rline"; - if( opening == OUString( sal_Unicode( 0x2225 ))) + if (opening == OUString(MS_DLINE) || opening == OUString(MS_DVERTLINE)) opening = "left ldline "; - if( closing == OUString( sal_Unicode( 0x2225 ))) + if (closing == OUString(MS_DLINE) || closing == OUString(MS_DVERTLINE)) closing = " right rdline"; - if( opening == OUString( sal_Unicode( 0x2329 ))) + if (opening == OUString(MS_LANGLE) || opening == OUString(MS_LMATHANGLE)) opening = "left langle "; - if( closing == OUString( sal_Unicode( 0x232a ))) + if (closing == OUString(MS_RANGLE) || closing == OUString(MS_RMATHANGLE)) closing = " right rangle"; // use scalable brackets (the explicit "left" or "right") if( opening == "(" || opening == "[" ) |