summaryrefslogtreecommitdiff
path: root/include/sfx2
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-03-04 09:28:31 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-03-04 13:07:40 +0000
commit32f95a35514701ed16413125b440c16d90f52b4a (patch)
tree25ac5edca15ee02bc937ee47116c2197559da4cd /include/sfx2
parent0f98299f7aa44bbb55c1bfeddca7799f727d14b0 (diff)
V813: Decreased performance
Change-Id: I8a7528366156b288dc422b09cff0d5a32cde3c91
Diffstat (limited to 'include/sfx2')
-rw-r--r--include/sfx2/dinfdlg.hxx6
-rw-r--r--include/sfx2/docfile.hxx2
2 files changed, 4 insertions, 4 deletions
diff --git a/include/sfx2/dinfdlg.hxx b/include/sfx2/dinfdlg.hxx
index 027f6bcfb085..79ba1c0fbd3a 100644
--- a/include/sfx2/dinfdlg.hxx
+++ b/include/sfx2/dinfdlg.hxx
@@ -118,7 +118,7 @@ public:
::com::sun::star::util::DateTime
getCreationDate() const { return m_CreationDate; }
- void setCreationDate(::com::sun::star::util::DateTime i_val) {
+ void setCreationDate(const css::util::DateTime& i_val) {
m_CreationDate = i_val;
}
OUString getModifiedBy() const { return m_ModifiedBy; }
@@ -126,14 +126,14 @@ public:
::com::sun::star::util::DateTime
getModificationDate() const { return m_ModificationDate; }
- void setModificationDate(::com::sun::star::util::DateTime i_val) {
+ void setModificationDate(const css::util::DateTime& i_val) {
m_ModificationDate = i_val;
}
OUString getPrintedBy() const { return m_PrintedBy; }
void setPrintedBy(const OUString& i_val) { m_PrintedBy = i_val; }
::com::sun::star::util::DateTime
getPrintDate() const { return m_PrintDate; }
- void setPrintDate(::com::sun::star::util::DateTime i_val) {
+ void setPrintDate(const css::util::DateTime& i_val) {
m_PrintDate = i_val;
}
sal_Int16 getEditingCycles() const { return m_EditingCycles; }
diff --git a/include/sfx2/docfile.hxx b/include/sfx2/docfile.hxx
index 70875845a00b..26e3460f5e62 100644
--- a/include/sfx2/docfile.hxx
+++ b/include/sfx2/docfile.hxx
@@ -265,7 +265,7 @@ public:
static css::uno::Sequence < css::util::RevisionTag > GetVersionList(
const css::uno::Reference< css::embed::XStorage >& xStorage );
static OUString CreateTempCopyWithExt( const OUString& aURL );
- static bool CallApproveHandler( const css::uno::Reference< css::task::XInteractionHandler >& xHandler, css::uno::Any aRequest, bool bAllowAbort );
+ static bool CallApproveHandler(const css::uno::Reference< css::task::XInteractionHandler >& xHandler, const css::uno::Any& rRequest, bool bAllowAbort);
static bool SetWritableForUserOnly( const OUString& aURL );
static sal_uInt32 CreatePasswordToModifyHash( const OUString& aPasswd, bool bWriter );