Update of /cvsroot/mahogany/M/src/classes
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31255/src/classes

Modified Files:
        ComposeTemplate.cpp ConfigSource.cpp ConfigSourcesAll.cpp 
        FolderMonitor.cpp MApplication.cpp MFilter.cpp MFolder.cpp 
        MModule.cpp MessageView.cpp Mpers.cpp PathFinder.cpp 
        Profile.cpp Sequence.cpp XFace.cpp 
Log Message:
_T("") -> wxEmptyString

Index: ComposeTemplate.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/classes/ComposeTemplate.cpp,v
retrieving revision 1.72
retrieving revision 1.73
diff -b -u -2 -r1.72 -r1.73
--- ComposeTemplate.cpp 4 Jul 2005 19:53:03 -0000       1.72
+++ ComposeTemplate.cpp 16 Jan 2006 20:32:26 -0000      1.73
@@ -476,5 +476,5 @@
 
 const TemplatePopupMenuItem& g_ComposeViewTemplatePopupMenu =
-   TemplatePopupMenuItem(_T(""), gs_popupMenu, WXSIZEOF(gs_popupMenu));
+   TemplatePopupMenuItem(wxEmptyString, gs_popupMenu, WXSIZEOF(gs_popupMenu));
 
 // ============================================================================
@@ -804,5 +804,5 @@
 const wxChar *VarExpander::ms_templateVarCategories[] =
 {
-   _T(""),
+   wxEmptyString,
    _T("file"),
    _T("attach"),
@@ -1101,5 +1101,5 @@
       m_sink.InsertAttachment(wxStrdup(value->c_str()),
                               value->length(),
-                              _T(""), // will be determined from filename laer
+                              wxEmptyString, // will be determined from 
filename laer
                               filename);
 
@@ -1352,5 +1352,5 @@
                m_msg->WriteToString(str);
                m_sink.InsertAttachment(wxStrdup(str), str.Length(),
-                                       _T("message/rfc822"), _T(""));
+                                       _T("message/rfc822"), wxEmptyString);
             }
             else
