summaryrefslogtreecommitdiff
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 21:21:42 +0000
commit5fabbe2de171f6cb94373a38ae8ad1eb3bef5ed4 (patch)
tree1f73ce32ba219b2aee9ea1fad6637abc8c0071ba
parentec642ba424bf4abac4fe23760cd6fddcdcb4cb37 (diff)
RTL_CONSTASCII_USTRINGPARAM used with nonarray
-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 ebd01c6f046c..c92dd11cd09b 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;
}