summaryrefslogtreecommitdiffstats
path: root/solenv/vs
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2018-02-21 00:43:13 +0300
committerMike Kaganski <mike.kaganski@collabora.com>2018-02-21 05:45:08 +0100
commitfd20935bb819cb24e71f4f91b97149c35bc5987d (patch)
treea1fe52d225b238c858424a6bcb70afa0348797f4 /solenv/vs
parentIncrease delta value for these checks (diff)
downloadcore-fd20935bb819cb24e71f4f91b97149c35bc5987d.tar.gz
core-fd20935bb819cb24e71f4f91b97149c35bc5987d.zip
Update LibreOffice.natvis
Change-Id: I46a976de94508dd2b79c9dcb19d25d307f4c732c Reviewed-on: https://gerrit.libreoffice.org/50067 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'solenv/vs')
-rw-r--r--solenv/vs/LibreOffice.natvis7
1 files changed, 7 insertions, 0 deletions
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>