Kaydet (Commit) 141c1c7b authored tarafından Caolán McNamara's avatar Caolán McNamara

callcatcher: remove some unused code

üst 03e3a208
...@@ -444,7 +444,6 @@ protected: ...@@ -444,7 +444,6 @@ protected:
public: public:
SvListView(); // !!! setzt das Model auf 0 SvListView(); // !!! setzt das Model auf 0
SvListView( SvTreeList* pModel );
virtual ~SvListView(); virtual ~SvListView();
void Clear(); void Clear();
SvTreeList* GetModel() const { return pModel; } SvTreeList* GetModel() const { return pModel; }
......
...@@ -1423,16 +1423,6 @@ SvListEntry* SvTreeList::GetRootLevelParent( SvListEntry* pEntry ) const ...@@ -1423,16 +1423,6 @@ SvListEntry* SvTreeList::GetRootLevelParent( SvListEntry* pEntry ) const
DBG_NAME(SvListView); DBG_NAME(SvListView);
SvListView::SvListView( SvTreeList* pModell )
{
DBG_CTOR(SvListView,0);
pModel = 0;
nSelectionCount = 0;
nVisibleCount = 0;
bVisPositionsValid = sal_False;
SetModel( pModell );
}
SvListView::SvListView() SvListView::SvListView()
{ {
DBG_CTOR(SvListView,0); DBG_CTOR(SvListView,0);
......
...@@ -109,8 +109,6 @@ NumericFormatter::ConvertToFraction(long) ...@@ -109,8 +109,6 @@ NumericFormatter::ConvertToFraction(long)
NumericFormatter::ConvertToLong(Fraction const&) NumericFormatter::ConvertToLong(Fraction const&)
OLEObjCache::SetSize(unsigned long) OLEObjCache::SetSize(unsigned long)
ORegKey::acquireKey(void*) ORegKey::acquireKey(void*)
Octree::AddColor(BitmapColor const&)
Octree::Octree(unsigned long)
OutputDevice::LogicToPixel(PolyPolygon const&, MapMode const&) const OutputDevice::LogicToPixel(PolyPolygon const&, MapMode const&) const
OutputDevice::PixelToLogic(PolyPolygon const&, MapMode const&) const OutputDevice::PixelToLogic(PolyPolygon const&, MapMode const&) const
ParagraphObj::ParagraphObj(ParagraphObj&) ParagraphObj::ParagraphObj(ParagraphObj&)
...@@ -379,13 +377,11 @@ SvLBoxButton::Check(SvLBox*, SvLBoxEntry*, unsigned char) ...@@ -379,13 +377,11 @@ SvLBoxButton::Check(SvLBox*, SvLBoxEntry*, unsigned char)
SvLBoxButtonData::SvLBoxButtonData() SvLBoxButtonData::SvLBoxButtonData()
SvLBoxEntryArr::DeleteAndDestroy(unsigned short, unsigned short) SvLBoxEntryArr::DeleteAndDestroy(unsigned short, unsigned short)
SvLBoxItem::GetSize(SvLBoxEntry*, SvViewDataEntry*) SvLBoxItem::GetSize(SvLBoxEntry*, SvViewDataEntry*)
SvListView::SvListView(SvTreeList*)
SvPersistStream::InsertObj(SvPersistBase*) SvPersistStream::InsertObj(SvPersistBase*)
SvPersistStream::RemoveObj(SvPersistBase*) SvPersistStream::RemoveObj(SvPersistBase*)
SvPersistStream::SvPersistStream(SvClassManager&, SvStream*, SvPersistStream const&) SvPersistStream::SvPersistStream(SvClassManager&, SvStream*, SvPersistStream const&)
SvPtrarr::Replace(void* const*, unsigned short, unsigned short) SvPtrarr::Replace(void* const*, unsigned short, unsigned short)
SvStream::ReadLine(ByteString&) SvStream::ReadLine(ByteString&)
SvStringsISortDtor::Insert(String* const*, unsigned short)
SvTabListBox::GetTabJustify(unsigned short) const SvTabListBox::GetTabJustify(unsigned short) const
SvUnoAttributeContainer::getImplementation(com::sun::star::uno::Reference<com::sun::star::uno::XInterface>) SvUnoAttributeContainer::getImplementation(com::sun::star::uno::Reference<com::sun::star::uno::XInterface>)
SvXMLAutoStylePoolNamesP_Impl::GetPos(rtl::OUString const*) const SvXMLAutoStylePoolNamesP_Impl::GetPos(rtl::OUString const*) const
...@@ -773,7 +769,6 @@ XMLTextListAutoStylePoolNames_Impl::GetPos(rtl::OUString const*) const ...@@ -773,7 +769,6 @@ XMLTextListAutoStylePoolNames_Impl::GetPos(rtl::OUString const*) const
XMLTextListAutoStylePoolNames_Impl::Remove(rtl::OUString*) XMLTextListAutoStylePoolNames_Impl::Remove(rtl::OUString*)
XMLTextListAutoStylePool_Impl::GetPos(XMLTextListAutoStylePoolEntry_Impl const*) const XMLTextListAutoStylePool_Impl::GetPos(XMLTextListAutoStylePoolEntry_Impl const*) const
XMLTextListAutoStylePool_Impl::Remove(XMLTextListAutoStylePoolEntry_Impl*) XMLTextListAutoStylePool_Impl::Remove(XMLTextListAutoStylePoolEntry_Impl*)
XMLTextParagraphExport::FindTextStyle(com::sun::star::uno::Reference<com::sun::star::beans::XPropertySet> const&, unsigned char&) const
XMLVisAreaContext::XMLVisAreaContext(SvXMLImport&, unsigned short, rtl::OUString const&, com::sun::star::uno::Reference<com::sun::star::xml::sax::XAttributeList> const&, Rectangle&, short) XMLVisAreaContext::XMLVisAreaContext(SvXMLImport&, unsigned short, rtl::OUString const&, com::sun::star::uno::Reference<com::sun::star::xml::sax::XAttributeList> const&, Rectangle&, short)
XPropertyList::Clear() XPropertyList::Clear()
XSecController::collectToSign(int, rtl::OUString const&) XSecController::collectToSign(int, rtl::OUString const&)
......
...@@ -81,7 +81,7 @@ private: ...@@ -81,7 +81,7 @@ private:
const BitmapReadAccess* pAcc; const BitmapReadAccess* pAcc;
sal_uInt16 nPalIndex; sal_uInt16 nPalIndex;
Octree() {}; Octree() {}
void CreatePalette( PNODE pNode ); void CreatePalette( PNODE pNode );
void GetPalIndex( PNODE pNode ); void GetPalIndex( PNODE pNode );
...@@ -94,11 +94,8 @@ private: ...@@ -94,11 +94,8 @@ private:
public: public:
Octree( const BitmapReadAccess& rReadAcc, sal_uLong nColors ); Octree( const BitmapReadAccess& rReadAcc, sal_uLong nColors );
Octree( sal_uLong nColors );
~Octree(); ~Octree();
void AddColor( const BitmapColor& rColor );
inline const BitmapPalette& GetPalette(); inline const BitmapPalette& GetPalette();
inline sal_uInt16 GetBestPaletteIndex( const BitmapColor& rColor ); inline sal_uInt16 GetBestPaletteIndex( const BitmapColor& rColor );
}; };
......
...@@ -75,18 +75,6 @@ ImpNodeCache::~ImpNodeCache() ...@@ -75,18 +75,6 @@ ImpNodeCache::~ImpNodeCache()
// - Octree - // - Octree -
// ---------- // ----------
Octree::Octree( sal_uLong nColors ) :
nMax ( nColors ),
nLeafCount ( 0L ),
pTree ( NULL ),
pAcc ( NULL )
{
pNodeCache = new ImpNodeCache( nColors );
memset( pReduce, 0, ( OCTREE_BITS + 1 ) * sizeof( PNODE ) );
}
// ------------------------------------------------------------------------
Octree::Octree( const BitmapReadAccess& rReadAcc, sal_uLong nColors ) : Octree::Octree( const BitmapReadAccess& rReadAcc, sal_uLong nColors ) :
nMax ( nColors ), nMax ( nColors ),
nLeafCount ( 0L ), nLeafCount ( 0L ),
...@@ -108,18 +96,6 @@ Octree::~Octree() ...@@ -108,18 +96,6 @@ Octree::~Octree()
// ------------------------------------------------------------------------ // ------------------------------------------------------------------------
void Octree::AddColor( const BitmapColor& rColor )
{
pColor = &(BitmapColor&) rColor;
nLevel = 0L;
ImplAdd( &pTree );
while( nLeafCount > nMax )
ImplReduce();
}
// ------------------------------------------------------------------------
void Octree::ImplCreateOctree() void Octree::ImplCreateOctree()
{ {
if( !!*pAcc ) if( !!*pAcc )
......
...@@ -236,10 +236,6 @@ protected: ...@@ -236,10 +236,6 @@ protected:
const SvXMLAutoStylePoolP& GetAutoStylePool() const { return rAutoStylePool; } const SvXMLAutoStylePoolP& GetAutoStylePool() const { return rAutoStylePool; }
public: public:
::rtl::OUString FindTextStyle(
const ::com::sun::star::uno::Reference <
::com::sun::star::beans::XPropertySet > & rPropSet,
sal_Bool& rbHasCharStyle ) const;
::rtl::OUString FindTextStyleAndHyperlink( ::rtl::OUString FindTextStyleAndHyperlink(
const ::com::sun::star::uno::Reference < const ::com::sun::star::uno::Reference <
::com::sun::star::beans::XPropertySet > & rPropSet, ::com::sun::star::beans::XPropertySet > & rPropSet,
......
...@@ -821,16 +821,6 @@ OUString XMLTextParagraphExport::FindTextStyleAndHyperlink( ...@@ -821,16 +821,6 @@ OUString XMLTextParagraphExport::FindTextStyleAndHyperlink(
return sName; return sName;
} }
OUString XMLTextParagraphExport::FindTextStyle(
const Reference < XPropertySet > & rPropSet,
sal_Bool& rHasCharStyle ) const
{
sal_Bool bDummy;
sal_Bool bDummy2;
return FindTextStyleAndHyperlink( rPropSet, bDummy, rHasCharStyle, bDummy2 );
}
// adjustments to support lists independent from list style // adjustments to support lists independent from list style
void XMLTextParagraphExport::exportListChange( void XMLTextParagraphExport::exportListChange(
const XMLTextNumRuleInfo& rPrevInfo, const XMLTextNumRuleInfo& rPrevInfo,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment