summaryrefslogtreecommitdiff
path: root/vcl/source/app
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2023-03-30 10:42:07 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2023-03-30 13:36:59 +0000
commita5084d15e1b72e303e1628fbff84432036b014a9 (patch)
tree00320f981c20f361b304b4fa2153fdde71e024a2 /vcl/source/app
parent6ffdcbdd29f014fcce290dfdb969fb6ff66a95ed (diff)
loplugin:stringadd in vcl
when applying my upcoming patch to also consider O[U]StringBuffer Change-Id: I44ce7183e4b292269fac1e3d2217286bf5abe823 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149752 Tested-by: Noel Grandin <noel.grandin@collabora.co.uk> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/source/app')
-rw-r--r--vcl/source/app/svmain.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/vcl/source/app/svmain.cxx b/vcl/source/app/svmain.cxx
index 571be29579bc..ab461912724f 100644
--- a/vcl/source/app/svmain.cxx
+++ b/vcl/source/app/svmain.cxx
@@ -456,13 +456,13 @@ void DeInitVCL()
nBadTopWindows--;
else
{
- aBuf.append( "text = \"" );
- aBuf.append( OUStringToOString( pWin->GetText(), osl_getThreadTextEncoding() ) );
- aBuf.append( "\" type = \"" );
- aBuf.append( typeid(*pWin).name() );
- aBuf.append( "\", ptr = 0x" );
- aBuf.append( reinterpret_cast<sal_Int64>( pWin ), 16 );
- aBuf.append( "\n" );
+ aBuf.append( "text = \""
+ + OUStringToOString( pWin->GetText(), osl_getThreadTextEncoding() )
+ + "\" type = \""
+ + typeid(*pWin).name()
+ + "\", ptr = 0x"
+ + OString::number(reinterpret_cast<sal_Int64>( pWin ), 16 )
+ + "\n" );
}
}
SAL_WARN_IF( nBadTopWindows!=0, "vcl", aBuf.getStr() );