summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-02-19 15:07:01 +0200
committerNoel Grandin <noel@peralex.com>2014-02-20 09:31:12 +0200
commitc45f332e9e265e7e363e0f91f2fe69fb69683253 (patch)
tree45c8f130e95e4179ee4987acfb5658af261e1efb /sfx2
parent91e7943cac7490c51bbc03eec2f90422f8e1598e (diff)
cid#1078824 Dereference before null check
Change-Id: Ic68e7048786415a847a67723890a92cb542bbf80
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/doc/objstor.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/doc/objstor.cxx b/sfx2/source/doc/objstor.cxx
index a7adab3a55cc..d03542757507 100644
--- a/sfx2/source/doc/objstor.cxx
+++ b/sfx2/source/doc/objstor.cxx
@@ -2661,7 +2661,7 @@ sal_Bool SfxObjectShell::CommonSaveAs_Impl
}
aParams->ClearItem( SID_COPY_STREAM_IF_POSSIBLE );
- pImp->bPasswd = aParams && SFX_ITEM_SET == aParams->GetItemState(SID_PASSWORD);
+ pImp->bPasswd = SFX_ITEM_SET == aParams->GetItemState(SID_PASSWORD);
SfxMedium *pActMed = GetMedium();
const INetURLObject aActName(pActMed->GetName());