diff options
author | Jorenz Paragas <j.paragas.237@gmail.com> | 2016-04-27 18:51:39 -0700 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-04-28 09:59:39 +0000 |
commit | 29c4f7bd5863e34c449062aca6f8aee5ec7510a2 (patch) | |
tree | 617efc2da90a8d146e66f498ccb51b9796b60f08 /include/oox/crypto | |
parent | 02c5ab35077e994af1318b0b35ec06332849934b (diff) |
tdf#42949: prefer including Reference.hxx over Reference.h...
...and so on for Any.hxx and Sequence.hxx.
This commit follows up on two of my previous commits, which are
6a4a15c87c03feffb90cc416ce22d2819e41442d and
474eca1f9b42749665bbf69f6dc62c66ea4ad7fd.
Many non-static inline functions that are declared in Reference.h and
similar files are not defined in the .h file, but their definitions
are in the corresponding .hxx files instead. Thus, let's prefer
including the .hxx files over the .h one so that we don't include
inline functions without their definitions.
In practice, the corresponding .hxx file is included transitively
from many other places, but it's better not to rely on that.
Change-Id: I3bada39eb879ae736c0360f435b16cd5a61adba8
Reviewed-on: https://gerrit.libreoffice.org/24456
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'include/oox/crypto')
-rw-r--r-- | include/oox/crypto/DocumentDecryption.hxx | 4 | ||||
-rw-r--r-- | include/oox/crypto/DocumentEncryption.hxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/include/oox/crypto/DocumentDecryption.hxx b/include/oox/crypto/DocumentDecryption.hxx index 16029ad6998b..4e4abae43380 100644 --- a/include/oox/crypto/DocumentDecryption.hxx +++ b/include/oox/crypto/DocumentDecryption.hxx @@ -15,8 +15,8 @@ #include <memory> -#include <com/sun/star/uno/Reference.h> -#include <com/sun/star/uno/Sequence.h> +#include <com/sun/star/uno/Reference.hxx> +#include <com/sun/star/uno/Sequence.hxx> #include <oox/crypto/CryptoEngine.hxx> #include <rtl/ustring.hxx> diff --git a/include/oox/crypto/DocumentEncryption.hxx b/include/oox/crypto/DocumentEncryption.hxx index 42646f367d1a..a738ede38956 100644 --- a/include/oox/crypto/DocumentEncryption.hxx +++ b/include/oox/crypto/DocumentEncryption.hxx @@ -13,7 +13,7 @@ #include <oox/dllapi.h> -#include <com/sun/star/uno/Reference.h> +#include <com/sun/star/uno/Reference.hxx> #include <oox/crypto/Standard2007Engine.hxx> #include <rtl/ustring.hxx> |