[Libreoffice-commits] .: 4 commits - sc/source
Caolán McNamara
caolan at kemper.freedesktop.org
Sun Oct 31 13:38:00 PDT 2010
sc/source/ui/attrdlg/attrdlg.cxx | 2 +-
sc/source/ui/attrdlg/scabstdlg.cxx | 2 +-
sc/source/ui/cctrl/dpcontrol.cxx | 4 ++--
sc/source/ui/miscdlgs/solverutil.cxx | 8 ++++----
4 files changed, 8 insertions(+), 8 deletions(-)
New commits:
commit 62b9c0782c978213a267acb1b29f40d8ddcadc7d
Author: Joost Eekhoorn <joost.eekhoorn at gmail.com>
Date: Sun Oct 31 20:27:28 2010 +0000
use RTL_CONSTASCII_USTRING_PARAM
diff --git a/sc/source/ui/miscdlgs/solverutil.cxx b/sc/source/ui/miscdlgs/solverutil.cxx
index 8a940dc..f216864 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() )
commit f2129a34f7a11702655ca0d351a8bd616cf3d9f9
Author: Joost Eekhoorn <joost.eekhoorn at gmail.com>
Date: Sun Oct 31 20:26:50 2010 +0000
use RTL_CONSTASCII_USTRING_PARAM
diff --git a/sc/source/ui/cctrl/dpcontrol.cxx b/sc/source/ui/cctrl/dpcontrol.cxx
index 1ae24f4..8fc8dcb 100644
--- a/sc/source/ui/cctrl/dpcontrol.cxx
+++ b/sc/source/ui/cctrl/dpcontrol.cxx
@@ -311,7 +311,7 @@ ScMenuFloatingWindow::ScMenuFloatingWindow(Window* pParent, ScDocument* pDoc, US
PopupMenuFloatingWindow(pParent),
maOpenTimer(this),
maCloseTimer(this),
- maName(OUString::createFromAscii("ScMenuFloatingWindow")),
+ maName(RTL_CONSTASCII_USTRINGPARAM("ScMenuFloatingWindow")),
mnSelectedMenu(MENU_NOT_SELECTED),
mnClickedMenu(MENU_NOT_SELECTED),
mpDoc(pDoc),
@@ -327,7 +327,7 @@ ScMenuFloatingWindow::ScMenuFloatingWindow(Window* pParent, ScDocument* pDoc, US
maLabelFont.SetHeight(nPopupFontHeight);
SetFont(maLabelFont);
- SetText(OUString::createFromAscii("ScMenuFloatingWindow"));
+ SetText( OUString(RTL_CONSTASCII_USTRINGPARAM("ScMenuFloatingWindow")) );
SetPopupModeEndHdl( LINK(this, ScMenuFloatingWindow, PopupEndHdl) );
}
commit ab2d21c508f7e4bd4e7bd589e391aafa55d7d715
Author: Joost Eekhoorn <joost.eekhoorn at gmail.com>
Date: Sun Oct 31 20:26:29 2010 +0000
use RTL_CONSTASCII_USTRING_PARAM
diff --git a/sc/source/ui/attrdlg/attrdlg.cxx b/sc/source/ui/attrdlg/attrdlg.cxx
index a7eb582..b7716e7 100644
--- a/sc/source/ui/attrdlg/attrdlg.cxx
+++ b/sc/source/ui/attrdlg/attrdlg.cxx
@@ -72,7 +72,7 @@ ScAttrDlg::ScAttrDlg( SfxViewFrame* pFrameP,
#if LAYOUT_SFX_TABDIALOG_BROKEN
AddTabPage( TP_NUMBER, pFact->GetTabPageCreatorFunc( RID_SVXPAGE_NUMBERFORMAT ), 0 );
#else
- String number = rtl::OUString::createFromAscii ("Numbers");
+ String number(RTL_CONSTASCII_USTRINGPARAM("Numbers"));
AddTabPage( TP_NUMBER, number, pFact->GetTabPageCreatorFunc (RID_SVXPAGE_NUMBERFORMAT), 0, FALSE, TAB_APPEND);
#endif
DBG_ASSERT(pFact->GetTabPageCreatorFunc( RID_SVXPAGE_CHAR_NAME ), "GetTabPageCreatorFunc fail!");
commit 33eafa027d082a7f554cabf52f5809a9afc82c2f
Author: Joost Eekhoorn <joost.eekhoorn at gmail.com>
Date: Sun Oct 31 20:26:00 2010 +0000
use RTL_CONSTASCII_USTRING_PARAM
diff --git a/sc/source/ui/attrdlg/scabstdlg.cxx b/sc/source/ui/attrdlg/scabstdlg.cxx
index 711dda7..79481ff 100644
--- a/sc/source/ui/attrdlg/scabstdlg.cxx
+++ b/sc/source/ui/attrdlg/scabstdlg.cxx
@@ -50,7 +50,7 @@ ScAbstractDialogFactory* ScAbstractDialogFactory::Create()
if ( aDialogLibrary.is() || aDialogLibrary.loadRelative( &thisModule, aStrBuf.makeStringAndClear() ) )
fp = ( ScAbstractDialogFactory* (__LOADONCALLAPI*)() )
- aDialogLibrary.getFunctionSymbol( ::rtl::OUString::createFromAscii("CreateDialogFactory") );
+ aDialogLibrary.getFunctionSymbol( ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("CreateDialogFactory")) );
if ( fp )
return fp();
return 0;
More information about the Libreoffice-commits
mailing list