summaryrefslogtreecommitdiff
path: root/sw/source/ui/vba
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
commit9dcf50f7bdd13ccfe1090cf794e665e27b2c4a96 (patch)
tree689e4d3d05d917678654add3cd77e3dd66eb04e8 /sw/source/ui/vba
parent849799ee85174ec09884740ae36c53b1ae5d325a (diff)
RTL_CONSTASCII_USTRINGPARAM used with nonarray
Diffstat (limited to 'sw/source/ui/vba')
-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;
}