summaryrefslogtreecommitdiffstats
path: root/desktop/source/deployment/dp_xml.cxx
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2008-05-13 12:13:56 +0000
committerVladimir Glazounov <vg@openoffice.org>2008-05-13 12:13:56 +0000
commit0dfc5400481ec73b4146e26c71cd998ea4b37d3e (patch)
tree3f6bc67a90e7bc437b397614da84ed1f6bae0d98 /desktop/source/deployment/dp_xml.cxx
parentINTEGRATION: CWS fwk86 (1.20.330); FILE MERGED (diff)
downloadcore-0dfc5400481ec73b4146e26c71cd998ea4b37d3e.tar.gz
core-0dfc5400481ec73b4146e26c71cd998ea4b37d3e.zip
INTEGRATION: CWS fwk86 (1.3.214); FILE MERGED
2008/04/30 15:50:19 pb 1.3.214.2: RESYNC: (1.3-1.4); FILE MERGED 2008/03/06 09:28:21 cd 1.3.214.1: #i86384# Remove unused code from desktop
Diffstat (limited to 'desktop/source/deployment/dp_xml.cxx')
-rw-r--r--desktop/source/deployment/dp_xml.cxx31
1 files changed, 1 insertions, 30 deletions
diff --git a/desktop/source/deployment/dp_xml.cxx b/desktop/source/deployment/dp_xml.cxx
index 40ee37a47e74..8ed30ccc9066 100644
--- a/desktop/source/deployment/dp_xml.cxx
+++ b/desktop/source/deployment/dp_xml.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: dp_xml.cxx,v $
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
* This file is part of OpenOffice.org.
*
@@ -155,18 +155,6 @@ XmlElement::~XmlElement()
}
//______________________________________________________________________________
-Reference<xml::input::XNamespaceMapping> const &
-XmlElement::getNamespaceMapping() const
-{
- if (! m_xNamespaceMapping.is()) {
- throw RuntimeException(
- OUSTR("document has not been parsed yet!"),
- static_cast<OWeakObject *>( const_cast<XmlElement *>(this) ) );
- }
- return m_xNamespaceMapping;
-}
-
-//______________________________________________________________________________
void XmlElement::check_xmlns( sal_Int32 uid ) const
throw (xml::sax::SAXException)
{
@@ -191,23 +179,6 @@ void XmlElement::check_xmlns( sal_Int32 uid ) const
}
}
-//______________________________________________________________________________
-void XmlElement::check_parsed() const
- throw (xml::sax::SAXException)
-{
- if (! isParsed()) {
- ::rtl::OUStringBuffer buf;
- buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("missing closing element "
- "event for \"") );
- buf.append( m_localname );
- buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("\"!") );
- throw xml::sax::SAXException(
- buf.makeStringAndClear(),
- static_cast<OWeakObject *>( const_cast<XmlElement *>(this) ),
- Any() );
- }
-}
-
// XElement
//______________________________________________________________________________
Reference<xml::input::XElement> XmlElement::getParent()