diff options
author | Joost Eekhoorn <joost.eekhoorn@gmail.com> | 2010-10-31 20:27:28 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-10-31 20:27:28 +0000 |
commit | 5d3885fa8bd00191902589ba7c45a2fcb5943daf (patch) | |
tree | 6248923f828a7767274721c949e468bf28f308cb /sc/source/ui/miscdlgs/solverutil.cxx | |
parent | 503a73b8f74f88c65636487e2ebc89cc18d918f6 (diff) |
use RTL_CONSTASCII_USTRING_PARAM
Diffstat (limited to 'sc/source/ui/miscdlgs/solverutil.cxx')
-rw-r--r-- | sc/source/ui/miscdlgs/solverutil.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/source/ui/miscdlgs/solverutil.cxx b/sc/source/ui/miscdlgs/solverutil.cxx index 377ab4b358e7..fbe2cccfc0ba 100644 --- a/sc/source/ui/miscdlgs/solverutil.cxx +++ b/sc/source/ui/miscdlgs/solverutil.cxx @@ -96,7 +96,7 @@ void ScSolverUtil::GetImplementations( uno::Sequence<rtl::OUString>& rImplNames, uno::Reference<beans::XPropertySet> xPropset(xMSF, uno::UNO_QUERY); try { - xPropset->getPropertyValue(rtl::OUString::createFromAscii("DefaultContext")) >>= xCtx; + xPropset->getPropertyValue( rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("DefaultContext")) ) >>= xCtx; } catch ( uno::Exception & ) { @@ -106,7 +106,7 @@ void ScSolverUtil::GetImplementations( uno::Sequence<rtl::OUString>& rImplNames, if ( xCtx.is() && xEnAc.is() ) { uno::Reference<container::XEnumeration> xEnum = - xEnAc->createContentEnumeration( rtl::OUString::createFromAscii(SCSOLVER_SERVICE) ); + xEnAc->createContentEnumeration( rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(SCSOLVER_SERVICE)) ); if ( xEnum.is() ) { while ( xEnum->hasMoreElements() ) @@ -152,7 +152,7 @@ uno::Reference<sheet::XSolver> ScSolverUtil::GetSolver( const rtl::OUString& rIm uno::Reference<beans::XPropertySet> xPropset(xMSF, uno::UNO_QUERY); try { - xPropset->getPropertyValue(rtl::OUString::createFromAscii("DefaultContext")) >>= xCtx; + xPropset->getPropertyValue( rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("DefaultContext")) ) >>= xCtx; } catch ( uno::Exception & ) { @@ -162,7 +162,7 @@ uno::Reference<sheet::XSolver> ScSolverUtil::GetSolver( const rtl::OUString& rIm if ( xCtx.is() && xEnAc.is() ) { uno::Reference<container::XEnumeration> xEnum = - xEnAc->createContentEnumeration( rtl::OUString::createFromAscii(SCSOLVER_SERVICE) ); + xEnAc->createContentEnumeration( rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(SCSOLVER_SERVICE)) ); if ( xEnum.is() ) { while ( xEnum->hasMoreElements() && !xSolver.is() ) |