summaryrefslogtreecommitdiff
path: root/comphelper/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-02-27 11:25:47 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-02-27 12:58:50 +0000
commit697ec96e6118af3ceec953f6bec74dab526e548a (patch)
treeb6e7ae6738cda58ab30a82201e64057ec4e36cde /comphelper/source
parentfd997b360f4b448d574c1efc5c8ad1c68f7dbdc2 (diff)
coverity#1187646 unused mpAbort
Change-Id: I1fc3f0253c2af4779ba59b5b85ea7fc400226177
Diffstat (limited to 'comphelper/source')
-rw-r--r--comphelper/source/misc/docpasswordrequest.cxx10
1 files changed, 4 insertions, 6 deletions
diff --git a/comphelper/source/misc/docpasswordrequest.cxx b/comphelper/source/misc/docpasswordrequest.cxx
index 380b0824883e..a2d2119c971a 100644
--- a/comphelper/source/misc/docpasswordrequest.cxx
+++ b/comphelper/source/misc/docpasswordrequest.cxx
@@ -90,15 +90,14 @@ private:
SimplePasswordRequest::SimplePasswordRequest( PasswordRequestMode eMode )
-: mpAbort( NULL )
-, mpPassword( NULL )
+ : mpPassword( NULL )
{
PasswordRequest aRequest( OUString(), Reference< XInterface >(),
InteractionClassification_QUERY, eMode );
maRequest <<= aRequest;
maContinuations.realloc( 2 );
- maContinuations[ 0 ].set( mpAbort = new AbortContinuation );
+ maContinuations[ 0 ].set( new AbortContinuation );
maContinuations[ 1 ].set( mpPassword = new PasswordContinuation );
}
@@ -130,8 +129,7 @@ Sequence< Reference< XInteractionContinuation > > SAL_CALL SimplePasswordRequest
DocPasswordRequest::DocPasswordRequest( DocPasswordRequestType eType,
PasswordRequestMode eMode, const OUString& rDocumentName, bool bPasswordToModify )
-: mpAbort( NULL )
-, mpPassword( NULL )
+ : mpPassword( NULL )
{
switch( eType )
{
@@ -154,7 +152,7 @@ DocPasswordRequest::DocPasswordRequest( DocPasswordRequestType eType,
}
maContinuations.realloc( 2 );
- maContinuations[ 0 ].set( mpAbort = new AbortContinuation );
+ maContinuations[ 0 ].set( new AbortContinuation );
maContinuations[ 1 ].set( mpPassword = new PasswordContinuation );
}