summaryrefslogtreecommitdiffstats
path: root/solenv/vs
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2018-12-18 11:35:32 +0100
committerMike Kaganski <mike.kaganski@collabora.com>2018-12-18 13:59:05 +0100
commit081e27cac597d13f80a9e826fd15d3e8756a7f25 (patch)
treeb9c51a4dfa0c21dfd9cab4bca674f3d95b4845ab /solenv/vs
parentQt5 fix SalGraphics::invert (diff)
downloadcore-081e27cac597d13f80a9e826fd15d3e8756a7f25.tar.gz
core-081e27cac597d13f80a9e826fd15d3e8756a7f25.zip
Natvis: VS has trouble showing sequence of signed char
Provide a visualizer specialization for this case Change-Id: I54c293972c7e883b8328958f748dba5f2dbd0636 Reviewed-on: https://gerrit.libreoffice.org/65327 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'solenv/vs')
-rw-r--r--solenv/vs/LibreOffice.natvis10
1 files changed, 10 insertions, 0 deletions
diff --git a/solenv/vs/LibreOffice.natvis b/solenv/vs/LibreOffice.natvis
index 409ccd5919c8..8640779ac7bd 100644
--- a/solenv/vs/LibreOffice.natvis
+++ b/solenv/vs/LibreOffice.natvis
@@ -113,6 +113,16 @@
<DisplayString Condition="nElements == 0">_sal_Sequence (empty)</DisplayString>
<DisplayString>_sal_Sequence of {nElements,d} elements</DisplayString>
</Type>
+ <Type Name="com::sun::star::uno::Sequence &lt; signed char &gt;">
+ <DisplayString Condition="_pSequence->nElements == 0">Sequence (empty)</DisplayString>
+ <DisplayString>Sequence of {_pSequence->nElements,d} signed char</DisplayString>
+ <Expand>
+ <ArrayItems>
+ <Size>_pSequence->nElements</Size>
+ <ValuePointer>reinterpret_cast &lt; const char* &gt;( _pSequence->elements )</ValuePointer>
+ </ArrayItems>
+ </Expand>
+ </Type>
<Type Name="com::sun::star::uno::Sequence &lt; * &gt;">
<DisplayString Condition="_pSequence->nElements == 0">Sequence (empty)</DisplayString>
<DisplayString>Sequence of {_pSequence->nElements,d} {"$T1",sb}</DisplayString>