diff options
author | Eike Rathke <erack@redhat.com> | 2016-06-10 14:12:22 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2016-06-10 14:12:59 +0200 |
commit | 189f2e52b8e194c12b182d9321f2efac4d04dfcd (patch) | |
tree | eec0161fd9edca0144fe58e2a77b95629ce27179 /formula | |
parent | ef9e713f6a06191d327dbf236fcc7607d16f61e3 (diff) |
assert on FormulaToken::GetDouble() virtual dummy
Change-Id: Ic31c2b943dcc6dfdaaefe3daa120c91cf29ce0e7
Diffstat (limited to 'formula')
-rw-r--r-- | formula/source/core/api/token.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/formula/source/core/api/token.cxx b/formula/source/core/api/token.cxx index 669575f23e14..72c0755a88e9 100644 --- a/formula/source/core/api/token.cxx +++ b/formula/source/core/api/token.cxx @@ -190,7 +190,8 @@ void FormulaToken::SetInForceArray( bool ) double FormulaToken::GetDouble() const { - SAL_WARN( "formula.core", "FormulaToken::GetDouble: virtual dummy called" ); + // This one is worth an assert. + assert( !"FormulaToken::GetDouble: virtual dummy called" ); return 0.0; } |