summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-10-07 16:08:08 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-10-07 16:35:33 +0200
commitcecb901f6eea82cca2ecc7a8a66d0645ff1e9a7f (patch)
tree24ff2282cf23b00d56e001e4b43e82c1842819b5
parentbd4ef9aa4ccf2152c2780275d931994f94036f1f (diff)
clang-analyzer-deadcode.DeadStores
Change-Id: I325b4c71507ca64a42d773cd4c66f936dfe09743
-rw-r--r--sfx2/source/appl/appopen.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/sfx2/source/appl/appopen.cxx b/sfx2/source/appl/appopen.cxx
index 55b35b6fb69f..75bcfc49c374 100644
--- a/sfx2/source/appl/appopen.cxx
+++ b/sfx2/source/appl/appopen.cxx
@@ -739,7 +739,6 @@ void SfxApplication::OpenDocExec_Impl( SfxRequest& rReq )
{
// SID_OPENURL does the same as SID_OPENDOC!
rReq.SetSlot( SID_OPENDOC );
- nSID = SID_OPENDOC;
}
else if ( nSID == SID_OPENTEMPLATE )
{
@@ -755,7 +754,6 @@ void SfxApplication::OpenDocExec_Impl( SfxRequest& rReq )
else if ( nSID == SID_OPENHYPERLINK )
{
rReq.SetSlot( SID_OPENDOC );
- nSID = SID_OPENDOC;
bHyperlinkUsed = true;
}