summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJ. Graeme Lingard <jgraeme+git@gmail.com>2011-03-05 18:05:38 +0000
committerJ. Graeme Lingard <jgraeme+git@gmail.com>2011-03-05 18:05:38 +0000
commit14b3638399d2665b4fc1d69eb3a74d1f726b9153 (patch)
tree1ac96df4adfae5b4e0520a9686c156c876083878
parent863a90f3811d1b2f68c7e14627a22f5357bfa464 (diff)
Remove 'added by' commentsLO-BASE-INTEGRATION-DEV300_M101gr2
-rw-r--r--dbaccess/source/ui/inc/DExport.hxx4
-rw-r--r--dbaccess/source/ui/inc/TableCopyHelper.hxx4
-rw-r--r--dbaccess/source/ui/inc/TokenWriter.hxx6
-rw-r--r--dbaccess/source/ui/inc/WCPage.hxx2
-rw-r--r--dbaccess/source/ui/misc/TableCopyHelper.cxx3
-rw-r--r--dbaccess/source/ui/misc/TokenWriter.cxx2
6 files changed, 6 insertions, 15 deletions
diff --git a/dbaccess/source/ui/inc/DExport.hxx b/dbaccess/source/ui/inc/DExport.hxx
index 34ff81b93..8a68652e0 100644
--- a/dbaccess/source/ui/inc/DExport.hxx
+++ b/dbaccess/source/ui/inc/DExport.hxx
@@ -165,10 +165,8 @@ namespace dbaui
);
void SetColumnTypes(const TColumnVector* rList,const OTypeInfoMap* _pInfoMap);
-
- //dyf add 20070601
+
inline void SetTableName(const ::rtl::OUString &_sTableName){ m_sDefaultTableName = _sTableName ; }
- //dyf add end
virtual void release() = 0;
diff --git a/dbaccess/source/ui/inc/TableCopyHelper.hxx b/dbaccess/source/ui/inc/TableCopyHelper.hxx
index 778739896..bedd9b261 100644
--- a/dbaccess/source/ui/inc/TableCopyHelper.hxx
+++ b/dbaccess/source/ui/inc/TableCopyHelper.hxx
@@ -81,10 +81,10 @@ namespace dbaui
struct DropDescriptor
{
::svx::ODataAccessDescriptor aDroppedData;
- //dyf add 20070601
+
//for transfor the tablename
::rtl::OUString sDefaultTableName;
- //dyf add end
+
String aUrl;
SotStorageStreamRef aHtmlRtfStorage;
ElementType nType;
diff --git a/dbaccess/source/ui/inc/TokenWriter.hxx b/dbaccess/source/ui/inc/TokenWriter.hxx
index 9b5aa78eb..5001f73a9 100644
--- a/dbaccess/source/ui/inc/TokenWriter.hxx
+++ b/dbaccess/source/ui/inc/TokenWriter.hxx
@@ -84,10 +84,10 @@ namespace dbaui
::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory> m_xFactory;
::rtl::OUString m_sName;
- //dyf add 20070601
+
//for transfor the tablename
::rtl::OUString m_sDefaultTableName;
- //dyf add end
+
::rtl::OUString m_sDataSourceName;
sal_Int32 m_nCommandType;
bool m_bNeedToReInitialize;
@@ -121,10 +121,8 @@ namespace dbaui
public:
void setStream(SvStream* _pStream){ m_pStream = _pStream; }
- //dyf add 20070601
//for set the tablename
void setSTableName(const ::rtl::OUString &_sTableName){ m_sDefaultTableName = _sTableName; }
- //dyf add end
virtual BOOL Write(); // Export
virtual BOOL Read(); // Import
diff --git a/dbaccess/source/ui/inc/WCPage.hxx b/dbaccess/source/ui/inc/WCPage.hxx
index c683e6b32..10d9ed49b 100644
--- a/dbaccess/source/ui/inc/WCPage.hxx
+++ b/dbaccess/source/ui/inc/WCPage.hxx
@@ -70,9 +70,7 @@ namespace dbaui
DECL_LINK( KeyClickHdl, Button* );
sal_Bool checkAppendData();
- //--------dyf add
void SetAppendDataRadio();
- //--------add end
public:
virtual void Reset();
diff --git a/dbaccess/source/ui/misc/TableCopyHelper.cxx b/dbaccess/source/ui/misc/TableCopyHelper.cxx
index bf7d3855e..15e1e422a 100644
--- a/dbaccess/source/ui/misc/TableCopyHelper.cxx
+++ b/dbaccess/source/ui/misc/TableCopyHelper.cxx
@@ -266,10 +266,9 @@ sal_Bool OTableCopyHelper::copyTagTable(OTableCopyHelper::DropDescriptor& _rDesc
if ( _bCheck )
pImport->enableCheckOnly();
- //dyf add 20070601
//set the selected tablename
pImport->setSTableName(_rDesc.sDefaultTableName);
- //dyf add end
+
pImport->setStream(pStream);
return pImport->Read();
}
diff --git a/dbaccess/source/ui/misc/TokenWriter.cxx b/dbaccess/source/ui/misc/TokenWriter.cxx
index f57061bd9..ed1c3eac5 100644
--- a/dbaccess/source/ui/misc/TokenWriter.cxx
+++ b/dbaccess/source/ui/misc/TokenWriter.cxx
@@ -736,9 +736,7 @@ BOOL OHTMLImportExport::Read()
((OHTMLReader*)m_pReader)->AddRef();
if ( isCheckEnabled() )
m_pReader->enableCheckOnly();
- //dyf add 20070601
m_pReader->SetTableName(m_sDefaultTableName);
- //dyf add end
eState = ((OHTMLReader*)m_pReader)->CallParser();
m_pReader->release();
m_pReader = NULL;