summaryrefslogtreecommitdiff
path: root/basctl
diff options
context:
space:
mode:
authorAndras Timar <atimar@suse.com>2011-12-10 16:22:26 +0100
committerAndras Timar <atimar@suse.com>2011-12-10 22:25:26 +0100
commit8d0816f1cfc3929f261baa0840b9d16ed1b86576 (patch)
tree69f579b5231e44f63fab84825f0abdd62409c83a /basctl
parentb277d9a57e566c03f74dc6d82f2c0fe323eb83c2 (diff)
fix build with MSVC
Diffstat (limited to 'basctl')
-rw-r--r--basctl/source/basicide/bastypes.cxx2
1 files changed, 1 insertions, 1 deletions
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 );