summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/misc/WExtendPages.cxx
diff options
context:
space:
mode:
authorOcke Janssen <oj@openoffice.org>2001-07-02 12:22:11 +0000
committerOcke Janssen <oj@openoffice.org>2001-07-02 12:22:11 +0000
commit2f4b72b96d74bef57c6dc14cbfa3e13e55d1cf5c (patch)
tree80d1eae4e8bc4eb7c21b306c9ba3ed08457746c2 /dbaccess/source/ui/misc/WExtendPages.cxx
parent9b2cd1d9ab27a02ea04344d916686f40a75a0443 (diff)
#88476# save name of object before recursive call
Diffstat (limited to 'dbaccess/source/ui/misc/WExtendPages.cxx')
-rw-r--r--dbaccess/source/ui/misc/WExtendPages.cxx49
1 files changed, 23 insertions, 26 deletions
diff --git a/dbaccess/source/ui/misc/WExtendPages.cxx b/dbaccess/source/ui/misc/WExtendPages.cxx
index c29fbfef3..493b74b77 100644
--- a/dbaccess/source/ui/misc/WExtendPages.cxx
+++ b/dbaccess/source/ui/misc/WExtendPages.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: WExtendPages.cxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: fme $ $Date: 2001-06-21 15:26:43 $
+ * last change: $Author: oj $ $Date: 2001-07-02 13:21:57 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -73,34 +73,26 @@
using namespace dbaui;
//========================================================================
-void OWizHTMLExtend::fillColumnList(sal_uInt32 nRows)
+SvParser* OWizHTMLExtend::createReader(sal_Int32 _nRows)
{
- sal_uInt32 nTell = m_pParserStream->Tell(); // verändert vielleicht die Position des Streams
- OHTMLReader *pReader = new OHTMLReader(*m_pParserStream,
- nRows,
- m_pParent->GetColumnPositions(),
- m_pParent->GetFormatter(),
- m_pParent->GetFactory());
- pReader->AddRef();
- pReader->CallParser();
- pReader->SetColumnTypes(m_pParent->getDestVector(),m_pParent->getTypeInfo());
- pReader->ReleaseRef();
- m_pParserStream->Seek(nTell);
+ return new OHTMLReader(*m_pParserStream,
+ _nRows,
+ m_pParent->GetColumnPositions(),
+ m_pParent->GetFormatter(),
+ m_pParent->GetFactory(),
+ m_pParent->getDestVector(),
+ m_pParent->getTypeInfo());
}
//========================================================================
-void OWizRTFExtend::fillColumnList(sal_uInt32 nRows)
+SvParser* OWizRTFExtend::createReader(sal_Int32 _nRows)
{
- sal_uInt32 nTell = m_pParserStream->Tell(); // verändert vielleicht die Position des Streams
- ORTFReader *pReader = new ORTFReader(*m_pParserStream,
- nRows,
- m_pParent->GetColumnPositions(),
- m_pParent->GetFormatter(),
- m_pParent->GetFactory());
- pReader->AddRef();
- pReader->CallParser();
- pReader->SetColumnTypes(m_pParent->getDestVector(),m_pParent->getTypeInfo());
- pReader->ReleaseRef();
- m_pParserStream->Seek(nTell);
+ return new ORTFReader(*m_pParserStream,
+ _nRows,
+ m_pParent->GetColumnPositions(),
+ m_pParent->GetFormatter(),
+ m_pParent->GetFactory(),
+ m_pParent->getDestVector(),
+ m_pParent->getTypeInfo());
}
//========================================================================
OWizNormalExtend::OWizNormalExtend(Window* pParent) : OWizTypeSelect( pParent)
@@ -119,6 +111,11 @@ OWizNormalExtend::OWizNormalExtend(Window* pParent) : OWizTypeSelect( pParent)
m_aTypeControl.SetPosSizePixel(aPos,aNewSize);
}
// -----------------------------------------------------------------------------
+SvParser* OWizNormalExtend::createReader(sal_Int32 _nRows)
+{
+ return NULL;
+}
+// -----------------------------------------------------------------------------