summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/misc/HtmlReader.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-03-08 12:39:34 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-03-09 07:25:29 +0000
commit9b95093950436caebd45a06008929427869844fa (patch)
treeb5d08ffb144c208b5b6135258e0ca0a48b28acf7 /dbaccess/source/ui/misc/HtmlReader.cxx
parent967d0089a16ad236a0fb9f5bba7fafd2327745a9 (diff)
convert SvxCellHorJustify to scoped enum
Change-Id: I0dd88b5bf9e1aededfa2d94b6b2d3d26694fff33 Reviewed-on: https://gerrit.libreoffice.org/34968 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'dbaccess/source/ui/misc/HtmlReader.cxx')
-rw-r--r--dbaccess/source/ui/misc/HtmlReader.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/dbaccess/source/ui/misc/HtmlReader.cxx b/dbaccess/source/ui/misc/HtmlReader.cxx
index 6ab40504d6ee..11c36b66d404 100644
--- a/dbaccess/source/ui/misc/HtmlReader.cxx
+++ b/dbaccess/source/ui/misc/HtmlReader.cxx
@@ -316,13 +316,13 @@ void OHTMLReader::TableDataOn(SvxCellHorJustify& eVal)
{
const OUString& rOptVal = rOption.GetString();
if (rOptVal.equalsIgnoreAsciiCase( OOO_STRING_SVTOOLS_HTML_AL_right ))
- eVal = SVX_HOR_JUSTIFY_RIGHT;
+ eVal = SvxCellHorJustify::Right;
else if (rOptVal.equalsIgnoreAsciiCase( OOO_STRING_SVTOOLS_HTML_AL_center ))
- eVal = SVX_HOR_JUSTIFY_CENTER;
+ eVal = SvxCellHorJustify::Center;
else if (rOptVal.equalsIgnoreAsciiCase( OOO_STRING_SVTOOLS_HTML_AL_left ))
- eVal = SVX_HOR_JUSTIFY_LEFT;
+ eVal = SvxCellHorJustify::Left;
else
- eVal = SVX_HOR_JUSTIFY_STANDARD;
+ eVal = SvxCellHorJustify::Standard;
}
break;
case HTML_O_WIDTH:
@@ -449,7 +449,7 @@ bool OHTMLReader::CreateTable(int nToken)
aColumnName.clear();
m_sCurrent.clear();
- eVal = SVX_HOR_JUSTIFY_STANDARD;
+ eVal = SvxCellHorJustify::Standard;
bTableHeader = false;
}
break;