diff options
author | Santiago Martinez <smvarela@gmail.com> | 2012-03-24 01:01:49 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-03-26 14:59:36 +0100 |
commit | c576a5c48353c0b5432d5ef918bfd14f6d7fd100 (patch) | |
tree | e9f06b0225b48e2635f9ef348f4ed40c78f2dce1 /xmloff | |
parent | 564d216f77b7964a1a60995632131c80b4c1938f (diff) |
Remove unused code in xmloff.
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/inc/xmloff/xmlerror.hxx | 12 | ||||
-rw-r--r-- | xmloff/source/core/xmlerror.cxx | 17 |
2 files changed, 0 insertions, 29 deletions
diff --git a/xmloff/inc/xmloff/xmlerror.hxx b/xmloff/inc/xmloff/xmlerror.hxx index 46595f6737a8..b5fbbd855556 100644 --- a/xmloff/inc/xmloff/xmlerror.hxx +++ b/xmloff/inc/xmloff/xmlerror.hxx @@ -143,18 +143,6 @@ public: const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XLocator> & rLocator); /// location - void AddRecord( - sal_Int32 nId, /// error ID == error flags + error class + error number - const ::com::sun::star::uno::Sequence< - ::rtl::OUString> & rParams, /// parameters for error message - const ::rtl::OUString& rExceptionMessage); /// original exception string - - void AddRecord( - sal_Int32 nId, /// error ID == error flags + error class + error number - const ::com::sun::star::uno::Sequence< - ::rtl::OUString> & rParams); /// parameters for error message - - /** * throw a SAXParseException that describes the first error that matches * the given mask diff --git a/xmloff/source/core/xmlerror.cxx b/xmloff/source/core/xmlerror.cxx index 10c437b0aeec..8d765d251ed3 100644 --- a/xmloff/source/core/xmlerror.cxx +++ b/xmloff/source/core/xmlerror.cxx @@ -216,23 +216,6 @@ void XMLErrors::AddRecord( } } -void XMLErrors::AddRecord( - sal_Int32 nId, - const Sequence<OUString> & rParams, - const OUString& rExceptionMessage) -{ - OUString sEmpty; - AddRecord( nId, rParams, rExceptionMessage, -1, -1, sEmpty, sEmpty ); -} - -void XMLErrors::AddRecord( - sal_Int32 nId, - const Sequence<OUString> & rParams) -{ - OUString sEmpty; - AddRecord( nId, rParams, sEmpty, -1, -1, sEmpty, sEmpty ); -} - void XMLErrors::ThrowErrorAsSAXException(sal_Int32 nIdMask) throw( SAXParseException ) { |