[Libreoffice-commits] core.git: solenv/vs
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Tue Dec 18 12:59:31 UTC 2018
solenv/vs/LibreOffice.natvis | 10 ++++++++++
1 file changed, 10 insertions(+)
New commits:
commit 081e27cac597d13f80a9e826fd15d3e8756a7f25
Author: Mike Kaganski <mike.kaganski at collabora.com>
AuthorDate: Tue Dec 18 11:35:32 2018 +0100
Commit: Mike Kaganski <mike.kaganski at collabora.com>
CommitDate: Tue Dec 18 13:59:05 2018 +0100
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 at collabora.com>
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>
More information about the Libreoffice-commits
mailing list