summaryrefslogtreecommitdiff
path: root/svx/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-08-08 11:47:38 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-08-08 13:04:46 +0100
commit135a208ba217d9b8ff13f47eab552c8ddfaec01a (patch)
tree2af1b16ea926e68e41b44b351ad444538976bf65 /svx/source
parent71b8b49170a949ed51ef0dfbb3daf9f0257ff3f7 (diff)
callcatcher: object is never constructed
Diffstat (limited to 'svx/source')
-rw-r--r--svx/source/xoutdev/xattr.cxx9
-rw-r--r--svx/source/xoutdev/xtabdash.cxx86
2 files changed, 3 insertions, 92 deletions
diff --git a/svx/source/xoutdev/xattr.cxx b/svx/source/xoutdev/xattr.cxx
index 4c77a8793150..b37320beed96 100644
--- a/svx/source/xoutdev/xattr.cxx
+++ b/svx/source/xoutdev/xattr.cxx
@@ -960,16 +960,13 @@ SvStream& XLineDashItem::Store( SvStream& rOut, sal_uInt16 nItemVersion ) const
/*************************************************************************
|*
-|* const XDash& XLineDashItem::GetValue(const XDashTable* pTable) const
+|* const XDash& XLineDashItem::GetValue() const
|*
*************************************************************************/
-const XDash& XLineDashItem::GetDashValue(const XDashTable* pTable) const // GetValue -> GetDashValue
+const XDash& XLineDashItem::GetDashValue() const
{
- if (!IsIndex())
- return aDash;
- else
- return pTable->GetDash(GetIndex())->GetDash();
+ return aDash;
}
//------------------------------------------------------------------------
diff --git a/svx/source/xoutdev/xtabdash.cxx b/svx/source/xoutdev/xtabdash.cxx
index 39034d467057..d4b9b78886cf 100644
--- a/svx/source/xoutdev/xtabdash.cxx
+++ b/svx/source/xoutdev/xtabdash.cxx
@@ -69,92 +69,6 @@ using ::rtl::OUString;
#define GLOBALOVERFLOW
sal_Unicode const pszExtDash[] = {'s','o','d'};
-char const aChckDash[] = { 0x04, 0x00, 'S','O','D','L'}; // < 5.2
-char const aChckDash0[] = { 0x04, 0x00, 'S','O','D','0'}; // = 5.2
-char const aChckXML[] = { '<', '?', 'x', 'm', 'l' }; // = 6.0
-
-// -----------------
-// class XDashTable
-// -----------------
-
-/*************************************************************************
-|*
-|* XDashTable::XDashTable()
-|*
-*************************************************************************/
-
-XDashTable::XDashTable(
- const String& rPath,
- XOutdevItemPool* pInPool,
- sal_uInt16 nInitSize,
- sal_uInt16 nReSize
-) :
- XPropertyTable( rPath, pInPool, nInitSize, nReSize )
-{
- pBmpTable = new Table( nInitSize, nReSize );
-}
-
-/************************************************************************/
-
-XDashTable::~XDashTable()
-{
-}
-
-/************************************************************************/
-
-XDashEntry* XDashTable::Replace(long nIndex, XDashEntry* pEntry )
-{
- return (XDashEntry*) XPropertyTable::Replace(nIndex, pEntry);
-}
-
-/************************************************************************/
-
-XDashEntry* XDashTable::Remove(long nIndex)
-{
- return (XDashEntry*) XPropertyTable::Remove(nIndex);
-}
-
-/************************************************************************/
-
-XDashEntry* XDashTable::GetDash(long nIndex) const
-{
- return (XDashEntry*) XPropertyTable::Get(nIndex, 0);
-}
-
-/************************************************************************/
-
-sal_Bool XDashTable::Load()
-{
- return( sal_False );
-}
-
-/************************************************************************/
-
-sal_Bool XDashTable::Save()
-{
- return( sal_False );
-}
-
-/************************************************************************/
-
-sal_Bool XDashTable::Create()
-{
- return( sal_False );
-}
-
-/************************************************************************/
-
-sal_Bool XDashTable::CreateBitmapsForUI()
-{
- return( sal_False );
-}
-
-/************************************************************************/
-
-Bitmap* XDashTable::CreateBitmapForUI( long /*nIndex*/, sal_Bool /*bDelete*/)
-{
- return( NULL );
-}
// ----------------
// class XDashList