diff options
Diffstat (limited to 'solenv/vs/LibreOffice.natvis')
-rw-r--r-- | solenv/vs/LibreOffice.natvis | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/solenv/vs/LibreOffice.natvis b/solenv/vs/LibreOffice.natvis index a9b9f561b791..549d5c96c9c7 100644 --- a/solenv/vs/LibreOffice.natvis +++ b/solenv/vs/LibreOffice.natvis @@ -469,6 +469,11 @@ </Expand> </Type> <Type Name="ErrCode"> - <DisplayString>Area: {static_cast<ErrCodeArea>((m_value >> 13) & 0x01fff),en}, class: {static_cast<ErrCodeClass>((m_value >> 8) & 0x1f),en}, code: {m_value & 0xff}</DisplayString> + <DisplayString Condition="m_value == 0">None</DisplayString> + <DisplayString IncludeView="dynamic" Condition="m_value & (31UL << 26)">dynamic: {(m_value >> 26) & 31UL} </DisplayString> + <DisplayString IncludeView="dynamic"/> + <DisplayString IncludeView="detail">{{{*this,view(dynamic)}area: {static_cast<ErrCodeArea>((m_value >> 13) & 0x01fff),en}, class: {static_cast<ErrCodeClass>((m_value >> 8) & 0x1f),en}, code: {m_value & 0xff}}}</DisplayString> + <DisplayString Condition="m_value & 0x80000000UL">Warning: {*this,view(detail)}</DisplayString> + <DisplayString>Error: {*this,view(detail)}</DisplayString> </Type> </AutoVisualizer> |