/*
*******************************************************************************
-* Copyright (C) 1997-2013, International Business Machines Corporation and *
-* others. All Rights Reserved. *
+* Copyright (C) 1997-2016, International Business Machines Corporation and
+* others. All Rights Reserved.
*******************************************************************************
*
* File FMTABLE.CPP
#include "cstring.h"
#include "decNumber.h"
#include "digitlst.h"
+#include "fmtableimp.h"
// *****************************************************************************
// class Formattable
UOBJECT_DEFINE_RTTI_IMPLEMENTATION(Formattable)
-#include "fmtableimp.h"
//-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
return ((const Measure*) fValue.fObject)->
getNumber().getLong(status);
}
- default:
+ U_FALLTHROUGH;
+ default:
status = U_INVALID_FORMAT_ERROR;
return 0;
}
return ((const Measure*) fValue.fObject)->
getNumber().getInt64(status);
}
- default:
+ U_FALLTHROUGH;
+ default:
status = U_INVALID_FORMAT_ERROR;
return 0;
}
return ((const Measure*) fValue.fObject)->
getNumber().getDouble(status);
}
- default:
+ U_FALLTHROUGH;
+ default:
status = U_INVALID_FORMAT_ERROR;
return 0;
}