Commit Graph

13 Commits

Author SHA1 Message Date
3e82897353 improve the inlinesimplememberfunctions clang plugin
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
2014-06-17 10:55:17 +02:00
92da838efc coverity#1079343 Uninitialized pointer field
Change-Id: I05ec88144273c15181e9afa8f616b0ab11695f04
2014-05-10 21:13:02 +01:00
567ef6d578 Second batch of adding SAL_OVERRIDE to overriding function declarations
...mostly done with a rewriting Clang plugin, with just some manual tweaking
necessary to fix poor macro usage.

Change-Id: Ie656f9d653fc716f72ac175925272696d509038f
2014-03-27 18:12:18 +01:00
15b3e29808 fdo#76222 oox: add support for MSO 2007 SP2 encrypted documents
Change-Id: I8fa586d49437ff5422fc3daa4c81439146e598a0
2014-03-24 18:22:42 +01:00
970517af3e oox: add Digest class which uses NSS or OpenSSL for digest calc.
Document encryption and decryption uses either NSS or OpenSSL to
calculate digest. Digest class hides the implementation details
between the two implementations. Previously, functions sha1 and
sha512 were used for this, but were less generic.

Change-Id: I60119e2ab9c5c1f4a2b02bc417c3c89c53a63fda
2014-03-23 18:36:59 +01:00
c66229bfa4 oox: prefer passing OUString by reference
Change-Id: Iace276878e7ae668bba5bb6e36af1e5d5d72d6cb
2014-03-17 09:00:08 +02:00
9321117acd remove unused code oox::core::Decrypt::aes128cbc
Change-Id: I12478278de8b719c51b87c335abd5c440a56bd36
2014-02-25 15:17:00 +02:00
940a2944b0 fdo#65108 inter-module includes <>
Change-Id: Ie672de68f6a87713a379e794fa3ad255ad52a71e
2013-11-09 18:48:38 -06:00
10d0526d72 fixincludeguards.sh: include/o*
Change-Id: Ibd5d8af00f6582d53231c76e2b04e737b5804497
2013-10-23 23:22:30 +02:00
13aedd1d0e Save should encrypt OOXML document if it was loaded encrypted.
Currently Agile encryption is not supported, so all documents
loaded with "agile" encryption will be encrypted with "standard"
encryption when they are saved afterwards.

Change-Id: Id0477f43c00ed70032ca6b3390eebb1105d5ffa7
2013-09-15 15:34:16 +02:00
8430357c7f CID#1079343 mContext.cipher is not initialized...
use protected to indicate that this is not callable directly, but only by
another ctor which will do the initialization. Not sure if coverity will grok
that, but if it doesn't then it can be submitted as a false positive

Change-Id: I8e97c0b441dc407a005913e2b10f0fb48f45672b
2013-09-05 12:52:09 +01:00
1bff0dbf79 Convert vector block* to const array block*.
Looks like my compiler eats a lot of things thrown at him but
others don't.

Change-Id: If1d080a545e6c2a17e19b389eeb1714aa0569644
2013-08-24 23:05:01 +02:00
4323c66840 fdo#35422 Support to open encrypted Office 2010 and 2013 formats
Additionally encryption and decryption has been refactored.
2 engines have been added: AgileEngine and Standard2007Engine,
which contain core functions for encryption and decryption.
Standard2007Engine refers to encryption and decryption as used
in Office 2007 and AgileEngine refers to encryption and decryption
as used in Office 2010 and 2013. AgileEngine does not yet support
encryption.

Change-Id: Ica1d4d5a109fb204012b92a0c39325fe0b99b793
2013-08-24 22:53:04 +02:00