diff options
-rw-r--r-- | include/sfx2/XmlIdRegistry.hxx | 2 | ||||
-rw-r--r-- | sfx2/source/doc/Metadatable.cxx | 7 |
2 files changed, 5 insertions, 4 deletions
diff --git a/include/sfx2/XmlIdRegistry.hxx b/include/sfx2/XmlIdRegistry.hxx index 3b1dff4432b1..68d61993e685 100644 --- a/include/sfx2/XmlIdRegistry.hxx +++ b/include/sfx2/XmlIdRegistry.hxx @@ -53,7 +53,7 @@ public: virtual ~IXmlIdRegistry() { } virtual ::com::sun::star::uno::Reference< - ::com::sun::star::rdf::XMetadatable > SAL_CALL + ::com::sun::star::rdf::XMetadatable > GetElementByMetadataReference( const ::com::sun::star::beans::StringPair & i_rXmlId) const = 0; diff --git a/sfx2/source/doc/Metadatable.cxx b/sfx2/source/doc/Metadatable.cxx index 3f44618b2d82..f2ae8f4d2088 100644 --- a/sfx2/source/doc/Metadatable.cxx +++ b/sfx2/source/doc/Metadatable.cxx @@ -150,9 +150,10 @@ public: /** get the ODF element with the given metadata reference. */ virtual ::com::sun::star::uno::Reference< - ::com::sun::star::rdf::XMetadatable > SAL_CALL + ::com::sun::star::rdf::XMetadatable > GetElementByMetadataReference( - const ::com::sun::star::beans::StringPair & i_rReference) const; + const ::com::sun::star::beans::StringPair & i_rReference) const + SAL_OVERRIDE; /** register an ODF element at a newly generated, unique metadata reference. @@ -364,7 +365,7 @@ XmlIdRegistry::~XmlIdRegistry() { } -::com::sun::star::uno::Reference< ::com::sun::star::rdf::XMetadatable > SAL_CALL +::com::sun::star::uno::Reference< ::com::sun::star::rdf::XMetadatable > XmlIdRegistry::GetElementByMetadataReference( const beans::StringPair & i_rReference) const { |