summaryrefslogtreecommitdiff
path: root/include/oox/crypto
diff options
context:
space:
mode:
Diffstat (limited to 'include/oox/crypto')
-rw-r--r--include/oox/crypto/DocumentDecryption.hxx12
-rw-r--r--include/oox/crypto/DocumentEncryption.hxx4
2 files changed, 8 insertions, 8 deletions
diff --git a/include/oox/crypto/DocumentDecryption.hxx b/include/oox/crypto/DocumentDecryption.hxx
index ca80a95de488..b494ea2900fa 100644
--- a/include/oox/crypto/DocumentDecryption.hxx
+++ b/include/oox/crypto/DocumentDecryption.hxx
@@ -34,7 +34,7 @@ namespace core {
class OOX_DLLPUBLIC DocumentDecryption
{
private:
- com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext > mxContext;
+ css::uno::Reference< css::uno::XComponentContext > mxContext;
enum CryptoType
{
@@ -44,22 +44,22 @@ private:
};
oox::ole::OleStorage& mrOleStorage;
- std::unique_ptr<CryptoEngine> mEngine;
+ std::unique_ptr<CryptoEngine> mEngine;
CryptoType mCryptoType;
- bool readAgileEncryptionInfo( com::sun::star::uno::Reference< com::sun::star::io::XInputStream >& rStream );
+ bool readAgileEncryptionInfo( css::uno::Reference< css::io::XInputStream >& rStream );
bool readStandard2007EncryptionInfo( BinaryInputStream& rStream );
public:
DocumentDecryption(
oox::ole::OleStorage& rOleStorage,
- com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext > xContext);
+ css::uno::Reference< css::uno::XComponentContext > xContext);
- bool decrypt(com::sun::star::uno::Reference< com::sun::star::io::XStream > xDocumentStream);
+ bool decrypt(css::uno::Reference< css::io::XStream > xDocumentStream);
bool readEncryptionInfo();
bool generateEncryptionKey(const OUString& rPassword);
- com::sun::star::uno::Sequence< com::sun::star::beans::NamedValue > createEncryptionData(const OUString& rPassword);
+ css::uno::Sequence< css::beans::NamedValue > createEncryptionData(const OUString& rPassword);
};
diff --git a/include/oox/crypto/DocumentEncryption.hxx b/include/oox/crypto/DocumentEncryption.hxx
index 55e3d12f4c43..d0ceee4b2738 100644
--- a/include/oox/crypto/DocumentEncryption.hxx
+++ b/include/oox/crypto/DocumentEncryption.hxx
@@ -31,7 +31,7 @@ namespace core {
class OOX_DLLPUBLIC DocumentEncryption
{
private:
- com::sun::star::uno::Reference< com::sun::star::io::XStream > mxDocumentStream;
+ css::uno::Reference< css::io::XStream > mxDocumentStream;
oox::ole::OleStorage& mrOleStorage;
OUString maPassword;
@@ -39,7 +39,7 @@ private:
public:
DocumentEncryption(
- com::sun::star::uno::Reference< com::sun::star::io::XStream > xDocumentStream,
+ css::uno::Reference< css::io::XStream > xDocumentStream,
oox::ole::OleStorage& rOleStorage,
const OUString& aPassword);