[Libreoffice-commits] core.git: starmath/inc starmath/source

Takeshi Abe tabe at fixedpoint.jp
Thu Nov 3 04:09:07 UTC 2016


 starmath/inc/document.hxx    |    1 -
 starmath/source/document.cxx |    9 ---------
 2 files changed, 10 deletions(-)

New commits:
commit 063593972e556f8f0e65881ccd77d5ea64175e8b
Author: Takeshi Abe <tabe at fixedpoint.jp>
Date:   Wed Nov 2 18:46:51 2016 +0900

    starmath: Remove unnecessary overriding
    
    Change-Id: If64c3a1dbb27e85e2562cca78b608250b7e90c6d
    Reviewed-on: https://gerrit.libreoffice.org/30480
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Takeshi Abe <tabe at fixedpoint.jp>

diff --git a/starmath/inc/document.hxx b/starmath/inc/document.hxx
index 622c506..cb189af 100644
--- a/starmath/inc/document.hxx
+++ b/starmath/inc/document.hxx
@@ -124,7 +124,6 @@ class SM_DLLPUBLIC SmDocShell : public SfxObjectShell, public SfxListener
     virtual bool        Load( SfxMedium& rMedium ) override;
     virtual bool        Save() override;
     virtual bool        SaveAs( SfxMedium& rMedium ) override;
-    virtual bool        SaveCompleted( const css::uno::Reference< css::embed::XStorage >& xStorage ) override;
 
     Printer             *GetPrt();
     OutputDevice*       GetRefDev();
diff --git a/starmath/source/document.cxx b/starmath/source/document.cxx
index 64847fd..142bc78 100644
--- a/starmath/source/document.cxx
+++ b/starmath/source/document.cxx
@@ -912,15 +912,6 @@ void SmDocShell::readFormulaOoxml( oox::formulaimport::XmlStream& stream )
     SetText( aEquation.ConvertToStarMath());
 }
 
-bool SmDocShell::SaveCompleted( const css::uno::Reference< css::embed::XStorage >& xStorage )
-{
-    if( SfxObjectShell::SaveCompleted( xStorage ))
-        return true;
-
-    return false;
-}
-
-
 void SmDocShell::Execute(SfxRequest& rReq)
 {
     switch (rReq.GetSlot())


More information about the Libreoffice-commits mailing list