[Libreoffice-commits] core.git: formula/source
Eike Rathke
erack at redhat.com
Fri Jun 10 12:13:22 UTC 2016
formula/source/core/api/token.cxx | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 189f2e52b8e194c12b182d9321f2efac4d04dfcd
Author: Eike Rathke <erack at redhat.com>
Date: Fri Jun 10 14:12:22 2016 +0200
assert on FormulaToken::GetDouble() virtual dummy
Change-Id: Ic31c2b943dcc6dfdaaefe3daa120c91cf29ce0e7
diff --git a/formula/source/core/api/token.cxx b/formula/source/core/api/token.cxx
index 669575f..72c0755 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;
}
More information about the Libreoffice-commits
mailing list