summaryrefslogtreecommitdiff
path: root/filter/source/t602
diff options
context:
space:
mode:
authorKevin Hunter <hunteke@earlham.edu>2010-11-19 11:18:37 -0500
committerDavid Tardon <dtardon@redhat.com>2010-11-20 08:17:45 +0100
commit865920378c4188900720cdb559a64d1c38552cc8 (patch)
treede657cddd99c0bf27c3e09d2117c57c2b96e66b5 /filter/source/t602
parent2510dd1485001ecb607e79112c4ab27dfeab2eab (diff)
EasyHack: RTL conversion from createFromAscii
Diffstat (limited to 'filter/source/t602')
-rw-r--r--filter/source/t602/filterenv.cxx4
-rw-r--r--filter/source/t602/t602filter.cxx4
2 files changed, 4 insertions, 4 deletions
diff --git a/filter/source/t602/filterenv.cxx b/filter/source/t602/filterenv.cxx
index 97a82e6b24b8..4327cc251b06 100644
--- a/filter/source/t602/filterenv.cxx
+++ b/filter/source/t602/filterenv.cxx
@@ -63,7 +63,7 @@ sal_Bool SAL_CALL component_writeInfo(
sal_Int32 nPos = 0;
Reference< XRegistryKey > xNewKey(
reinterpret_cast< XRegistryKey * >( pRegistryKey )->createKey( T602ImportFilter_getImplementationName() ) );
- xNewKey = xNewKey->createKey( OUString::createFromAscii( "/UNO/SERVICES" ) );
+ xNewKey = xNewKey->createKey( OUString( RTL_CONSTASCII_USTRINGPARAM( "/UNO/SERVICES" )) );
const Sequence< OUString > & rSNL = T602ImportFilter_getSupportedServiceNames();
const OUString * pArray = rSNL.getConstArray();
@@ -71,7 +71,7 @@ sal_Bool SAL_CALL component_writeInfo(
xNewKey->createKey( pArray[nPos] );
xNewKey = reinterpret_cast< XRegistryKey * >( pRegistryKey )->createKey( T602ImportFilterDialog_getImplementationName() );
- xNewKey = xNewKey->createKey( OUString::createFromAscii( "/UNO/SERVICES" ) );
+ xNewKey = xNewKey->createKey( OUString( RTL_CONSTASCII_USTRINGPARAM( "/UNO/SERVICES" )) );
const Sequence< OUString > & rSNL2 = T602ImportFilterDialog_getSupportedServiceNames();
pArray = rSNL2.getConstArray();
diff --git a/filter/source/t602/t602filter.cxx b/filter/source/t602/t602filter.cxx
index a5cbe7b2a590..7571f1e80287 100644
--- a/filter/source/t602/t602filter.cxx
+++ b/filter/source/t602/t602filter.cxx
@@ -1041,12 +1041,12 @@ sal_Bool T602ImportFilterDialog::OptionsDlg()
ous[2] = getResStr(T602FILTER_STR_ENCODING_CP895);
ous[3] = getResStr(T602FILTER_STR_ENCODING_KOI8CS2);
any <<= ous;
- xPSetCodeLB->setPropertyValue(OUString::createFromAscii("StringItemList"), any);
+ xPSetCodeLB->setPropertyValue(OUString( RTL_CONSTASCII_USTRINGPARAM( "StringItemList" )), any);
Sequence < sal_Int16 > shr(1);
shr[0] = ini.forcecode ? ((sal_Int16) ini.xcode) + 1 : 0;
any <<= shr;
- xPSetCodeLB->setPropertyValue(OUString::createFromAscii("SelectedItems"), any);
+ xPSetCodeLB->setPropertyValue(OUString( RTL_CONSTASCII_USTRINGPARAM( "SelectedItems" )), any);
Reference < XInterface > AzbCheckBoxModel = _Inst("com.sun.star.awt.UnoControlCheckBoxModel");
Reference < XPropertySet > xPSetAzbukaCB( AzbCheckBoxModel, UNO_QUERY );