Revision: 7236
http://svn.sourceforge.net/mahogany/?rev=7236&view=rev
Author: vadz
Date: 2007-04-23 13:23:09 -0700 (Mon, 23 Apr 2007)
Log Message:
-----------
removed unnecessary c_str() calls which prevent the code from compiling with
latest wx cvs HEAD
Modified Paths:
--------------
trunk/M/src/modules/NetscapeImporter.cpp
Modified: trunk/M/src/modules/NetscapeImporter.cpp
===================================================================
--- trunk/M/src/modules/NetscapeImporter.cpp 2007-04-23 20:21:11 UTC (rev
7235)
+++ trunk/M/src/modules/NetscapeImporter.cpp 2007-04-23 20:23:09 UTC (rev
7236)
@@ -553,14 +553,14 @@
bool MyHashTable::Exist(const wxString& key) const
{
- wxString* tmp = (wxString *)m_tbl.Get(key.c_str());
+ wxString* tmp = (wxString *)m_tbl.Get(key);
return ( tmp != NULL );
}
bool MyHashTable::GetValue(const wxString& key, bool& value) const
{
value = FALSE;
- wxString* tmp = (wxString *)m_tbl.Get(key.c_str());
+ wxString* tmp = (wxString *)m_tbl.Get(key);
if ( tmp )
{
value = (( *tmp == _T("true") ) || ( *tmp == _T("TRUE") ) || ( *tmp ==
_T("1")));
@@ -573,7 +573,7 @@
bool MyHashTable::GetValue(const wxString& key, wxString& value ) const
{
value.Empty();
- wxString* tmp = (wxString *)m_tbl.Get(key.c_str());
+ wxString* tmp = (wxString *)m_tbl.Get(key);
if ( tmp )
{
value = *tmp;
@@ -585,7 +585,7 @@
bool MyHashTable::GetValue(const wxString& key, unsigned long& value ) const
{
- wxString* tmp = (wxString *)m_tbl.Get(key.c_str());
+ wxString* tmp = (wxString *)m_tbl.Get(key);
if ( tmp && tmp->ToULong(&value) )
return TRUE;
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Mahogany-cvsupdates mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates