summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-03-22 20:45:09 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-03-22 20:45:09 +0000
commit893e6f6ac6aab9e86d499d90d9e4b3e5ff9017e8 (patch)
tree864f75d18289232c96248dfa6f25ff99dbcbaf95 /sfx2
parent1f1a0af795dec9c6de8611b276070ec99d0bab6b (diff)
bUseTarget is never read
Change-Id: I1a21cfd62de2e188c93453f7eebb4d322010de3a
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/control/request.cxx6
1 files changed, 0 insertions, 6 deletions
diff --git a/sfx2/source/control/request.cxx b/sfx2/source/control/request.cxx
index c96fc99ae52d..b2fe778490ab 100644
--- a/sfx2/source/control/request.cxx
+++ b/sfx2/source/control/request.cxx
@@ -63,7 +63,6 @@ struct SfxRequest_Impl: public SfxListener
bool bDone; // at all executed
bool bIgnored; // Cancelled by the User
bool bCancelled; // no longer notify
- bool bUseTarget; // aTarget was set by Application
sal_uInt16 nCallMode; // Synch/Asynch/API/Record
bool bAllowRecording;
SfxAllItemSet* pInternalArgs;
@@ -150,7 +149,6 @@ SfxRequest::SfxRequest
pImp->pShell = 0;
pImp->pSlot = 0;
pImp->nCallMode = rOrig.pImp->nCallMode;
- pImp->bUseTarget = rOrig.pImp->bUseTarget;
pImp->aTarget = rOrig.pImp->aTarget;
pImp->nModifier = rOrig.pImp->nModifier;
@@ -192,7 +190,6 @@ SfxRequest::SfxRequest
pImp->pShell = 0;
pImp->pSlot = 0;
pImp->nCallMode = SFX_CALLMODE_SYNCHRON;
- pImp->bUseTarget = false;
pImp->pViewFrame = pViewFrame;
if( pImp->pViewFrame->GetDispatcher()->GetShellAndSlot_Impl( nSlotId, &pImp->pShell, &pImp->pSlot, true, true ) )
{
@@ -233,7 +230,6 @@ SfxRequest::SfxRequest
pImp->pShell = 0;
pImp->pSlot = 0;
pImp->nCallMode = nMode;
- pImp->bUseTarget = false;
}
SfxRequest::SfxRequest
@@ -254,7 +250,6 @@ SfxRequest::SfxRequest
pImp->pShell = 0;
pImp->pSlot = 0;
pImp->nCallMode = nMode;
- pImp->bUseTarget = false;
TransformParameters( nSlot, rArgs, *pArgs, pSlot );
}
@@ -280,7 +275,6 @@ SfxRequest::SfxRequest
pImp->pShell = 0;
pImp->pSlot = 0;
pImp->nCallMode = nMode;
- pImp->bUseTarget = false;
}