summaryrefslogtreecommitdiff
path: root/solenv
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2018-02-21 00:43:13 +0300
committerAndras Timar <andras.timar@collabora.com>2018-03-25 20:13:14 +0200
commit3ac438cde11c4cbe32a1c09e9fe885a0b0accc2c (patch)
treedccc036852741723346552b52b5f514c08b6f545 /solenv
parent62cf24fbd48064e3ba309109a92a2c408ae654b6 (diff)
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> (cherry picked from commit fd20935bb819cb24e71f4f91b97149c35bc5987d)
Diffstat (limited to 'solenv')
-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 04350ccb6019..03aae0fca6b7 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>