diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2018-12-18 11:35:32 +0100 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2018-12-18 13:59:05 +0100 |
commit | 081e27cac597d13f80a9e826fd15d3e8756a7f25 (patch) | |
tree | b9c51a4dfa0c21dfd9cab4bca674f3d95b4845ab /solenv/vs | |
parent | 6251e4080f4c1ed3bf1a5d615fc3ebdda4c87059 (diff) |
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.natvis | 10 |
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 < signed char >"> + <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 < const char* >( _pSequence->elements )</ValuePointer> + </ArrayItems> + </Expand> + </Type> <Type Name="com::sun::star::uno::Sequence < * >"> <DisplayString Condition="_pSequence->nElements == 0">Sequence (empty)</DisplayString> <DisplayString>Sequence of {_pSequence->nElements,d} {"$T1",sb}</DisplayString> |