diff options
author | Gert Faller <gertfaller@aliceadsl.fr> | 2010-11-25 22:58:19 +0100 |
---|---|---|
committer | Gert Faller <gertfaller@aliceadsl.fr> | 2010-11-25 22:58:19 +0100 |
commit | ced73bee6811bb68734d9c95ca110820a1758dd2 (patch) | |
tree | 4737bd8437e84a3e63d4cad1853393b0c18dd0c0 /toolkit/source/layout/core | |
parent | 6708ef04536191114eda027011e17037feb40e18 (diff) |
RTL_CONSTASCII_USTRINGPARAM in libs-gui 22
Diffstat (limited to 'toolkit/source/layout/core')
-rw-r--r-- | toolkit/source/layout/core/import.cxx | 2 | ||||
-rw-r--r-- | toolkit/source/layout/core/proplist.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/toolkit/source/layout/core/import.cxx b/toolkit/source/layout/core/import.cxx index a35e70711e62..94291b54a18f 100644 --- a/toolkit/source/layout/core/import.cxx +++ b/toolkit/source/layout/core/import.cxx @@ -129,7 +129,7 @@ SAL_THROW (()) if ( xRadio.is() ) { if (!bSetRadioGroup) - aRadioGroup = OUString::createFromAscii ("default"); + aRadioGroup = OUString(RTL_CONSTASCII_USTRINGPARAM ("default")); pImport->mxRadioGroups.addItem( aRadioGroup, xRadio ); } } diff --git a/toolkit/source/layout/core/proplist.cxx b/toolkit/source/layout/core/proplist.cxx index 24c9bc471833..f04350d01362 100644 --- a/toolkit/source/layout/core/proplist.cxx +++ b/toolkit/source/layout/core/proplist.cxx @@ -376,7 +376,7 @@ findAndRemove( const char *pAttr, PropList &rProps, OUString &rValue ) for ( it = rProps.begin(); it != rProps.end(); it++ ) { if ( it->first.equalsIgnoreAsciiCase( aName ) - || it->first.equalsIgnoreAsciiCase( OUString::createFromAscii ("_") + aName ) ) + || it->first.equalsIgnoreAsciiCase( OUString(RTL_CONSTASCII_USTRINGPARAM ("_")) + aName ) ) { rValue = it->second; rProps.erase( it ); |