@@ -1577,5 +1577,5 @@
                         Message *msgOriginal)
 {
-   CHECK( profile && msgOriginal, _T(""), _T("NULL parameters in QuoteText") );
+   CHECK( profile && msgOriginal, wxEmptyString, _T("NULL parameters in 
QuoteText") );
 
    const String prefix = GetReplyPrefix(msgOriginal, profile);

Index: ConfigSource.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/classes/ConfigSource.cpp,v
retrieving revision 1.20
retrieving revision 1.21
diff -b -u -2 -r1.20 -r1.21
--- ConfigSource.cpp    6 Jul 2005 12:20:07 -0000       1.20
+++ ConfigSource.cpp    16 Jan 2006 20:32:26 -0000      1.21
@@ -585,6 +585,6 @@
                   M_APPLICATIONNAME,
                   M_VENDORNAME,
-                  _T(""),
-                  _T(""),
+                  wxEmptyString,
+                  wxEmptyString,
                   wxCONFIG_USE_LOCAL_FILE |
                   wxCONFIG_USE_GLOBAL_FILE

Index: ConfigSourcesAll.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/classes/ConfigSourcesAll.cpp,v
retrieving revision 1.10
retrieving revision 1.11
diff -b -u -2 -r1.10 -r1.11
--- ConfigSourcesAll.cpp        11 Jul 2005 22:44:44 -0000      1.10
+++ ConfigSourcesAll.cpp        16 Jan 2006 20:32:26 -0000      1.11
@@ -240,5 +240,5 @@
    virtual bool DoReadString(const wxString& key, wxString *pStr) const
    {
-      LookupData ld(key, _T(""));
+      LookupData ld(key, wxEmptyString);
       if ( !DoRead(ld) )
          return false;

Index: FolderMonitor.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/classes/FolderMonitor.cpp,v
retrieving revision 1.26
retrieving revision 1.27
diff -b -u -2 -r1.26 -r1.27
--- FolderMonitor.cpp   25 Dec 2003 16:32:55 -0000      1.26
+++ FolderMonitor.cpp   16 Jan 2006 20:32:26 -0000      1.27
@@ -196,5 +196,5 @@
 public:
    FolderMonitorTraversal(FolderMonitorFolderList& list)
-      : MFolderTraversal(*(m_folder = MFolder::Get(_T("")))), m_list(list)
+      : MFolderTraversal(*(m_folder = MFolder::Get(wxEmptyString))), 
m_list(list)
       { }
    ~FolderMonitorTraversal()

Index: MApplication.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/classes/MApplication.cpp,v
retrieving revision 1.301
retrieving revision 1.302
diff -b -u -2 -r1.301 -r1.302
--- MApplication.cpp    5 Jul 2005 12:34:13 -0000       1.301
+++ MApplication.cpp    16 Jan 2006 20:32:26 -0000      1.302
@@ -418,5 +418,5 @@
    // enable tracing of the specified kinds of messages
    wxArrayString
-      masks = strutil_restore_array(m_profile->readEntry(_T("DebugTrace"), 
_T("")));
+      masks = strutil_restore_array(m_profile->readEntry(_T("DebugTrace"), 
wxEmptyString));
    size_t nMasks = masks.GetCount();
    for ( size_t nMask = 0; nMask < nMasks; nMask++ )

Index: MFilter.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/classes/MFilter.cpp,v
retrieving revision 1.29
retrieving revision 1.30
diff -b -u -2 -r1.29 -r1.30
--- MFilter.cpp 12 Jul 2004 00:26:45 -0000      1.29
+++ MFilter.cpp 16 Jan 2006 20:32:26 -0000      1.30
@@ -382,5 +382,5 @@
       {
          FAIL_MSG(_T("This must not happen!"));
-         return _T("");
+         return wxEmptyString;
       }
    }
@@ -460,5 +460,5 @@
       return FALSE;
 
-   m_Argument = _T("");
+   m_Argument = wxEmptyString;
    if(needsArgument)
    {
@@ -541,5 +541,5 @@
                         MFDialogTest test,
                         MFDialogTarget target,
-                        String argument = _T("")
+                        String argument = wxEmptyString
       )
       {
@@ -614,5 +614,5 @@
    {
       ASSERT_MSG(0, _T("illegal action - must not happen"));
-      return _T("");
+      return wxEmptyString;
    }
    bool needsArgument = FilterActionNeedsArg(m_Action);
@@ -663,5 +663,5 @@
    }
    else
-      m_ActionArgument = _T("");
+      m_ActionArgument = wxEmptyString;
    return TRUE; // we    made it
 }
@@ -785,9 +785,9 @@
       {
          m_Profile = p;
-         m_Name = p->readEntry(MP_FILTER_NAME, _T(""));
+         m_Name = p->readEntry(MP_FILTER_NAME, wxEmptyString);
          m_Settings = NULL;
 
          // use the filter program if we have it
-         m_Rule = p->readEntry(MP_FILTER_RULE, _T(""));
+         m_Rule = p->readEntry(MP_FILTER_RULE, wxEmptyString);
          if( !m_Rule.empty() )
          {
@@ -807,5 +807,5 @@
          {
             // use the GUI settings if no rule
-            m_SettingsStr = p->readEntry(MP_FILTER_GUIDESC, _T(""));
+            m_SettingsStr = p->readEntry(MP_FILTER_GUIDESC, wxEmptyString);
          }
 
@@ -890,5 +890,5 @@
 {
    // get parent of all filters
-   Profile_obj p(Profile::CreateFilterProfile(_T("")));
+   Profile_obj p(Profile::CreateFilterProfile(wxEmptyString));
 
    bool rc;
@@ -911,5 +911,5 @@
                             const String& entry)
 {
-   String value = profileSrc->readEntry(entry, _T(""));
+   String value = profileSrc->readEntry(entry, wxEmptyString);
    if ( !value.empty() )
    {

Index: MFolder.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/classes/MFolder.cpp,v
retrieving revision 1.107
retrieving revision 1.108
diff -b -u -2 -r1.107 -r1.108
--- MFolder.cpp 7 Jul 2005 18:48:44 -0000       1.107
+++ MFolder.cpp 16 Jan 2006 20:32:26 -0000      1.108
@@ -192,5 +192,5 @@
    virtual void SetIcon(int /* icon */) { }
 
-   virtual String GetComment() const { return _T(""); }
+   virtual String GetComment() const { return wxEmptyString; }
    virtual void SetComment(const String& /* comment */) { }
 
@@ -395,5 +395,5 @@
 public:
    // ctor
-   MRootFolderFromProfile() : MFolderFromProfile(_T(""))
+   MRootFolderFromProfile() : MFolderFromProfile(wxEmptyString)
    {
    }
@@ -413,5 +413,5 @@
       { FAIL_MSG(_T("doesn't make sense for root folder")); }
 
-   virtual String GetComment() const { return _T(""); }
+   virtual String GetComment() const { return wxEmptyString; }
    virtual void SetComment(const String& /* comment */)
       { FAIL_MSG(_T("can not set root folder attributes.")); }
@@ -661,5 +661,5 @@
 bool MFolderFromProfile::Exists(const String& fullname)
 {
-   Profile_obj profile(_T(""));
+   Profile_obj profile(wxEmptyString);
 
    return profile->HasGroup(fullname);
@@ -679,5 +679,5 @@
    String path, component;
 
-   Profile *profile = Profile::CreateFolderProfile(_T(""));
+   Profile *profile = Profile::CreateFolderProfile(wxEmptyString);
 
    size_t n,
@@ -1497,5 +1497,5 @@
    // create folders for all files in this dir
    wxString filename;
-   bool cont = dir.GetFirst(&filename, _T(""), wxDIR_FILES);
+   bool cont = dir.GetFirst(&filename, wxEmptyString, wxDIR_FILES);
    while ( cont )
    {
@@ -1527,5 +1527,5 @@
    // and recursively call us for each subdir
    wxString dirname;
-   cont = dir.GetFirst(&dirname, _T(""), wxDIR_DIRS);
+   cont = dir.GetFirst(&dirname, wxEmptyString, wxDIR_DIRS);
    while ( cont )
    {

Index: MModule.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/classes/MModule.cpp,v
retrieving revision 1.95
retrieving revision 1.96
diff -b -u -2 -r1.95 -r1.96
--- MModule.cpp 9 Apr 2005 18:54:26 -0000       1.95
+++ MModule.cpp 16 Jan 2006 20:32:27 -0000      1.96
@@ -412,10 +412,10 @@
          return m_Module;
       }
-   MModuleListingEntryImpl(const String &name = _T(""),
-                           const String &interfaceName = _T(""),
-                           const String &shortdesc = _T(""),
-                           const String &desc = _T(""),
-                           const String &version = _T(""),
-                           const String &author = _T(""),
+   MModuleListingEntryImpl(const String &name = wxEmptyString,
+                           const String &interfaceName = wxEmptyString,
+                           const String &shortdesc = wxEmptyString,
+                           const String &desc = wxEmptyString,
+                           const String &version = wxEmptyString,
+                           const String &author = wxEmptyString,
                            MModule *module = NULL)
       {
@@ -503,5 +503,5 @@
 // well depending on the parameters values, so the name is a bit unfortunate
 static MModuleListing *
-DoListLoadedModules(bool listall = false, const String& interfaceName = _T(""))
+DoListLoadedModules(bool listall = false, const String& interfaceName = 
wxEmptyString)
 {
 #ifdef USE_MODULES_STATIC
@@ -545,5 +545,5 @@
                   me->m_Interface,
                   me->m_Description,
-                  _T(""), // long description
+                  wxEmptyString, // long description
                   String(me->m_Version) + _(" (builtin)"),
                   _T("[email protected]"),
@@ -570,7 +570,7 @@
                                  m->GetInterface(),
                                  m->GetDescription(),
-                                 _T(""), // long description
+                                 wxEmptyString, // long description
                                  m->GetVersion(),
-                                 _T(""), // author
+                                 wxEmptyString, // author
                                  m
                               );
@@ -841,5 +841,5 @@
    }
 
-   return _T("");
+   return wxEmptyString;
 }
 

Index: MessageView.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/classes/MessageView.cpp,v
retrieving revision 1.168
retrieving revision 1.169
diff -b -u -2 -r1.168 -r1.169
--- MessageView.cpp     16 Jul 2005 19:46:43 -0000      1.168
+++ MessageView.cpp     16 Jan 2006 20:32:27 -0000      1.169
@@ -522,5 +522,5 @@
                     wxFONTWEIGHT_NORMAL,
                     FALSE,   // not underlined
-                    _T(""),  // no specific face name
+                    wxEmptyString,  // no specific face name
                     encoding);
    }
@@ -771,6 +771,6 @@
                      new TransparentFilter(this),
                      ViewFilter::Priority_Lowest,
-                     _T(""),
-                     _T(""),
+                     wxEmptyString,
+                     wxEmptyString,
                      NULL
                    );
@@ -3326,5 +3326,5 @@
       wxFrame *frame = GetParentFrame();
       CHECK_RET( frame, _T("message view without parent frame?") );
-      frame->SetStatusText(_T(""));
+      frame->SetStatusText(wxEmptyString);
    }
 }
@@ -3350,5 +3350,5 @@
                 "\n"
                 "Do you still want to download it?"),
-              part ? _(" part") : _T(""), size, maxSize);
+              part ? _(" part") : wxEmptyString, size, maxSize);
 
    return MDialog_YesNoDialog(msg, GetParentFrame());

