DBG_UTIL implementation differs only by never-wrong assert
Change-Id: Ifb879d6536c80f00da61707fb0aa0700dcd19bcc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158288 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
This commit is contained in:
parent
949f0d9cf2
commit
6448c83a87
2 changed files with 1 additions and 14 deletions
|
@ -349,13 +349,10 @@ public:
|
|||
|
||||
/// ResId
|
||||
SwFieldIds Which() const
|
||||
#ifdef DBG_UTIL
|
||||
; // implemented in fldbas.cxx
|
||||
#else
|
||||
{
|
||||
assert(m_pType);
|
||||
return m_pType->Which();
|
||||
}
|
||||
#endif
|
||||
|
||||
// TYP_ID
|
||||
SwFieldTypesEnum GetTypeId() const;
|
||||
|
|
|
@ -257,16 +257,6 @@ SwField::~SwField()
|
|||
{
|
||||
}
|
||||
|
||||
// instead of indirectly via the type
|
||||
|
||||
#ifdef DBG_UTIL
|
||||
SwFieldIds SwField::Which() const
|
||||
{
|
||||
assert(m_pType);
|
||||
return m_pType->Which();
|
||||
}
|
||||
#endif
|
||||
|
||||
SwFieldTypesEnum SwField::GetTypeId() const
|
||||
{
|
||||
|
||||
|
|
Loading…
Reference in a new issue