[Libreoffice-commits] core.git: solenv/vs

Mike Kaganski mike.kaganski at collabora.com
Wed Feb 21 04:45:32 UTC 2018


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

New commits:
commit fd20935bb819cb24e71f4f91b97149c35bc5987d
Author: Mike Kaganski <mike.kaganski at collabora.com>
Date:   Wed Feb 21 00:43:13 2018 +0300

    Update LibreOffice.natvis
    
    Change-Id: I46a976de94508dd2b79c9dcb19d25d307f4c732c
    Reviewed-on: https://gerrit.libreoffice.org/50067
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Mike Kaganski <mike.kaganski at collabora.com>

diff --git a/solenv/vs/LibreOffice.natvis b/solenv/vs/LibreOffice.natvis
index d1b2b8938b11..ad45cbe19432 100644
--- a/solenv/vs/LibreOffice.natvis
+++ b/solenv/vs/LibreOffice.natvis
@@ -102,6 +102,13 @@
   <Type Name="SwRect">
     <DisplayString>{m_Point}, {m_Size}</DisplayString>
   </Type>
+  <Type Name="tools::Rectangle">
+    <DisplayString IncludeView="w">{nRight==-32767?0:(nRight-nLeft+(nLeft>nRight?(-1):(1)))}</DisplayString>
+    <DisplayString IncludeView="h">{nBottom==-32767?0:(nBottom-nTop+(nTop>nBottom?(-1):(1)))}</DisplayString>
+    <DisplayString IncludeView="sz" Condition="nRight==-32767 || nBottom==-32767">empty</DisplayString>
+    <DisplayString IncludeView="sz">{*this,view(w)nd} x {*this,view(h)nd}</DisplayString>
+    <DisplayString>{{ LT=[{nLeft} , {nTop}] RB=[{nRight} , {nBottom}] [{*this,view(sz)}] }}</DisplayString>
+  </Type>
   <Type Name="_sal_Sequence">
     <DisplayString Condition="nElements == 0">_sal_Sequence (empty)</DisplayString>
     <DisplayString>_sal_Sequence of {nElements,d} elements</DisplayString>


More information about the Libreoffice-commits mailing list