Index: Mpers.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/classes/Mpers.cpp,v
retrieving revision 1.24
retrieving revision 1.25
diff -b -u -2 -r1.24 -r1.25
--- Mpers.cpp   16 Nov 2004 00:32:59 -0000      1.24
+++ Mpers.cpp   16 Jan 2006 20:32:27 -0000      1.25
@@ -166,5 +166,5 @@
    { _T("RemoveAllAttach"),          gettext_noop("ask for confirmation before 
removing all attachments from composer") },
    { _T("SendDiffEncoding"),         gettext_noop("ask before sending message 
in a different encoding than chosen") },
-   //{ _T(""), gettext_noop("") },
+   //{ wxEmptyString, gettext_noop("") },
 };
 
@@ -204,5 +204,5 @@
                _T("should be kept in sync!") );
 
-   CHECK( which, _T(""), _T("NULL pointer in GetPersMsgBoxName") );
+   CHECK( which, wxEmptyString, _T("NULL pointer in GetPersMsgBoxName") );
 
    return gs_persMsgBoxData[which->GetId()].name;

Index: PathFinder.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/classes/PathFinder.cpp,v
retrieving revision 1.24
retrieving revision 1.25
diff -b -u -2 -r1.24 -r1.25
--- PathFinder.cpp      9 Apr 2005 15:39:32 -0000       1.24
+++ PathFinder.cpp      16 Jan 2006 20:32:27 -0000      1.25
@@ -50,5 +50,5 @@
    wxChar   *found, *save_ptr;
    String   tmp;
-   String   subdirList = _T("");
+   String   subdirList = wxEmptyString;
 
    MOcheck();
@@ -105,5 +105,5 @@
    if(found)
       *found = false;
-   return _T("");
+   return wxEmptyString;
 }
 
@@ -129,5 +129,5 @@
    if(found)
       *found = false;
-   return _T("");
+   return wxEmptyString;
 }
 
