unusedcode.easy | 2 -- xmloff/inc/xmloff/xmlerror.hxx | 12 ------------ xmloff/source/core/xmlerror.cxx | 17 ----------------- 3 files changed, 31 deletions(-)
New commits: commit c576a5c48353c0b5432d5ef918bfd14f6d7fd100 Author: Santiago Martinez <smvar...@gmail.com> Date: Sat Mar 24 01:01:49 2012 +0100 Remove unused code in xmloff. diff --git a/unusedcode.easy b/unusedcode.easy index 3376da1..767d6d2 100755 --- a/unusedcode.easy +++ b/unusedcode.easy @@ -334,8 +334,6 @@ Window::PostUserEvent(unsigned long&, unsigned long, void*) X11SalGraphics::SetMask(int&, int&, unsigned int&, unsigned int&, int&, int&, unsigned long) X509Certificate_NssImpl::getImplementation(com::sun::star::uno::Reference<com::sun::star::uno::XInterface>) XMLElement::Equals(rtl::OUString) -XMLErrors::AddRecord(int, com::sun::star::uno::Sequence<rtl::OUString> const&) -XMLErrors::AddRecord(int, com::sun::star::uno::Sequence<rtl::OUString> const&, rtl::OUString const&) XMLFamilyDataList_Impl::GetPos(XMLFamilyData_Impl const*) const XMLFamilyDataList_Impl::Remove(XMLFamilyData_Impl*) XMLFontAutoStylePoolNames_Impl::GetPos(rtl::OUString const*) const diff --git a/xmloff/inc/xmloff/xmlerror.hxx b/xmloff/inc/xmloff/xmlerror.hxx index 46595f6..b5fbbd8 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 10c437b..8d765d2 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 ) { _______________________________________________ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits