summaryrefslogtreecommitdiff
path: root/solenv/vs/LibreOffice.natvis
diff options
context:
space:
mode:
Diffstat (limited to 'solenv/vs/LibreOffice.natvis')
-rw-r--r--solenv/vs/LibreOffice.natvis7
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&lt;ErrCodeArea&gt;((m_value >> 13) &amp; 0x01fff),en}, class: {static_cast&lt;ErrCodeClass&gt;((m_value >> 8) &amp; 0x1f),en}, code: {m_value &amp; 0xff}</DisplayString>
+ <DisplayString Condition="m_value == 0">None</DisplayString>
+ <DisplayString IncludeView="dynamic" Condition="m_value &amp; (31UL &lt;&lt; 26)">dynamic: {(m_value >> 26) &amp; 31UL} </DisplayString>
+ <DisplayString IncludeView="dynamic"/>
+ <DisplayString IncludeView="detail">{{{*this,view(dynamic)}area: {static_cast&lt;ErrCodeArea>((m_value >> 13) &amp; 0x01fff),en}, class: {static_cast&lt;ErrCodeClass>((m_value >> 8) &amp; 0x1f),en}, code: {m_value &amp; 0xff}}}</DisplayString>
+ <DisplayString Condition="m_value &amp; 0x80000000UL">Warning: {*this,view(detail)}</DisplayString>
+ <DisplayString>Error: {*this,view(detail)}</DisplayString>
</Type>
</AutoVisualizer>