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

New commits:
commit 081e27cac597d13f80a9e826fd15d3e8756a7f25
Author:     Mike Kaganski <[email protected]>
AuthorDate: Tue Dec 18 11:35:32 2018 +0100
Commit:     Mike Kaganski <[email protected]>
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 <[email protected]>

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>
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to