diff options
author | Noel Grandin <noel@peralex.com> | 2015-11-05 15:55:58 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-11-06 05:44:52 +0000 |
commit | 7a401e5e83abb41b51fca92e3d92dfb2fff6d0e6 (patch) | |
tree | 09792748ab8f1e7f976d28c2163637f8268f6d36 /sw/inc/section.hxx | |
parent | cb27eef229ce7f3d415184e74d1cb24ec2f8510c (diff) |
com::sun::star->css in sw/inc
Change-Id: I6ffdb1deaa32156c65f997a1a1056928b7cd863d
Reviewed-on: https://gerrit.libreoffice.org/19803
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sw/inc/section.hxx')
-rw-r--r-- | sw/inc/section.hxx | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/sw/inc/section.hxx b/sw/inc/section.hxx index d72ab200a70d..a07dd06382a6 100644 --- a/sw/inc/section.hxx +++ b/sw/inc/section.hxx @@ -67,7 +67,7 @@ private: OUString m_sCondition; OUString m_sLinkFileName; OUString m_sLinkFilePassword; // Must be changed to Sequence. - ::com::sun::star::uno::Sequence <sal_Int8> m_Password; + css::uno::Sequence <sal_Int8> m_Password; /// It seems this flag caches the current final "hidden" state. bool m_bHiddenFlag : 1; @@ -125,9 +125,9 @@ public: OUString GetLinkFilePassword() const { return m_sLinkFilePassword; } void SetLinkFilePassword(OUString const& rS){ m_sLinkFilePassword = rS; } - ::com::sun::star::uno::Sequence<sal_Int8> const& GetPassword() const + css::uno::Sequence<sal_Int8> const& GetPassword() const { return m_Password; } - void SetPassword(::com::sun::star::uno::Sequence<sal_Int8> const& rNew) + void SetPassword(css::uno::Sequence<sal_Int8> const& rNew) { m_Password = rNew; } bool IsLinkType() const { return (DDE_LINK_SECTION == m_eType) || (FILE_LINK_SECTION == m_eType); } @@ -211,7 +211,7 @@ public: { m_Data.SetLinkFilePassword(rS); } // Get / set password of this section - ::com::sun::star::uno::Sequence<sal_Int8> const& GetPassword() const + css::uno::Sequence<sal_Int8> const& GetPassword() const { return m_Data.GetPassword(); } // Data server methods. @@ -283,8 +283,7 @@ class SW_DLLPUBLIC SwSectionFormat in case of an index, both a SwXDocumentIndex and a SwXTextSection register at this SwSectionFormat, so we need to have two refs. */ - ::com::sun::star::uno::WeakReference< - ::com::sun::star::text::XTextSection> m_wXTextSection; + css::uno::WeakReference<css::text::XTextSection> m_wXTextSection; SAL_DLLPRIVATE void UpdateParent(); // Parent has been changed. @@ -327,11 +326,9 @@ public: // Is section a valid one for global document? const SwSection* GetGlobalDocSection() const; - SAL_DLLPRIVATE ::com::sun::star::uno::WeakReference< - ::com::sun::star::text::XTextSection> const& GetXTextSection() const + SAL_DLLPRIVATE css::uno::WeakReference<css::text::XTextSection> const& GetXTextSection() const { return m_wXTextSection; } - SAL_DLLPRIVATE void SetXTextSection(::com::sun::star::uno::Reference< - ::com::sun::star::text::XTextSection> const& xTextSection) + SAL_DLLPRIVATE void SetXTextSection(css::uno::Reference<css::text::XTextSection> const& xTextSection) { m_wXTextSection = xTextSection; } // sfx2::Metadatable @@ -339,8 +336,7 @@ public: virtual bool IsInClipboard() const override; virtual bool IsInUndo() const override; virtual bool IsInContent() const override; - virtual ::com::sun::star::uno::Reference< - ::com::sun::star::rdf::XMetadatable > MakeUnoObject() override; + virtual css::uno::Reference< css::rdf::XMetadatable > MakeUnoObject() override; void dumpAsXml(struct _xmlTextWriter* pWriter) const; }; |