solenv/vs/LibreOffice.natvis |   16 ++++++++++++++++
 1 file changed, 16 insertions(+)

New commits:
commit 8b646cf931543093ba27e7aed7c8206d4b647a6d
Author:     Vasily Melenchuk <[email protected]>
AuthorDate: Mon Apr 25 15:54:19 2022 +0300
Commit:     Vasily Melenchuk <[email protected]>
CommitDate: Tue Apr 26 07:47:37 2022 +0200

    natvis: some extra patterns for SvRefs<...> and writerfilter
    
    Change-Id: I077232d641fee38da0f50cb838091c0fd0787189
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133416
    Tested-by: Jenkins
    Reviewed-by: Vasily Melenchuk <[email protected]>

diff --git a/solenv/vs/LibreOffice.natvis b/solenv/vs/LibreOffice.natvis
index 0962c1c441fb..6dcfea5818b5 100644
--- a/solenv/vs/LibreOffice.natvis
+++ b/solenv/vs/LibreOffice.natvis
@@ -410,6 +410,22 @@
       <Item Name='Type'>maType</Item>
     </Expand>
   </Type>
+  <Type Name='writerfilter::rtftok::RTFSprms'>
+    <DisplayString>{{Params: {m_pSprms.pObj->size()}}}</DisplayString>
+    <Expand>
+      <ArrayItems>
+        <Size>m_pSprms.pObj->size()</Size>
+        <ValuePointer>m_pSprms.pObj->_Mypair._Myval2._Myfirst</ValuePointer>
+      </ArrayItems>
+    </Expand>
+  </Type>
+  <Type Name='tools::SvRef&lt;*&gt;'>
+    <DisplayString Condition="pObj!=nullptr">{*pObj}</DisplayString>
+    <DisplayString Condition="pObj==nullptr">nullptr</DisplayString>
+    <Expand>
+      <ExpandedItem Condition="pObj!=nullptr">*pObj</ExpandedItem>
+    </Expand>
+  </Type>
   <Type Name='SwFrame'>
     <DisplayString IncludeView='min'>{mnFrameType,en} of 
{mpUpper->mnFrameType,en} {(void*)mpUpper}</DisplayString>
     <DisplayString Condition='!mpUpper'>{{{mnFrameType,en}}}</DisplayString>

Reply via email to