diff options
author | dante <dante19031999@gmail.com> | 2021-03-09 19:23:35 +0100 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-03-15 07:30:00 +0100 |
commit | 50ef3d86ee8567bd5c84ff9aacc966675fe401cc (patch) | |
tree | 7b40d49cdc935f2a853d89626d8fcbe0168b8892 /starmath/source | |
parent | 8ef2414c37843c205dc925677db399553a3ac735 (diff) |
Provide node type with more analysis capabilities
Change-Id: I3b3b866a9fdf0b5d0b9f40c0ce9bddbaf2c0b1ca
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112235
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'starmath/source')
-rw-r--r-- | starmath/source/node.cxx | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/starmath/source/node.cxx b/starmath/source/node.cxx index 3687e74e0d35..922786adf9fd 100644 --- a/starmath/source/node.cxx +++ b/starmath/source/node.cxx @@ -26,20 +26,6 @@ #include <vcl/metric.hxx> #include <osl/diagnose.h> -bool starmathdatabase::isStructuralNode(SmNodeType ntype) -{ -// clang-format off -return ntype==SmNodeType::Table || ntype==SmNodeType::Line || ntype==SmNodeType::UnHor - || ntype==SmNodeType::BinHor || ntype==SmNodeType::BinVer - || ntype==SmNodeType::BinDiagonal || ntype==SmNodeType::SubSup - || ntype==SmNodeType::Matrix || ntype==SmNodeType::Root - || ntype==SmNodeType::Expression || ntype==SmNodeType::Brace - || ntype==SmNodeType::Bracebody || ntype==SmNodeType::Oper - || ntype==SmNodeType::Align || ntype==SmNodeType::Attribute - || ntype==SmNodeType::Font; -// clang-format on -} - namespace { template<typename F> |