From 8d0816f1cfc3929f261baa0840b9d16ed1b86576 Mon Sep 17 00:00:00 2001 From: Andras Timar Date: Sat, 10 Dec 2011 16:22:26 +0100 Subject: fix build with MSVC --- basctl/source/basicide/bastypes.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'basctl/source') diff --git a/basctl/source/basicide/bastypes.cxx b/basctl/source/basicide/bastypes.cxx index c23b22f96e12..f1987d19de87 100644 --- a/basctl/source/basicide/bastypes.cxx +++ b/basctl/source/basicide/bastypes.cxx @@ -756,7 +756,7 @@ bool QueryDel( const ::rtl::OUString& rName, const ResId& rId, Window* pParent ) ::rtl::OUString aQuery( ResId::toString(rId) ); ::rtl::OUStringBuffer aNameBuf( rName ); aNameBuf.append('\''); - aNameBuf.insert(0, '\''); + aNameBuf.insert(sal_Int32(0), sal_Unicode('\'')); aQuery = ::comphelper::string::replace(aQuery, ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( "XX")), aNameBuf.makeStringAndClear()); QueryBox aQueryBox( pParent, WB_YES_NO | WB_DEF_YES, aQuery ); return ( aQueryBox.Execute() == RET_YES ); -- cgit