summaryrefslogtreecommitdiff
path: root/sccomp
diff options
context:
space:
mode:
authorGert Faller <gertfaller@aliceadsl.fr>2010-11-25 23:45:18 +0100
committerGert Faller <gertfaller@aliceadsl.fr>2010-11-25 23:45:18 +0100
commit264173e3f955daf28acf1608a037bbb61ae733a3 (patch)
treef0d78771f85112d8cabcb87cd12fe986513ca90c /sccomp
parent697bff3c396476913c0463062b5e407d7c9b2e48 (diff)
RTL_CONSTASCII_USTRINGPARAM in calc
Diffstat (limited to 'sccomp')
-rw-r--r--sccomp/source/solver/solver.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sccomp/source/solver/solver.cxx b/sccomp/source/solver/solver.cxx
index ce81f14cce69..23f40299e2b2 100644
--- a/sccomp/source/solver/solver.cxx
+++ b/sccomp/source/solver/solver.cxx
@@ -559,13 +559,13 @@ void SAL_CALL SolverComponent::solve() throw(uno::RuntimeException)
uno::Sequence< OUString > SolverComponent_getSupportedServiceNames()
{
uno::Sequence< OUString > aServiceNames( 1 );
- aServiceNames[ 0 ] = OUString::createFromAscii( "com.sun.star.sheet.Solver" );
+ aServiceNames[ 0 ] = OUString(RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.sheet.Solver" ));
return aServiceNames;
}
OUString SolverComponent_getImplementationName()
{
- return OUString::createFromAscii( "com.sun.star.comp.Calc.Solver" );
+ return OUString(RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.comp.Calc.Solver" ));
}
OUString SAL_CALL SolverComponent::getImplementationName() throw(uno::RuntimeException)
@@ -614,7 +614,7 @@ extern "C"
sal_Int32 nPos;
xNewKey = reinterpret_cast< registry::XRegistryKey * >( pRegistryKey )->createKey( SolverComponent_getImplementationName() );
- xNewKey = xNewKey->createKey( OUString::createFromAscii( "/UNO/SERVICES" ) );
+ xNewKey = xNewKey->createKey( OUString(RTL_CONSTASCII_USTRINGPARAM( "/UNO/SERVICES" )) );
const uno::Sequence< OUString > & rSNL1 = SolverComponent_getSupportedServiceNames();
const OUString * pArray1 = rSNL1.getConstArray();
for ( nPos = rSNL1.getLength(); nPos--; )