summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@suse.cz>2012-07-27 11:01:50 +0200
committerMiklos Vajna <vmiklos@suse.cz>2012-07-27 11:54:57 +0200
commitebacc340796a6a99d363bd3f04c72106db7d6f7a (patch)
tree6cf90cfb075ffb45e1cb3741fc94b78b9627d7fd /starmath
parent6486899be3a63d07830c3eb2f4b8a3a6e5c81c9c (diff)
SmOoxmlExport: remove unused ctor param
Change-Id: I2c4f9239207bd8da7f29d2a386e9a432e32e5755
Diffstat (limited to 'starmath')
-rw-r--r--starmath/source/document.cxx2
-rw-r--r--starmath/source/ooxmlexport.cxx5
-rw-r--r--starmath/source/ooxmlexport.hxx3
3 files changed, 4 insertions, 6 deletions
diff --git a/starmath/source/document.cxx b/starmath/source/document.cxx
index 65f246832e6e..5a41f9763dca 100644
--- a/starmath/source/document.cxx
+++ b/starmath/source/document.cxx
@@ -983,7 +983,7 @@ bool SmDocShell::writeFormulaOoxml( ::sax_fastparser::FSHelperPtr m_pSerializer,
Parse();
if( pTree && !IsFormulaArranged() )
ArrangeFormula();
- SmOoxmlExport aEquation( aText, pTree, version );
+ SmOoxmlExport aEquation( pTree, version );
return aEquation.ConvertFromStarMath( m_pSerializer );
}
diff --git a/starmath/source/ooxmlexport.cxx b/starmath/source/ooxmlexport.cxx
index d1970dc4ff8e..1eaf6c817c44 100644
--- a/starmath/source/ooxmlexport.cxx
+++ b/starmath/source/ooxmlexport.cxx
@@ -35,9 +35,8 @@
using namespace oox;
using namespace oox::core;
-SmOoxmlExport::SmOoxmlExport( const String &rIn, const SmNode* pIn, OoxmlVersion v )
-: str( rIn )
-, pTree( pIn )
+SmOoxmlExport::SmOoxmlExport( const SmNode* pIn, OoxmlVersion v )
+: pTree( pIn )
, version( v )
{
}
diff --git a/starmath/source/ooxmlexport.hxx b/starmath/source/ooxmlexport.hxx
index 34b13ed07912..6de792efaee1 100644
--- a/starmath/source/ooxmlexport.hxx
+++ b/starmath/source/ooxmlexport.hxx
@@ -40,7 +40,7 @@
class SmOoxmlExport
{
public:
- SmOoxmlExport( const String &rIn,const SmNode* pIn, oox::core::OoxmlVersion version );
+ SmOoxmlExport( const SmNode* pIn, oox::core::OoxmlVersion version );
bool ConvertFromStarMath( ::sax_fastparser::FSHelperPtr m_pSerializer );
private:
void HandleNode( const SmNode* pNode, int nLevel );
@@ -60,7 +60,6 @@ private:
void HandleMatrix( const SmMatrixNode* pNode, int nLevel );
void HandleBrace( const SmBraceNode* pNode, int nLevel );
void HandleVerticalBrace( const SmVerticalBraceNode* pNode, int nLevel );
- String str;
const SmNode* const pTree;
::sax_fastparser::FSHelperPtr m_pSerializer;
oox::core::OoxmlVersion version;