summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2011-08-17 14:43:18 +0200
committerLuboš Luňák <l.lunak@suse.cz>2011-08-18 15:33:48 +0200
commit283fba09952bcbca74f879ad94371c09ff92907a (patch)
treef6df64d221bf32f57d55d0e54fa789da839caaeb /starmath
parenta169d1cec171977fa446622ac1c3beb28d32fd05 (diff)
explicitly do nothing about formula placeholders for ooxml export
Diffstat (limited to 'starmath')
-rw-r--r--starmath/source/ooxml.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/starmath/source/ooxml.cxx b/starmath/source/ooxml.cxx
index 84f6574ca267..df1b717f72fd 100644
--- a/starmath/source/ooxml.cxx
+++ b/starmath/source/ooxml.cxx
@@ -166,6 +166,9 @@ void SmOoxml::HandleNode(SmNode *pNode,int nLevel)
case NALIGN:
HandleMAlign(pNode,nLevel);
break;
+ case NPLACE:
+ // explicitly do nothing, MSOffice treats that as a placeholder if item is missing
+ break;
case NBLANK:
*pS << sal_uInt8(CHAR);
*pS << sal_uInt8(0x98);