summaryrefslogtreecommitdiff
path: root/sfx2/source/doc/Metadatable.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/doc/Metadatable.cxx')
-rw-r--r--sfx2/source/doc/Metadatable.cxx13
1 files changed, 0 insertions, 13 deletions
diff --git a/sfx2/source/doc/Metadatable.cxx b/sfx2/source/doc/Metadatable.cxx
index cbb623ce9e60..fc76c7733831 100644
--- a/sfx2/source/doc/Metadatable.cxx
+++ b/sfx2/source/doc/Metadatable.cxx
@@ -1472,19 +1472,6 @@ Metadatable::RegisterAsCopyOf(Metadatable const & i_rSource,
{
OSL_ENSURE(false, "neither RegDoc nor RegClp cannot happen");
}
-#if 0
- {
- //FIXME: do we need this at all???
- XmlIdRegistryDocument & rRegDoc(
- dynamic_cast<XmlIdRegistryDocument&>( rReg ) );
- {
- if (rRegDoc.TryRegisterMetadatable(*this, SourceRef))
- {
- this->m_pReg = &rRegDoc;
- }
- }
- }
-#endif
}
}
catch (uno::Exception &)