diff options
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/inc/view.hxx | 4 | ||||
-rw-r--r-- | starmath/source/view.cxx | 9 |
2 files changed, 4 insertions, 9 deletions
diff --git a/starmath/inc/view.hxx b/starmath/inc/view.hxx index ca81b0ef931c..e3071373651c 100644 --- a/starmath/inc/view.hxx +++ b/starmath/inc/view.hxx @@ -260,8 +260,8 @@ protected: virtual sal_uInt16 SetPrinter(SfxPrinter *pNewPrinter, sal_uInt16 nDiffFlags = SFX_PRINTER_ALL, bool bIsAPI=false); - bool Insert( SfxMedium& rMedium ); - bool InsertFrom(SfxMedium &rMedium); + void Insert( SfxMedium& rMedium ); + void InsertFrom(SfxMedium &rMedium); virtual bool HasPrintOptionsPage() const; virtual SfxTabPage *CreatePrintOptionsPage(Window *pParent, diff --git a/starmath/source/view.cxx b/starmath/source/view.cxx index a59ccdea275d..9a291a98ff9e 100644 --- a/starmath/source/view.cxx +++ b/starmath/source/view.cxx @@ -1451,7 +1451,7 @@ void SmViewShell::PrevError() } -bool SmViewShell::Insert( SfxMedium& rMedium ) +void SmViewShell::Insert( SfxMedium& rMedium ) { SAL_INFO( "starmath", "starmath: SmViewShell::Insert" ); @@ -1489,11 +1489,9 @@ bool SmViewShell::Insert( SfxMedium& rMedium ) rBnd.Invalidate(SID_GAPHIC_SM); rBnd.Invalidate(SID_TEXT); } - return bRet; } - -bool SmViewShell::InsertFrom(SfxMedium &rMedium) +void SmViewShell::InsertFrom(SfxMedium &rMedium) { SAL_INFO( "starmath", "starmath: SmViewShell::InsertFrom" ); @@ -1528,11 +1526,8 @@ bool SmViewShell::InsertFrom(SfxMedium &rMedium) rBnd.Invalidate(SID_GAPHIC_SM); rBnd.Invalidate(SID_TEXT); } - - return bSuccess; } - void SmViewShell::Execute(SfxRequest& rReq) { SAL_INFO( "starmath", "starmath: SmViewShell::Execute" ); |