summaryrefslogtreecommitdiff
path: root/include/sfx2/Metadatable.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-10-22 16:38:52 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-10-23 07:08:51 +0000
commite4acd26406056addac8c10e80d8cfaa48cedc7fc (patch)
tree96532a7c95d861d0bf6add09d0c8afd179756bbe /include/sfx2/Metadatable.hxx
parentfa22a60e71da5c43b53c5c94f65903ce05d8c9e8 (diff)
com::sun::star->css in include/linguistic to include/sfx2
Change-Id: Id69e293fda98ee6cf2cc3d3296a0cd2e06bd847e Reviewed-on: https://gerrit.libreoffice.org/19527 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/sfx2/Metadatable.hxx')
-rw-r--r--include/sfx2/Metadatable.hxx36
1 files changed, 17 insertions, 19 deletions
diff --git a/include/sfx2/Metadatable.hxx b/include/sfx2/Metadatable.hxx
index 1bdba661873b..a6950e45fa92 100644
--- a/include/sfx2/Metadatable.hxx
+++ b/include/sfx2/Metadatable.hxx
@@ -73,9 +73,8 @@ public:
// for MetadatableMixin ----------------------------------------------
- ::com::sun::star::beans::StringPair GetMetadataReference() const;
- void SetMetadataReference(
- const ::com::sun::star::beans::StringPair & i_rReference);
+ css::beans::StringPair GetMetadataReference() const;
+ void SetMetadataReference( const css::beans::StringPair & i_rReference);
void EnsureMetadataReference();
// hooks -------------------------------------------------------------
@@ -116,8 +115,7 @@ public:
note: if IsInUndo or IsInClipboard return true,
MakeUnoObject <em>must not</em> be called!
*/
- virtual ::com::sun::star::uno::Reference<
- ::com::sun::star::rdf::XMetadatable > MakeUnoObject() = 0;
+ virtual css::uno::Reference< css::rdf::XMetadatable > MakeUnoObject() = 0;
private:
Metadatable(const Metadatable&) = delete;
@@ -138,7 +136,7 @@ private:
*/
class SFX2_DLLPUBLIC MetadatableMixin :
public ::cppu::WeakImplHelper1<
- ::com::sun::star::rdf::XMetadatable>
+ css::rdf::XMetadatable>
{
public:
@@ -146,31 +144,31 @@ public:
virtual ~MetadatableMixin() {}
- // ::com::sun::star::rdf::XNode:
+ // css::rdf::XNode:
virtual OUString SAL_CALL getStringValue()
- throw (::com::sun::star::uno::RuntimeException, std::exception) override;
+ throw (css::uno::RuntimeException, std::exception) override;
- // ::com::sun::star::rdf::XURI:
+ // css::rdf::XURI:
virtual OUString SAL_CALL getLocalName()
- throw (::com::sun::star::uno::RuntimeException, std::exception) override;
+ throw (css::uno::RuntimeException, std::exception) override;
virtual OUString SAL_CALL getNamespace()
- throw (::com::sun::star::uno::RuntimeException, std::exception) override;
+ throw (css::uno::RuntimeException, std::exception) override;
- // ::com::sun::star::rdf::XMetadatable:
- virtual ::com::sun::star::beans::StringPair SAL_CALL getMetadataReference()
- throw (::com::sun::star::uno::RuntimeException, std::exception) override;
+ // css::rdf::XMetadatable:
+ virtual css::beans::StringPair SAL_CALL getMetadataReference()
+ throw (css::uno::RuntimeException, std::exception) override;
virtual void SAL_CALL setMetadataReference(
- const ::com::sun::star::beans::StringPair & i_rReference)
- throw (::com::sun::star::uno::RuntimeException,
- ::com::sun::star::lang::IllegalArgumentException, std::exception) override;
+ const css::beans::StringPair & i_rReference)
+ throw (css::uno::RuntimeException,
+ css::lang::IllegalArgumentException, std::exception) override;
virtual void SAL_CALL ensureMetadataReference()
- throw (::com::sun::star::uno::RuntimeException, std::exception) override;
+ throw (css::uno::RuntimeException, std::exception) override;
protected:
/// get the core object corresponding to this UNO object.
virtual Metadatable * GetCoreObject() = 0;
/// get the XModel for the document
- virtual ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel >
+ virtual css::uno::Reference< css::frame::XModel >
GetModel() = 0;
};