[Libreoffice-commits] .: svx/inc svx/source unusedcode.easy
Radek DoulÃk
rodo at kemper.freedesktop.org
Tue Feb 14 10:02:50 PST 2012
svx/inc/svx/xtable.hxx | 1 -
svx/source/xoutdev/xtable.cxx | 15 ---------------
unusedcode.easy | 1 -
3 files changed, 17 deletions(-)
New commits:
commit 8af1b357b1c87c9f3eea7660881b2ffacc133f58
Author: Santiago Martinez <smvarela at gmail.com>
Date: Mon Feb 13 21:52:07 2012 +0100
Remove unused code.
diff --git a/svx/inc/svx/xtable.hxx b/svx/inc/svx/xtable.hxx
index a5f2197..eaca035 100644
--- a/svx/inc/svx/xtable.hxx
+++ b/svx/inc/svx/xtable.hxx
@@ -238,7 +238,6 @@ protected:
XPropertyList( XPropertyListType t, const String& rPath,
XOutdevItemPool* pXPool = NULL );
- void Clear();
public:
virtual ~XPropertyList();
diff --git a/svx/source/xoutdev/xtable.cxx b/svx/source/xoutdev/xtable.cxx
index 1eedd7a..9d18cc0 100644
--- a/svx/source/xoutdev/xtable.cxx
+++ b/svx/source/xoutdev/xtable.cxx
@@ -91,21 +91,6 @@ XPropertyList::~XPropertyList()
SfxItemPool::Free(pXPool);
}
-void XPropertyList::Clear()
-{
- for( size_t i = 0, n = aList.size(); i < n; ++i ) {
- delete aList[ i ];
- }
- aList.clear();
- if( pBmpList )
- {
- for ( size_t i = 0, n = pBmpList->size(); i < n; ++i ) {
- delete (*pBmpList)[ i ];
- }
- pBmpList->clear();
- }
-}
-
long XPropertyList::Count() const
{
if( bListDirty )
diff --git a/unusedcode.easy b/unusedcode.easy
index 5142e88..95f65eb 100755
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -622,7 +622,6 @@ XMLTextListAutoStylePoolNames_Impl::Remove(rtl::OUString*)
XMLTextListAutoStylePool_Impl::GetPos(XMLTextListAutoStylePoolEntry_Impl const*) const
XMLTextListAutoStylePool_Impl::Remove(XMLTextListAutoStylePoolEntry_Impl*)
XMLVisAreaContext::XMLVisAreaContext(SvXMLImport&, unsigned short, rtl::OUString const&, com::sun::star::uno::Reference<com::sun::star::xml::sax::XAttributeList> const&, Rectangle&, short)
-XPropertyList::Clear()
XWindowItem::XWindowItem(unsigned short, Window*)
XWindowItem::XWindowItem(unsigned short, com::sun::star::uno::Reference<com::sun::star::awt::XWindow>&)
XclExpFontBuffer::Insert(ScPatternAttr const&, short, XclExpColorType, bool)
More information about the Libreoffice-commits
mailing list