summaryrefslogtreecommitdiff
path: root/lotuswordpro
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-07-28 09:03:03 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-07-28 09:03:03 +0100
commitda1bc73d5fdd6c849dce5df263645f5774966a1d (patch)
treef619d61ec4cbd459a943a8abe30b00e36403fadf /lotuswordpro
parenta1f516893b68787269fef603ed13e0912b0cd5ce (diff)
callcatcher: ditch various unused methods
Diffstat (limited to 'lotuswordpro')
-rw-r--r--lotuswordpro/source/filter/lwpoleobject.cxx46
-rw-r--r--lotuswordpro/source/filter/lwpoleobject.hxx2
-rw-r--r--lotuswordpro/source/filter/xfilter/xflist.cxx29
-rw-r--r--lotuswordpro/source/filter/xfilter/xflist.hxx8
4 files changed, 0 insertions, 85 deletions
diff --git a/lotuswordpro/source/filter/lwpoleobject.cxx b/lotuswordpro/source/filter/lwpoleobject.cxx
index 80c911c3f86c..4d80320e191b 100644
--- a/lotuswordpro/source/filter/lwpoleobject.cxx
+++ b/lotuswordpro/source/filter/lwpoleobject.cxx
@@ -275,52 +275,6 @@ void LwpOleObject::RegisterStyle()
{
}
-
-#include <sot/exchange.hxx>
-#include <sot/storinfo.hxx>
-#include <svtools/wmf.hxx>
-/**
-* @descr: For SODC_2667, To get the OLE object size by reading OLE object picture information.
-*/
-Rectangle LwpOleObject::GetOLEObjectSize( SotStorage * pStor ) const
-{
- Rectangle aSize(0,0,0,0);
- String aStreamName;
- if( pStor->IsContained( String::CreateFromAscii( RTL_CONSTASCII_STRINGPARAM( "\002OlePres000" ) ) ) )
- aStreamName = String::CreateFromAscii( RTL_CONSTASCII_STRINGPARAM( "\002OlePres000" ) );
- else if( pStor->IsContained( String::CreateFromAscii( RTL_CONSTASCII_STRINGPARAM( "\1Ole10Native" ) ) ) )
- aStreamName = String::CreateFromAscii( RTL_CONSTASCII_STRINGPARAM( "\1Ole10Native" ) );
-
- if( aStreamName.Len() == 0 )
- return aSize;
-
-
- for( sal_uInt16 i = 1; i < 10; i++ )
- {
- SotStorageStreamRef xStm = pStor->OpenSotStream( aStreamName,
- STREAM_READ | STREAM_NOCREATE );
- if( xStm->GetError() )
- break;
-
- xStm->SetBufferSize( 8192 );
- LwpOlePres * pEle = new LwpOlePres( 0 );
- if( pEle->Read( *xStm ) && !xStm->GetError() )
- {
- if( pEle->GetFormat() == FORMAT_GDIMETAFILE || pEle->GetFormat() == FORMAT_BITMAP )
- {
- aSize = Rectangle( Point(), pEle->GetSize());
- delete pEle;
- break;
- }
- }
- delete pEle;
- pEle = NULL;
- aStreamName = String::CreateFromAscii( RTL_CONSTASCII_STRINGPARAM( "\002OlePres00" ) );
- aStreamName += String( i );
- };
-
- return aSize;
-}
/**
* @descr: Read OLE object picture information
*/
diff --git a/lotuswordpro/source/filter/lwpoleobject.hxx b/lotuswordpro/source/filter/lwpoleobject.hxx
index 96afa3301e0a..b3b13e505362 100644
--- a/lotuswordpro/source/filter/lwpoleobject.hxx
+++ b/lotuswordpro/source/filter/lwpoleobject.hxx
@@ -129,8 +129,6 @@ public:
virtual void RegisterStyle();
void GetGrafOrgSize(double& rWidth, double& rHeight) ;
private:
- Rectangle GetOLEObjectSize( SotStorage * pStor ) const;
-
sal_uInt16 cPersistentFlags;
Rectangle m_SizeRect;
diff --git a/lotuswordpro/source/filter/xfilter/xflist.cxx b/lotuswordpro/source/filter/xfilter/xflist.cxx
index f85dbcff5dce..943b72607b0e 100644
--- a/lotuswordpro/source/filter/xfilter/xflist.cxx
+++ b/lotuswordpro/source/filter/xfilter/xflist.cxx
@@ -156,33 +156,4 @@ void XFList::EndList(IXFStream *pStrm)
pStrm->EndElement( A2OUSTR("text:unordered-list") );
}
-void XFList::StartListHeader(IXFStream *pStrm)
-{
- IXFAttrList *pAttrList = pStrm->GetAttrList();
- pAttrList->Clear();
-
- pStrm->StartElement( A2OUSTR("text:list-header") );
-}
-
-void XFList::EndListHeader(IXFStream *pStrm)
-{
- IXFAttrList *pAttrList = pStrm->GetAttrList();
- pAttrList->Clear();
-
- pStrm->EndElement( A2OUSTR("text:list-header") );
-}
-
-void XFList::StartListItem(IXFStream *pStrm)
-{
- IXFAttrList *pAttrList = pStrm->GetAttrList();
- assert(NULL!=pAttrList);
-
- pAttrList->Clear();
- pStrm->StartElement( A2OUSTR("text:list-item") );
-}
-
-void XFList::EndListItem(IXFStream *pStrm)
-{
- pStrm->EndElement( A2OUSTR("text:list-item") );
-}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/lotuswordpro/source/filter/xfilter/xflist.hxx b/lotuswordpro/source/filter/xfilter/xflist.hxx
index db739a3e0c50..71fccc792701 100644
--- a/lotuswordpro/source/filter/xfilter/xflist.hxx
+++ b/lotuswordpro/source/filter/xfilter/xflist.hxx
@@ -113,14 +113,6 @@ public:
virtual void EndList(IXFStream *pStrm);
- static void StartListHeader(IXFStream *pStrm);
-
- static void EndListHeader(IXFStream *pStrm);
-
- static void StartListItem(IXFStream *pStrm);
-
- static void EndListItem(IXFStream *pStrm);
-
private:
sal_Bool m_bOrdered;
sal_Bool m_bContinueNumber;