summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
Diffstat (limited to 'starmath')
-rw-r--r--starmath/inc/document.hxx2
-rw-r--r--starmath/source/document.cxx4
-rw-r--r--starmath/source/mathmlattr.hxx5
3 files changed, 3 insertions, 8 deletions
diff --git a/starmath/inc/document.hxx b/starmath/inc/document.hxx
index 04cb436b9d0e..2d6e63da5f2f 100644
--- a/starmath/inc/document.hxx
+++ b/starmath/inc/document.hxx
@@ -212,7 +212,7 @@ public:
*/
bool HasCursor();
- bool writeFormulaOoxml(const ::sax_fastparser::FSHelperPtr& pSerializer,
+ void writeFormulaOoxml(const ::sax_fastparser::FSHelperPtr& pSerializer,
oox::core::OoxmlVersion version,
oox::drawingml::DocumentType documentType);
void writeFormulaRtf(OStringBuffer& rBuffer, rtl_TextEncoding nEncoding);
diff --git a/starmath/source/document.cxx b/starmath/source/document.cxx
index 399ff0dece69..2d5a29e2f6ba 100644
--- a/starmath/source/document.cxx
+++ b/starmath/source/document.cxx
@@ -858,7 +858,7 @@ bool SmDocShell::ConvertTo( SfxMedium &rMedium )
return bRet;
}
-bool SmDocShell::writeFormulaOoxml(
+void SmDocShell::writeFormulaOoxml(
::sax_fastparser::FSHelperPtr const& pSerializer,
oox::core::OoxmlVersion const version,
oox::drawingml::DocumentType const documentType)
@@ -868,7 +868,7 @@ bool SmDocShell::writeFormulaOoxml(
if( mpTree )
ArrangeFormula();
SmOoxmlExport aEquation(mpTree, version, documentType);
- return aEquation.ConvertFromStarMath( pSerializer );
+ aEquation.ConvertFromStarMath( pSerializer );
}
void SmDocShell::writeFormulaRtf(OStringBuffer& rBuffer, rtl_TextEncoding nEncoding)
diff --git a/starmath/source/mathmlattr.hxx b/starmath/source/mathmlattr.hxx
index a794e2f482a6..232e080e65dc 100644
--- a/starmath/source/mathmlattr.hxx
+++ b/starmath/source/mathmlattr.hxx
@@ -18,11 +18,6 @@
// <https://www.w3.org/TR/MathML/chapter2.html#id.2.1.5.1>
// MathML 2: 2.4.4.2 Attributes with units
// <https://www.w3.org/TR/MathML2/chapter2.html#fund.attval>
-
-sal_Int32 ParseMathMLUnsignedNumber(const OUString &rStr, Fraction *pUN);
-
-sal_Int32 ParseMathMLNumber(const OUString &rStr, Fraction *pN);
-
// MathML 3: 2.1.5.2 Length Valued Attributes
// <https://www.w3.org/TR/MathML/chapter2.html#fund.units>