summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2010-11-12 11:20:10 +0000
committerCaolán McNamara <caolanm@redhat.com>2010-11-12 21:21:18 +0000
commit49d87cb2e57b19ecbb111a29b79b8df42d1f93f0 (patch)
treeb64bac76c69c3a9f4c0136e10ed6e95003123f77
parent7fa27749f8babf5f5ecb1dd845adf31dae6faf62 (diff)
RTL_CONSTASCII_USTRINGPARAM used with nonarray
-rw-r--r--sfx2/source/control/macro.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/control/macro.cxx b/sfx2/source/control/macro.cxx
index 2031b4212b..3990e3a582 100644
--- a/sfx2/source/control/macro.cxx
+++ b/sfx2/source/control/macro.cxx
@@ -381,7 +381,7 @@ void SfxMacroStatement::GenerateNameAndArgs_Impl
USHORT nPos = 0;
while ( TRUE )
{
- nPos = aRecordable.SearchAndReplace( DEFINE_CONST_UNICODE('"'), DEFINE_CONST_UNICODE("\"\""), nPos );
+ nPos = aRecordable.SearchAndReplace( String('"'), DEFINE_CONST_UNICODE("\"\""), nPos );
if ( STRING_NOTFOUND == nPos )
break;
nPos += 2;