summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVasily Melenchuk <vasily.melenchuk@cib.de>2022-04-25 15:54:19 +0300
committerVasily Melenchuk <vasily.melenchuk@cib.de>2022-04-26 07:47:37 +0200
commit8b646cf931543093ba27e7aed7c8206d4b647a6d (patch)
tree1c6286ead0adb934297a0a863c5827ce00d5529b
parent67d8c245daf7c6ee33e908255f2bbd0ea8d08206 (diff)
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 <vasily.melenchuk@cib.de>
-rw-r--r--solenv/vs/LibreOffice.natvis16
1 files changed, 16 insertions, 0 deletions
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>