[Libreoffice-commits] .: unusedcode.easy xmloff/inc xmloff/source

2012-03-26 Thread Caolán McNamara
 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 
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)
 XMLElement::Equals(rtl::OUString)
-XMLErrors::AddRecord(int, com::sun::star::uno::Sequence const&)
-XMLErrors::AddRecord(int, com::sun::star::uno::Sequence 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 & rParams,
-const OUString& rExceptionMessage)
-{
-OUString sEmpty;
-AddRecord( nId, rParams, rExceptionMessage, -1, -1, sEmpty, sEmpty );
-}
-
-void XMLErrors::AddRecord(
-sal_Int32 nId,
-const Sequence & 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


[Libreoffice-commits] .: unusedcode.easy xmloff/inc xmloff/source

2012-02-20 Thread Michael Meeks
 unusedcode.easy |1 -
 xmloff/inc/xmloff/XMLTextListAutoStylePool.hxx  |1 -
 xmloff/source/text/XMLTextListAutoStylePool.cxx |5 -
 3 files changed, 7 deletions(-)

New commits:
commit 9846e25d94d6029f3a0726ae35e96db342506c80
Author: Santiago Martinez 
Date:   Sun Feb 19 19:01:09 2012 +0100

Remove unused code in XMLTextListAutoStylePool.

diff --git a/unusedcode.easy b/unusedcode.easy
index 8a32c46..5b2416e 100755
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -535,7 +535,6 @@ XMLPropertyBackpatcher::XMLPropertyBackpatcher(char 
const*)
 XMLPropertyBackpatcher::XMLPropertyBackpatcher(char const*, char 
const*, unsigned char, short)
 XMLPropertyBackpatcher::XMLPropertyBackpatcher(rtl::OUString const&, 
rtl::OUString const&, unsigned char, short)
 XMLTextFieldExport::ProcessDate(xmloff::token::XMLTokenEnum, 
com::sun::star::util::Date const&, unsigned short)
-XMLTextListAutoStylePool::HasName(rtl::OUString const&) const
 XMLTextListAutoStylePoolNames_Impl::GetPos(rtl::OUString const*) const
 XMLTextListAutoStylePoolNames_Impl::Remove(rtl::OUString*)
 XMLTextListAutoStylePool_Impl::GetPos(XMLTextListAutoStylePoolEntry_Impl 
const*) const
diff --git a/xmloff/inc/xmloff/XMLTextListAutoStylePool.hxx 
b/xmloff/inc/xmloff/XMLTextListAutoStylePool.hxx
index b1dbb67..8c39819 100644
--- a/xmloff/inc/xmloff/XMLTextListAutoStylePool.hxx
+++ b/xmloff/inc/xmloff/XMLTextListAutoStylePool.hxx
@@ -67,7 +67,6 @@ public:
 ~XMLTextListAutoStylePool();
 
 void RegisterName( const ::rtl::OUString& rName );
-sal_Bool HasName( const ::rtl::OUString& rName ) const;
 
 ::rtl::OUString Add(
 const ::com::sun::star::uno::Reference <
diff --git a/xmloff/source/text/XMLTextListAutoStylePool.cxx 
b/xmloff/source/text/XMLTextListAutoStylePool.cxx
index f7bc70f..8becfb7 100644
--- a/xmloff/source/text/XMLTextListAutoStylePool.cxx
+++ b/xmloff/source/text/XMLTextListAutoStylePool.cxx
@@ -203,11 +203,6 @@ void XMLTextListAutoStylePool::RegisterName( const 
OUString& rName )
 delete pName;
 }
 
-sal_Bool XMLTextListAutoStylePool::HasName( const OUString& rName ) const
-{
-return pNames->Seek_Entry( &rName, 0 );
-}
-
 sal_uInt32 XMLTextListAutoStylePool::Find( XMLTextListAutoStylePoolEntry_Impl* 
pEntry ) const
 {
 sal_uLong nPos;
___
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits