summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2010-11-12 11:17:56 +0000
committerCaolán McNamara <caolanm@redhat.com>2010-11-12 13:38:03 +0000
commit7b71977403c8ccc2ba53f9fb6d49a9c702afb8d2 (patch)
tree52281080d2497fb64dc989b65d7736368f6db080 /sw
parent7336bc07cc9f58a2ea704d6020effced6b1f2032 (diff)
RTL_CONSTASCII_USTRINGPARAM used with nonarray
Diffstat (limited to 'sw')
-rw-r--r--sw/source/ui/vba/vbafield.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/vba/vbafield.cxx b/sw/source/ui/vba/vbafield.cxx
index ebd01c6f04..c92dd11cd0 100644
--- a/sw/source/ui/vba/vbafield.cxx
+++ b/sw/source/ui/vba/vbafield.cxx
@@ -508,7 +508,7 @@ uno::Reference< text::XTextField > SwVbaFields::Create_Field_DocProperty( const
if( aDocProperty.EqualsIgnoreCaseAscii( pTable->sDocPropertyName ) )
{
if( pTable->sFieldService != NULL )
- sFieldService = rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( pTable->sFieldService ) );
+ sFieldService = rtl::OUString::createFromAscii(pTable->sFieldService);
bCustom = sal_False;
break;
}