@@ -153,5 +153,5 @@
    if(found)
       *found = false;
-   return _T("");
+   return wxEmptyString;
 }
 
@@ -177,5 +177,5 @@
    if(found)
       *found = false;
-   return _T("");
+   return wxEmptyString;
 }
 

Index: Profile.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/classes/Profile.cpp,v
retrieving revision 1.168
retrieving revision 1.169
diff -b -u -2 -r1.168 -r1.169
--- Profile.cpp 20 Jul 2005 17:25:33 -0000      1.168
+++ Profile.cpp 16 Jan 2006 20:32:27 -0000      1.169
@@ -552,5 +552,5 @@
    gs_allConfigSources = AllConfigSources::Init(filename);
 
-   Profile *p = ProfileImpl::CreateProfile(_T(""),NULL);
+   Profile *p = ProfileImpl::CreateProfile(wxEmptyString,NULL);
    EnforcePolicy(p);
    return p;
@@ -785,5 +785,5 @@
    PCHECK();
 
-   return m_Identity ? m_Identity->GetName() : String(_T(""));
+   return m_Identity ? m_Identity->GetName() : String(wxEmptyString);
 }
 
@@ -1119,5 +1119,5 @@
          break;
 
-      strVal = conf->Read(path+strkey, _T(""));
+      strVal = conf->Read(path+strkey, wxEmptyString);
       astr.Add(strVal);
    }

Index: Sequence.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/classes/Sequence.cpp,v
retrieving revision 1.8
retrieving revision 1.9
diff -b -u -2 -r1.8 -r1.9
--- Sequence.cpp        11 Oct 2003 20:23:48 -0000      1.8
+++ Sequence.cpp        16 Jan 2006 20:32:27 -0000      1.9
@@ -275,5 +275,5 @@
 String GetSequenceString(const UIdArray *messages)
 {
-   CHECK( messages, _T(""), _T("NULL messages array in GetSequenceString") );
+   CHECK( messages, wxEmptyString, _T("NULL messages array in 
GetSequenceString") );
 
    Sequence seq;

Index: XFace.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/classes/XFace.cpp,v
retrieving revision 1.33
retrieving revision 1.34
diff -b -u -2 -r1.33 -r1.34
--- XFace.cpp   10 Jul 2004 19:44:37 -0000      1.33
+++ XFace.cpp   16 Jan 2006 20:32:27 -0000      1.34
@@ -358,5 +358,5 @@
    ptr = buf;
 
-   xpm = _T("");
+   xpm = wxEmptyString;
    xpm +=
       _T("/* XPM */\n"
@@ -456,5 +456,5 @@
    for(l = 0; l < 48; l++)
    {
-      tmp = _T("");
+      tmp = wxEmptyString;
       for(c = 0; c < 3; c++)
       {
@@ -522,5 +522,5 @@
       return wxConvertMB2WX(xface);
    else
-      return _T("");
+      return wxEmptyString;
 }
 



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Mahogany-cvsupdates mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to