summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2011-12-20 10:46:43 +0100
committerLuboš Luňák <l.lunak@suse.cz>2011-12-20 10:49:41 +0100
commit577bb0dc298cc376d94ecdd35672081628bb8a93 (patch)
tree65b7d7973fb2bdbe7b0c139c9809164014948780 /starmath
parentd607e5cda6d2d18464ecdf6740a90870039a78f7 (diff)
if a bracket pair has no left/right bracket, it needs to explicit (fdo#32636)
Diffstat (limited to 'starmath')
-rw-r--r--starmath/source/ooxmlimport.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/starmath/source/ooxmlimport.cxx b/starmath/source/ooxmlimport.cxx
index 60fb2304d46c..1cdee7fa65c0 100644
--- a/starmath/source/ooxmlimport.cxx
+++ b/starmath/source/ooxmlimport.cxx
@@ -346,6 +346,10 @@ OUString SmOoxmlImport::handleD()
closing = STR( " right " ) + closing;
if( separator == STR( "|" )) // plain "|" would be actually "V" (logical or)
separator = STR( " mline " );
+ if( opening.isEmpty())
+ opening = STR( "left none " );
+ if( closing.isEmpty())
+ closing = STR( " right none" );
OUStringBuffer ret;
ret.append( opening );
bool first = true;