summaryrefslogtreecommitdiff
path: root/sw/source/ui/envelp/labelexp.cxx
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2010-12-27 09:53:49 +0100
committerDavid Tardon <dtardon@redhat.com>2010-12-27 09:53:49 +0100
commit1d31ed0ef4749f1bc09235fb48408c22678a903f (patch)
treebcd7c6827e5ab3f5c2ce3ec2a96f0ac18a60e833 /sw/source/ui/envelp/labelexp.cxx
parentc0158c421bce29aa815854d252872dd0aff58f7e (diff)
RTL_CONSTASCII_USTRINGPARAM
Diffstat (limited to 'sw/source/ui/envelp/labelexp.cxx')
-rw-r--r--sw/source/ui/envelp/labelexp.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/envelp/labelexp.cxx b/sw/source/ui/envelp/labelexp.cxx
index 88744e583f77..7f8bfcba0141 100644
--- a/sw/source/ui/envelp/labelexp.cxx
+++ b/sw/source/ui/envelp/labelexp.cxx
@@ -73,7 +73,7 @@ void SwVisitingCardPage::InitFrameControl()
uno::Sequence<OUString> aNames = _xAutoText->getElementNames();
const OUString* pGroups = aNames.getConstArray();
- OUString uTitleName( C2U(SW_PROP_NAME_STR(UNO_NAME_TITLE)) );
+ OUString uTitleName( rtl::OUString::createFromAscii(SW_PROP_NAME_STR(UNO_NAME_TITLE)) );
for(sal_uInt16 i = 0; i < aNames.getLength(); i++)
{
@@ -241,7 +241,7 @@ void SwLabDlg::UpdateFieldInformation(uno::Reference< frame::XModel > & xModel,
{
String sFldName( String::CreateFromAscii( RTL_CONSTASCII_STRINGPARAM(
"com.sun.star.text.FieldMaster.User." )));
- OUString uCntName( C2U( SW_PROP_NAME_STR(UNO_NAME_CONTENT )));
+ OUString uCntName( rtl::OUString::createFromAscii( SW_PROP_NAME_STR(UNO_NAME_CONTENT )));
for( const _SwLabItemMap* p = aArr; p->pName; ++p )
{
String sCurFldName( sFldName );