[Libreoffice-commits] .: cui/source
Caolán McNamara
caolan at kemper.freedesktop.org
Sun Nov 14 13:16:57 PST 2010
cui/source/dialogs/hangulhanjadlg.cxx | 2 +-
cui/source/options/optgenrl.cxx | 2 +-
cui/source/options/optlingu.cxx | 4 ++--
cui/source/options/optsave.cxx | 2 +-
cui/source/options/treeopt.cxx | 2 +-
5 files changed, 6 insertions(+), 6 deletions(-)
New commits:
commit 63bcae3a051ee3cbeb7d5187c903cebc80280782
Author: Caolán McNamara <caolanm at redhat.com>
Date: Sun Nov 14 21:02:14 2010 +0000
Misuse of RTL_CONSTASCII_STRINGPARAM instead of RTL_CONSTASCII_USTRINGPARAM
diff --git a/cui/source/dialogs/hangulhanjadlg.cxx b/cui/source/dialogs/hangulhanjadlg.cxx
index 43f1e39..67f30ba 100644
--- a/cui/source/dialogs/hangulhanjadlg.cxx
+++ b/cui/source/dialogs/hangulhanjadlg.cxx
@@ -370,7 +370,7 @@ namespace svx
m_aValueSet.SetLineCount( LINE_CNT );
m_aValueSet.SetStyle( m_aValueSet.GetStyle() | WB_ITEMBORDER | WB_FLATVALUESET | WB_VSCROLL );
m_aValueSet.SetBorderStyle( WINDOW_BORDER_MONO );
- String aOneCharacter(RTL_CONSTASCII_STRINGPARAM("AU"));
+ String aOneCharacter(RTL_CONSTASCII_USTRINGPARAM("AU"));
long nItemWidth = 2*GetTextWidth( aOneCharacter );
m_aValueSet.SetItemWidth( nItemWidth );
diff --git a/cui/source/options/optgenrl.cxx b/cui/source/options/optgenrl.cxx
index 5105fe0..72c7636 100644
--- a/cui/source/options/optgenrl.cxx
+++ b/cui/source/options/optgenrl.cxx
@@ -356,7 +356,7 @@ IMPL_LINK( SvxGeneralTabPage, ModifyHdl_Impl, Edit *, pEdit )
switch ( aShortStr.Len() )
{
case 0:
- aShortStr = String( RTL_CONSTASCII_STRINGPARAM(" ") );
+ aShortStr = String( RTL_CONSTASCII_USTRINGPARAM(" ") );
break;
case 1:
diff --git a/cui/source/options/optlingu.cxx b/cui/source/options/optlingu.cxx
index c701d0e..aab5988 100644
--- a/cui/source/options/optlingu.cxx
+++ b/cui/source/options/optlingu.cxx
@@ -1156,7 +1156,7 @@ SvxLinguTabPage::SvxLinguTabPage( Window* pParent,
!= SvtExtendedSecurityOptions::OPEN_NEVER )
{
aMoreDictsLink.SetURL( String(
- RTL_CONSTASCII_STRINGPARAM( "http://extensions.libreoffice.org/dictionary/" ) ) );
+ RTL_CONSTASCII_USTRINGPARAM( "http://extensions.libreoffice.org/dictionary/" ) ) );
aMoreDictsLink.SetClickHdl( LINK( this, SvxLinguTabPage, OpenURLHdl_Impl ) );
}
else
@@ -2054,7 +2054,7 @@ SvxEditModulesDlg::SvxEditModulesDlg(Window* pParent, SvxLinguData_Impl& rData)
!= SvtExtendedSecurityOptions::OPEN_NEVER )
{
aMoreDictsLink.SetURL( String(
- RTL_CONSTASCII_STRINGPARAM( "http://extensions.libreoffice.org/dictionary/" ) ) );
+ RTL_CONSTASCII_USTRINGPARAM( "http://extensions.libreoffice.org/dictionary/" ) ) );
aMoreDictsLink.SetClickHdl( LINK( this, SvxEditModulesDlg, OpenURLHdl_Impl ) );
}
else
diff --git a/cui/source/options/optsave.cxx b/cui/source/options/optsave.cxx
index fc370ab..b1d1a3d 100644
--- a/cui/source/options/optsave.cxx
+++ b/cui/source/options/optsave.cxx
@@ -73,7 +73,7 @@ using namespace comphelper;
using rtl::OUString;
#define C2U(cChar) OUString::createFromAscii(cChar)
-#define C2S(cChar) String( RTL_CONSTASCII_STRINGPARAM(cChar) )
+#define C2S(cChar) String( RTL_CONSTASCII_USTRINGPARAM(cChar) )
#define CFG_PAGE_AND_GROUP C2S("General"), C2S("LoadSave")
// !! you have to update these index, if you changed the list of the child windows !!
#define WININDEX_AUTOSAVE ((USHORT)6)
diff --git a/cui/source/options/treeopt.cxx b/cui/source/options/treeopt.cxx
index 272dc22..876bbdd 100644
--- a/cui/source/options/treeopt.cxx
+++ b/cui/source/options/treeopt.cxx
@@ -911,7 +911,7 @@ void OfaTreeOptionsDialog::ActivateLastSelection()
SvLBoxEntry* pEntry = NULL;
if ( pLastPageSaver )
{
- String sExpand( RTL_CONSTASCII_STRINGPARAM( EXPAND_PROTOCOL ) );
+ String sExpand( RTL_CONSTASCII_USTRINGPARAM( EXPAND_PROTOCOL ) );
String sLastURL = bIsFromExtensionManager ? pLastPageSaver->m_sLastPageURL_ExtMgr
: pLastPageSaver->m_sLastPageURL_Tools;
if ( sLastURL.Len() == 0 )
More information about the Libreoffice-commits
mailing list