summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/misc/TokenWriter.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-02-14 12:53:43 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-02-14 14:22:24 +0200
commit52305b662033ebbac6e09aa66622f7eef2bfccae (patch)
treed25c90e302557323ca821a45b3c13513752e2aa9 /dbaccess/source/ui/misc/TokenWriter.cxx
parent5a5940858e1f860101c5cb74921e44f2917b37c8 (diff)
convert SvParserState to scoped enum
and drop unused WAITFORDATA enumerator Change-Id: I658802d88a19dcc2d378456375810454e7426447
Diffstat (limited to 'dbaccess/source/ui/misc/TokenWriter.cxx')
-rw-r--r--dbaccess/source/ui/misc/TokenWriter.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/dbaccess/source/ui/misc/TokenWriter.cxx b/dbaccess/source/ui/misc/TokenWriter.cxx
index 8b63406349aa..e2edd92abd4e 100644
--- a/dbaccess/source/ui/misc/TokenWriter.cxx
+++ b/dbaccess/source/ui/misc/TokenWriter.cxx
@@ -590,7 +590,7 @@ void ORTFImportExport::appendRow(OString* pHorzChar,sal_Int32 _nColumnCount,sal_
bool ORTFImportExport::Read()
{
ODatabaseImportExport::Read();
- SvParserState eState = SVPAR_ERROR;
+ SvParserState eState = SvParserState::Error;
if ( m_pStream )
{
m_pReader = new ORTFReader((*m_pStream),m_xConnection,m_xFormatter,m_xContext);
@@ -602,7 +602,7 @@ bool ORTFImportExport::Read()
m_pReader = nullptr;
}
- return eState != SVPAR_ERROR;
+ return eState != SvParserState::Error;
}
const sal_Int16 OHTMLImportExport::nDefaultFontSize[SBA_HTML_FONTSIZES] =
@@ -661,7 +661,7 @@ bool OHTMLImportExport::Write()
bool OHTMLImportExport::Read()
{
ODatabaseImportExport::Read();
- SvParserState eState = SVPAR_ERROR;
+ SvParserState eState = SvParserState::Error;
if ( m_pStream )
{
m_pReader = new OHTMLReader((*m_pStream),m_xConnection,m_xFormatter,m_xContext);
@@ -674,7 +674,7 @@ bool OHTMLImportExport::Read()
m_pReader = nullptr;
}
- return eState != SVPAR_ERROR;
+ return eState != SvParserState::Error;
}
void OHTMLImportExport::WriteHeader()