summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2022-05-12 10:02:23 +0100
committerMike Kaganski <mike.kaganski@collabora.com>2022-05-12 13:39:59 +0200
commit1ef99f117def74c52709b54ba971b4e348b14bad (patch)
tree77919c199b576d7d47ab1d6511b1c29f3a957f7b
parente9fd1f8c6a70d527e94c89dc57aeb02f1886ecd7 (diff)
Create a visualizer for OUStringLiteral
... and adjust _rtl_uString visualizer to use 'u' prefix, not 'L' Change-Id: Ie3b5de9c69fea8588503f22d1d367a28148d7f3c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134178 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
-rw-r--r--solenv/vs/LibreOffice.natvis8
1 files changed, 6 insertions, 2 deletions
diff --git a/solenv/vs/LibreOffice.natvis b/solenv/vs/LibreOffice.natvis
index 6dcfea5818b5..cca25a146212 100644
--- a/solenv/vs/LibreOffice.natvis
+++ b/solenv/vs/LibreOffice.natvis
@@ -18,14 +18,18 @@
</Type>
<Type Name="_rtl_uString">
<DisplayString Condition="length == 0">empty</DisplayString>
- <DisplayString>{buffer,[length]su}</DisplayString>
- <StringView>buffer,[length]su</StringView>
+ <DisplayString>u"{buffer,[length]sub}"</DisplayString>
+ <StringView>buffer,[length]sub</StringView>
</Type>
<Type Name="_rtl_String">
<DisplayString Condition="length == 0">empty</DisplayString>
<DisplayString>{buffer,[length]s}</DisplayString>
<StringView>buffer,[length]s</StringView>
</Type>
+ <Type Name="rtl::OUStringLiteral &lt; * &gt;">
+ <DisplayString>{str}</DisplayString>
+ <StringView>str</StringView>
+ </Type>
<Type Name="_uno_Any">
<!--
typelib_TypeClass_VOID = 0,