summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoost Eekhoorn <joost.eekhoorn@gmail.com>2010-10-31 20:26:29 +0000
committerCaolán McNamara <caolanm@redhat.com>2010-10-31 20:26:29 +0000
commitab2d21c508f7e4bd4e7bd589e391aafa55d7d715 (patch)
tree9ed58d4a9574dc5394d24a99d854d6222731ca3f
parent33eafa027d082a7f554cabf52f5809a9afc82c2f (diff)
use RTL_CONSTASCII_USTRING_PARAM
-rw-r--r--sc/source/ui/attrdlg/attrdlg.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/attrdlg/attrdlg.cxx b/sc/source/ui/attrdlg/attrdlg.cxx
index a7eb58253..b7716e75f 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!");