diff options
Diffstat (limited to 'include/sfx2')
-rw-r--r-- | include/sfx2/dinfdlg.hxx | 6 | ||||
-rw-r--r-- | include/sfx2/docfile.hxx | 2 |
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 ); |