summaryrefslogtreecommitdiff
path: root/include/oox/crypto
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-03-17 08:58:59 +0200
committerNoel Grandin <noel@peralex.com>2014-03-17 09:00:08 +0200
commitc66229bfa4284758b787bf80ddd1b2e3795881df (patch)
tree322e0e4d0f6d3d575bd8ead750d9b0fffdc68594 /include/oox/crypto
parentbd8ce8b959f6147a2175a8ce84fd212151ca05dc (diff)
oox: prefer passing OUString by reference
Change-Id: Iace276878e7ae668bba5bb6e36af1e5d5d72d6cb
Diffstat (limited to 'include/oox/crypto')
-rw-r--r--include/oox/crypto/DocumentEncryption.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/oox/crypto/DocumentEncryption.hxx b/include/oox/crypto/DocumentEncryption.hxx
index 4410357bbbad..55e3d12f4c43 100644
--- a/include/oox/crypto/DocumentEncryption.hxx
+++ b/include/oox/crypto/DocumentEncryption.hxx
@@ -41,7 +41,7 @@ public:
DocumentEncryption(
com::sun::star::uno::Reference< com::sun::star::io::XStream > xDocumentStream,
oox::ole::OleStorage& rOleStorage,
- OUString aPassword);
+ const OUString& aPassword);
bool encrypt();