Kaydet (Commit) 94953166 authored tarafından Miklos Vajna's avatar Miklos Vajna

SmDocShell::readFormulaOoxml: yes, just void

Change-Id: I2d5bc00c01318a23c604d93ffe6ce9dd0b72b3c2
üst de0b4bab
......@@ -157,7 +157,7 @@ class SmDocShell : public SfxObjectShell, public SfxListener
bool writeFormulaOoxml( ::sax_fastparser::FSHelperPtr pSerializer, oox::core::OoxmlVersion version );
void writeFormulaRtf(OStringBuffer& rBuffer, rtl_TextEncoding nEncoding);
bool readFormulaOoxml( oox::formulaimport::XmlStream& stream );
void readFormulaOoxml( oox::formulaimport::XmlStream& stream );
public:
TYPEINFO();
......
......@@ -993,13 +993,12 @@ void SmDocShell::writeFormulaRtf(OStringBuffer& rBuffer, rtl_TextEncoding nEncod
aEquation.ConvertFromStarMath(rBuffer, nEncoding);
}
bool SmDocShell::readFormulaOoxml( oox::formulaimport::XmlStream& stream )
void SmDocShell::readFormulaOoxml( oox::formulaimport::XmlStream& stream )
{
RTL_LOGFILE_CONTEXT( aLog, "starmath: SmDocShell::readFormulaOoxml" );
SmOoxmlImport aEquation( stream );
SetText( aEquation.ConvertToStarMath());
return true; // TODO just void?
}
sal_Bool SmDocShell::SaveCompleted( const ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage >& xStorage )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment