diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2003-08-13 16:23:23 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2003-08-13 16:23:23 +0000 |
commit | 487afe00ef5b2a969d3b296309125f981ee4a0a3 (patch) | |
tree | dd53ccdb700cc0482439bb2b08c5e49d974720f5 | |
parent | f9b851219cdc60ead87fa6c92e2f3a9cd1bdc9a1 (diff) |
INTEGRATION: CWS sb7 (1.3.58); FILE MERGED
2003/08/12 08:36:02 sb 1.3.58.1: #i16664# Warnings about unusable ToFloat/Double.
-rw-r--r-- | tools/source/string/tstring.cxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tools/source/string/tstring.cxx b/tools/source/string/tstring.cxx index 290e70eeefc1..5d139239114d 100644 --- a/tools/source/string/tstring.cxx +++ b/tools/source/string/tstring.cxx @@ -2,9 +2,9 @@ * * $RCSfile: tstring.cxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: hr $ $Date: 2003-03-27 17:04:53 $ + * last change: $Author: hr $ $Date: 2003-08-13 17:23:23 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -61,6 +61,7 @@ #include <string.h> +#include "osl/diagnose.h" #ifndef _OSL_INTERLCK_H #include <osl/interlck.h> #endif @@ -179,6 +180,7 @@ float ByteString::ToFloat() const { DBG_CHKTHIS( ByteString, DbgCheckByteString ); + OSL_ENSURE(false, "ByteString::ToFloat unusable"); return 0; } @@ -188,6 +190,7 @@ double ByteString::ToDouble() const { DBG_CHKTHIS( ByteString, DbgCheckByteString ); + OSL_ENSURE(false, "ByteString::ToDouble unusable"); return 0; } |