[Libreoffice-commits] .: cui/source

Caolán McNamara caolan at kemper.freedesktop.org
Sun Oct 31 10:22:00 PDT 2010


 cui/source/tabpages/autocdlg.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit a534643c95475c096f233f3865d608aa25f2dd96
Author: Joost Eekhoorn <joost.eekhoorn at gmail.com>
Date:   Sun Oct 31 17:20:13 2010 +0000

    Use RTL_CONSTASCII_USTRINGPARAM macro

diff --git a/cui/source/tabpages/autocdlg.cxx b/cui/source/tabpages/autocdlg.cxx
index 469c6ea..e1ddae0 100644
--- a/cui/source/tabpages/autocdlg.cxx
+++ b/cui/source/tabpages/autocdlg.cxx
@@ -2730,9 +2730,9 @@ void OfaSmartTagOptionsTabPage::FillListBox( const SmartTagMgr& rSmartTagMgr )
                 aSmartTagCaption = aSmartTagType;
 
             const rtl::OUString aLBEntry = aSmartTagCaption +
-                                           OUString::createFromAscii(" (") +
+                                           OUString(RTL_CONSTASCII_USTRINGPARAM(" (")) +
                                            aName +
-                                           OUString::createFromAscii(")");
+                                           OUString(RTL_CONSTASCII_USTRINGPARAM(")"));
 
             SvLBoxEntry* pEntry = m_aSmartTagTypesLB.SvTreeListBox::InsertEntry( aLBEntry );
             if ( pEntry )


More information about the Libreoffice-commits mailing list