From c9dcd0a6197160fdc8bf086ae4d8a78558e7d078 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 30 Jul 2018 14:20:43 +0200 Subject: loplugin:returnconstant in sfx2 Change-Id: I9a41a2b53669bebfca573fef8d0d755e4621ce37 Reviewed-on: https://gerrit.libreoffice.org/58333 Tested-by: Jenkins Reviewed-by: Noel Grandin --- include/sfx2/objsh.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/sfx2/objsh.hxx') diff --git a/include/sfx2/objsh.hxx b/include/sfx2/objsh.hxx index a6bff464d369..382e4c692e87 100644 --- a/include/sfx2/objsh.hxx +++ b/include/sfx2/objsh.hxx @@ -339,7 +339,7 @@ public: // called for a few slots like SID_SAVE[AS]DOC, SID_PRINTDOC[DIRECT], derived classes may abort the action virtual bool QuerySlotExecutable( sal_uInt16 nSlotId ); - bool SaveChildren(bool bObjectsOnly=false); + void SaveChildren(bool bObjectsOnly=false); bool SaveAsChildren( SfxMedium &rMedium ); bool SwitchChildrenPersistance( const css::uno::Reference< css::embed::XStorage >& xStorage, -- cgit