summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-11-21 09:16:46 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-11-21 11:55:10 +0000
commitcdf7572996c553348deae7698f9b1170f5a105f2 (patch)
tree220dc77c0c44acef694035ec9ef99fc696c1d4b7
parent734f30484221e091669cfdb45c144084a1377998 (diff)
coverity#1209008 Unchecked return value
Change-Id: I7204f02253ff970a6b6f25b83268372d914d7f13
-rw-r--r--sd/inc/sdmod.hxx2
-rw-r--r--sd/source/ui/app/sdmod1.cxx4
2 files changed, 3 insertions, 3 deletions
diff --git a/sd/inc/sdmod.hxx b/sd/inc/sdmod.hxx
index b1b42915500f..d339c09ce2f5 100644
--- a/sd/inc/sdmod.hxx
+++ b/sd/inc/sdmod.hxx
@@ -168,7 +168,7 @@ private:
This typically is the unmodified request from a execute()
function from where this function is called.
*/
- void OutlineToImpress (SfxRequest& rRequest);
+ bool OutlineToImpress(SfxRequest& rRequest);
/** Add an eventlistener as soon as possible in sd, allows to use
remote devices to start the slideshow elegantly, and respecting
diff --git a/sd/source/ui/app/sdmod1.cxx b/sd/source/ui/app/sdmod1.cxx
index a4aff4d943f2..672ccdd17879 100644
--- a/sd/source/ui/app/sdmod1.cxx
+++ b/sd/source/ui/app/sdmod1.cxx
@@ -252,7 +252,7 @@ void SdModule::Execute(SfxRequest& rReq)
}
}
-void SdModule::OutlineToImpress (SfxRequest& rRequest)
+bool SdModule::OutlineToImpress(SfxRequest& rRequest)
{
const SfxItemSet* pSet = rRequest.GetArgs();
@@ -312,7 +312,7 @@ void SdModule::OutlineToImpress (SfxRequest& rRequest)
}
}
- rRequest.IsDone();
+ return rRequest.IsDone();
}
static bool bOnce = false;