[Libreoffice-commits] core.git: sfx2/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Thu Nov 1 09:04:20 UTC 2018
sfx2/source/doc/Metadatable.cxx | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
New commits:
commit 9036336cdc67f1924bad2486a62b4c7b43375e04
Author: Noel Grandin <noel.grandin at collabora.co.uk>
AuthorDate: Thu Nov 1 09:44:56 2018 +0200
Commit: Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Thu Nov 1 10:03:49 2018 +0100
revert accidental rename
in
commit 15c86cadadcd389bfcf80ca285c1c298353d987f
Date: Wed Oct 31 14:36:41 2018 +0200
rename RemoveX->Remove in SfxUndoArray
Change-Id: I2353d087eb0afb833adb51186d6bad7a357c095a
Reviewed-on: https://gerrit.libreoffice.org/62717
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>
diff --git a/sfx2/source/doc/Metadatable.cxx b/sfx2/source/doc/Metadatable.cxx
index 3ff02fb39735..65b386640845 100644
--- a/sfx2/source/doc/Metadatable.cxx
+++ b/sfx2/source/doc/Metadatable.cxx
@@ -183,7 +183,7 @@ public:
Does not remove the metadata reference from the element.
</p>
- @see RemovemlIdForElement
+ @see RemoveXmlIdForElement
*/
virtual void UnregisterMetadatable(Metadatable const&) = 0;
@@ -192,7 +192,7 @@ public:
GetXmlIdForElement(Metadatable const&) const;
/** remove the metadata reference for the given element. */
- virtual void RemovemlIdForElement(Metadatable const&) = 0;
+ virtual void RemoveXmlIdForElement(Metadatable const&) = 0;
protected:
@@ -221,7 +221,7 @@ public:
virtual void UnregisterMetadatable(Metadatable const&) override;
- virtual void RemovemlIdForElement(Metadatable const&) override;
+ virtual void RemoveXmlIdForElement(Metadatable const&) override;
/** register i_rCopy as a copy of i_rSource,
with precedence iff i_bCopyPrecedesSource is true */
@@ -312,7 +312,7 @@ public:
virtual void UnregisterMetadatable(Metadatable const&) override;
- virtual void RemovemlIdForElement(Metadatable const&) override;
+ virtual void RemoveXmlIdForElement(Metadatable const&) override;
/** register i_rCopy as a copy of i_rSource */
MetadatableClipboard & RegisterCopyClipboard(Metadatable & i_rCopy,
@@ -761,9 +761,9 @@ void XmlIdRegistryDocument::UnregisterMetadatable(const Metadatable& i_rObject)
}
}
-void XmlIdRegistryDocument::RemovemlIdForElement(const Metadatable& i_rObject)
+void XmlIdRegistryDocument::RemoveXmlIdForElement(const Metadatable& i_rObject)
{
- SAL_INFO("sfx", "RemovemlIdForElement: " << &i_rObject);
+ SAL_INFO("sfx", "RemoveXmlIdForElement: " << &i_rObject);
const XmlIdReverseMap_t::iterator iter(
m_pImpl->m_XmlIdReverseMap.find(&i_rObject) );
@@ -1165,9 +1165,9 @@ void XmlIdRegistryClipboard::UnregisterMetadatable(const Metadatable& i_rObject)
}
-void XmlIdRegistryClipboard::RemovemlIdForElement(const Metadatable& i_rObject)
+void XmlIdRegistryClipboard::RemoveXmlIdForElement(const Metadatable& i_rObject)
{
- SAL_INFO("sfx", "RemovemlIdForElement: " << &i_rObject);
+ SAL_INFO("sfx", "RemoveXmlIdForElement: " << &i_rObject);
ClipboardXmlIdReverseMap_t::iterator iter(
m_pImpl->m_XmlIdReverseMap.find(&i_rObject) );
@@ -1246,7 +1246,7 @@ void Metadatable::RemoveMetadataReference()
if (m_pReg)
{
m_pReg->UnregisterMetadatable( *this );
- m_pReg->RemovemlIdForElement( *this );
+ m_pReg->RemoveXmlIdForElement( *this );
m_pReg = nullptr;
}
}
More information about the Libreoffice-commits
mailing list