summaryrefslogtreecommitdiff
path: root/sc/inc/token.hxx
diff options
context:
space:
mode:
authorJochen Nitschke <j.nitschke+logerrit@ok.de>2017-04-01 10:05:30 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-04-03 06:33:51 +0000
commitb7b2c95fbc376ecea60b91e3e04fd52428258137 (patch)
tree081877af774e8939bd90781db3a80081dd072f7a /sc/inc/token.hxx
parentd7869e561100efee7e4bd747934d6757e67dc0d9 (diff)
remove hack for non DBG_UTIL builds
always use a 8bit enum for StackVar correct StackVar types for opcode opSep and opClose in unit test and test them. Change-Id: I89fac97d791eb12667ce5218ff31e798c8711e10 Reviewed-on: https://gerrit.libreoffice.org/36000 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/inc/token.hxx')
-rw-r--r--sc/inc/token.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/inc/token.hxx b/sc/inc/token.hxx
index 147bba46730d..7c082010ea93 100644
--- a/sc/inc/token.hxx
+++ b/sc/inc/token.hxx
@@ -320,7 +320,7 @@ public:
{
return xUpperLeft ?
xUpperLeft->GetType() :
- static_cast<formula::StackVar>(formula::svUnknown);
+ formula::svUnknown;
}
const formula::FormulaConstTokenRef& GetUpperLeftToken() const { return xUpperLeft; }
void Assign( const ScMatrixCellResultToken & r );