From d98e014cf6d4cea7ebd7898cbc9124f6fba07684 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 6 Oct 2023 16:51:17 +0200 Subject: Extended loplugin:ostr manual changes I had done these a while ago, when I looked into extending loplugin:ostr to do more automatic rewriting, and these were places where I needed to do something manually, for one reason or another, because the automatic rewriting would not pick it up correctly. However, I got distracted, and a wholesale automatic rewrite would still run into cases where an _ostr/_ustr instance from a library's .rodata would still be referenced after the library has already been dlcose'd. So I never came around to finishing all that. But there appears to be renewed interest in (automatic) rewritings here now, so it probably makes sense if I share this part of my work anyway. Change-Id: I3da9d38398e4bca373cb0000a9d34b49a36ad58a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166792 Reviewed-by: Stephan Bergmann Tested-by: Jenkins --- include/vbahelper/vbahelperinterface.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/vbahelper') diff --git a/include/vbahelper/vbahelperinterface.hxx b/include/vbahelper/vbahelperinterface.hxx index 315fcd4f900b..c0aa106329c7 100644 --- a/include/vbahelper/vbahelperinterface.hxx +++ b/include/vbahelper/vbahelperinterface.hxx @@ -129,7 +129,7 @@ public: #define VBAHELPER_IMPL_XHELPERINTERFACE( classname, servicename ) \ OUString classname::getServiceImplName() \ { \ - return #classname; \ + return u"" #classname ""_ustr; \ } \ css::uno::Sequence< OUString > classname::getServiceNames() \ { \ -- cgit