summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-08-27 20:36:23 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-08-27 20:36:23 +0100
commit34091bc0e33a0aa6e839f5474e53d22a79960e68 (patch)
treebb6d7fb71f5d4c2b1481c7a1a0b3722ec419bdee /filter
parentfe1e68503651382114d76759c6901bf685d8e106 (diff)
drop these memory trashers
some are the wrong length anyway, and anyway the copies remain untrashed, and munging immutable strings is dubious Change-Id: Ic7ac3bea35e57ed015092b3b255d48819195490d
Diffstat (limited to 'filter')
-rw-r--r--filter/source/pdf/impdialog.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/filter/source/pdf/impdialog.cxx b/filter/source/pdf/impdialog.cxx
index 833073002425..d19c87e47820 100644
--- a/filter/source/pdf/impdialog.cxx
+++ b/filter/source/pdf/impdialog.cxx
@@ -1317,10 +1317,6 @@ IMPL_LINK_NOARG(ImpPDFTabSecurityPage, ClickmaPbSetPwdHdl)
}
else
maPreparedOwnerPassword = Sequence< NamedValue >();
-
- // trash clear text passwords string memory
- memset( (void*)aUserPW.getStr(), 0, aUserPW.getLength() );
- memset( (void*)aOwnerPW.getStr(), 0, aOwnerPW.getLength() );
}
enablePermissionControls();
return 0;