summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/misc/HtmlReader.cxx
diff options
context:
space:
mode:
authorJelle van der Waa <jelle@vdwaa.nl>2013-08-17 23:43:14 +0200
committerPetr Mladek <pmladek@suse.cz>2013-08-27 16:11:09 +0000
commit2ec606730bc95b58390a609df0a88958869a4066 (patch)
tree9c530b3f6b200305ba224dda2d02c9bf5aca2233 /dbaccess/source/ui/misc/HtmlReader.cxx
parent434f3c8e7fac0644cfe1d7a15f97f0c267bac048 (diff)
fdo#62475 removed pointless comments
Conflicts: dbaccess/source/filter/xml/xmlfilter.cxx dbaccess/source/ui/dlg/ConnectionPage.cxx dbaccess/source/ui/dlg/detailpages.cxx dbaccess/source/ui/dlg/odbcconfig.cxx dbaccess/source/ui/querydesign/querycontroller.cxx Change-Id: I3a05649efa3a43dd8d8fb069fc1bce14ca0a6338 Reviewed-on: https://gerrit.libreoffice.org/5484 Reviewed-by: Petr Mladek <pmladek@suse.cz> Tested-by: Petr Mladek <pmladek@suse.cz>
Diffstat (limited to 'dbaccess/source/ui/misc/HtmlReader.cxx')
-rw-r--r--dbaccess/source/ui/misc/HtmlReader.cxx27
1 files changed, 10 insertions, 17 deletions
diff --git a/dbaccess/source/ui/misc/HtmlReader.cxx b/dbaccess/source/ui/misc/HtmlReader.cxx
index 2938000d2063..63a6fca44189 100644
--- a/dbaccess/source/ui/misc/HtmlReader.cxx
+++ b/dbaccess/source/ui/misc/HtmlReader.cxx
@@ -66,11 +66,8 @@ using namespace ::com::sun::star::awt;
#define DBAUI_HTML_FONTSIZES 8 // like export, HTML-Options
-// ==========================================================================
DBG_NAME(OHTMLReader)
-// ==========================================================================
// OHTMLReader
-// ==========================================================================
OHTMLReader::OHTMLReader(SvStream& rIn,const SharedConnection& _rxConnection,
const Reference< ::com::sun::star::util::XNumberFormatter >& _rxNumberF,
const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& _rxContext,
@@ -89,7 +86,7 @@ OHTMLReader::OHTMLReader(SvStream& rIn,const SharedConnection& _rxConnection,
// If the file starts with a BOM, switch to UCS2.
SetSwitchToUCS2( sal_True );
}
-// ---------------------------------------------------------------------------
+
OHTMLReader::OHTMLReader(SvStream& rIn,
sal_Int32 nRows,
const TPositions &_rColumnPositions,
@@ -111,12 +108,12 @@ OHTMLReader::OHTMLReader(SvStream& rIn,
// If the file starts with a BOM, switch to UCS2.
SetSwitchToUCS2( sal_True );
}
-// ---------------------------------------------------------------------------
+
OHTMLReader::~OHTMLReader()
{
DBG_DTOR(OHTMLReader,NULL);
}
-// ---------------------------------------------------------------------------
+
SvParserState OHTMLReader::CallParser()
{
SAL_INFO("dbaccess.ui", "OHTMLReader::CallParser" );
@@ -127,7 +124,7 @@ SvParserState OHTMLReader::CallParser()
SetColumnTypes(m_pColumnList,m_pInfoMap);
return m_bFoundTable ? eParseState : SVPAR_ERROR;
}
-// -----------------------------------------------------------------------------
+
void OHTMLReader::NextToken( int nToken )
{
SAL_INFO("dbaccess.ui", "OHTMLReader::NextToken" );
@@ -239,7 +236,6 @@ void OHTMLReader::NextToken( int nToken )
m_pUpdateHelper->insertRow();
}
catch(SQLException& e)
- //////////////////////////////////////////////////////////////////////
// handling update failure
{
showErrorDialog(e);
@@ -297,7 +293,7 @@ void OHTMLReader::NextToken( int nToken )
}
}
}
-// -----------------------------------------------------------------------------
+
void OHTMLReader::fetchOptions()
{
SAL_INFO("dbaccess.ui", "OHTMLReader::fetchOptions" );
@@ -320,7 +316,7 @@ void OHTMLReader::fetchOptions()
}
}
}
-//---------------------------------------------------------------------------------
+
void OHTMLReader::TableDataOn(SvxCellHorJustify& eVal)
{
SAL_INFO("dbaccess.ui", "OHTMLReader::TableDataOn" );
@@ -351,7 +347,6 @@ void OHTMLReader::TableDataOn(SvxCellHorJustify& eVal)
}
}
-//---------------------------------------------------------------------------------
void OHTMLReader::TableFontOn(FontDescriptor& _rFont,sal_Int32 &_rTextColor)
{
SAL_INFO("dbaccess.ui", "OHTMLReader::TableFontOn" );
@@ -401,7 +396,7 @@ void OHTMLReader::TableFontOn(FontDescriptor& _rFont,sal_Int32 &_rTextColor)
}
}
}
-// ---------------------------------------------------------------------------
+
sal_Int16 OHTMLReader::GetWidthPixel( const HTMLOption& rOption )
{
SAL_INFO("dbaccess.ui", "OHTMLReader::GetWidthPixel" );
@@ -423,7 +418,7 @@ sal_Int16 OHTMLReader::GetWidthPixel( const HTMLOption& rOption )
return (sal_Int16)rOption.GetNumber(); // pixel
}
}
-// ---------------------------------------------------------------------------
+
sal_Bool OHTMLReader::CreateTable(int nToken)
{
SAL_INFO("dbaccess.ui", "OHTMLReader::CreateTable" );
@@ -534,7 +529,7 @@ sal_Bool OHTMLReader::CreateTable(int nToken)
return !executeWizard(aTableName,makeAny(nTextColor),aFont) && m_xTable.is();
}
-// -----------------------------------------------------------------------------
+
void OHTMLReader::setTextEncoding()
{
SAL_INFO("dbaccess.ui", "OHTMLReader::setTextEncoding" );
@@ -543,20 +538,18 @@ void OHTMLReader::setTextEncoding()
ParseMetaOptions(NULL, NULL);
}
-// -----------------------------------------------------------------------------
void OHTMLReader::release()
{
SAL_INFO("dbaccess.ui", "OHTMLReader::release" );
DBG_CHKTHIS(OHTMLReader,NULL);
ReleaseRef();
}
-// -----------------------------------------------------------------------------
+
TypeSelectionPageFactory OHTMLReader::getTypeSelectionPageFactory()
{
SAL_INFO("dbaccess.ui", "OHTMLReader::getTypeSelectionPageFactory" );
DBG_CHKTHIS(OHTMLReader,NULL);
return &OWizHTMLExtend::Create;
}
-// -----------------------------------------------------------------------------
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */