Kaydet (Commit) ca16c526 authored tarafından Marcos Paulo de Souza's avatar Marcos Paulo de Souza Kaydeden (comit) Michael Meeks

Change function to void, nobody checks the returned data

Change-Id: I9ef7eb7a9c32153f0a886479f65678907969adc5
Reviewed-on: https://gerrit.libreoffice.org/5000Reviewed-by: 's avatarMichael Meeks <michael.meeks@suse.com>
Tested-by: 's avatarMichael Meeks <michael.meeks@suse.com>
üst 6f4e3a2e
...@@ -260,8 +260,8 @@ protected: ...@@ -260,8 +260,8 @@ protected:
virtual sal_uInt16 SetPrinter(SfxPrinter *pNewPrinter, virtual sal_uInt16 SetPrinter(SfxPrinter *pNewPrinter,
sal_uInt16 nDiffFlags = SFX_PRINTER_ALL, bool bIsAPI=false); sal_uInt16 nDiffFlags = SFX_PRINTER_ALL, bool bIsAPI=false);
bool Insert( SfxMedium& rMedium ); void Insert( SfxMedium& rMedium );
bool InsertFrom(SfxMedium &rMedium); void InsertFrom(SfxMedium &rMedium);
virtual bool HasPrintOptionsPage() const; virtual bool HasPrintOptionsPage() const;
virtual SfxTabPage *CreatePrintOptionsPage(Window *pParent, virtual SfxTabPage *CreatePrintOptionsPage(Window *pParent,
......
...@@ -1451,7 +1451,7 @@ void SmViewShell::PrevError() ...@@ -1451,7 +1451,7 @@ void SmViewShell::PrevError()
} }
bool SmViewShell::Insert( SfxMedium& rMedium ) void SmViewShell::Insert( SfxMedium& rMedium )
{ {
SAL_INFO( "starmath", "starmath: SmViewShell::Insert" ); SAL_INFO( "starmath", "starmath: SmViewShell::Insert" );
...@@ -1489,11 +1489,9 @@ bool SmViewShell::Insert( SfxMedium& rMedium ) ...@@ -1489,11 +1489,9 @@ bool SmViewShell::Insert( SfxMedium& rMedium )
rBnd.Invalidate(SID_GAPHIC_SM); rBnd.Invalidate(SID_GAPHIC_SM);
rBnd.Invalidate(SID_TEXT); rBnd.Invalidate(SID_TEXT);
} }
return bRet;
} }
void SmViewShell::InsertFrom(SfxMedium &rMedium)
bool SmViewShell::InsertFrom(SfxMedium &rMedium)
{ {
SAL_INFO( "starmath", "starmath: SmViewShell::InsertFrom" ); SAL_INFO( "starmath", "starmath: SmViewShell::InsertFrom" );
...@@ -1528,11 +1526,8 @@ bool SmViewShell::InsertFrom(SfxMedium &rMedium) ...@@ -1528,11 +1526,8 @@ bool SmViewShell::InsertFrom(SfxMedium &rMedium)
rBnd.Invalidate(SID_GAPHIC_SM); rBnd.Invalidate(SID_GAPHIC_SM);
rBnd.Invalidate(SID_TEXT); rBnd.Invalidate(SID_TEXT);
} }
return bSuccess;
} }
void SmViewShell::Execute(SfxRequest& rReq) void SmViewShell::Execute(SfxRequest& rReq)
{ {
SAL_INFO( "starmath", "starmath: SmViewShell::Execute" ); SAL_INFO( "starmath", "starmath: SmViewShell::Execute" );
......
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