summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@suse.cz>2012-08-10 13:06:30 +0200
committerMiklos Vajna <vmiklos@suse.cz>2012-08-10 13:08:30 +0200
commit9495316659018427ac8d6bc0b6427600ba0ce01e (patch)
tree5c5f248b8538478aed5006651d3adea18b3333fb /starmath
parentde0b4bab96a4f078c38b6665a2f75096ff26c2ae (diff)
SmDocShell::readFormulaOoxml: yes, just void
Change-Id: I2d5bc00c01318a23c604d93ffe6ce9dd0b72b3c2
Diffstat (limited to 'starmath')
-rw-r--r--starmath/inc/document.hxx2
-rw-r--r--starmath/source/document.cxx3
2 files changed, 2 insertions, 3 deletions
diff --git a/starmath/inc/document.hxx b/starmath/inc/document.hxx
index 62e26f5e841a..4d98b82c751d 100644
--- a/starmath/inc/document.hxx
+++ b/starmath/inc/document.hxx
@@ -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();
diff --git a/starmath/source/document.cxx b/starmath/source/document.cxx
index adc8271f5b90..da9dd3e6ee1a 100644
--- a/starmath/source/document.cxx
+++ b/starmath/source/document.cxx
@@ -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 )