Revision: 7341
          http://mahogany.svn.sourceforge.net/mahogany/?rev=7341&view=rev
Author:   vadz
Date:     2007-08-26 04:33:38 -0700 (Sun, 26 Aug 2007)

Log Message:
-----------
don't return dangling pointer from AdbTreeBook::GetName()

Modified Paths:
--------------
    trunk/M/src/adb/AdbFrame.cpp

Modified: trunk/M/src/adb/AdbFrame.cpp
===================================================================
--- trunk/M/src/adb/AdbFrame.cpp        2007-08-25 19:35:01 UTC (rev 7340)
+++ trunk/M/src/adb/AdbFrame.cpp        2007-08-26 11:33:38 UTC (rev 7341)
@@ -402,7 +402,7 @@
 
   // accessors
     // return the file name (NB: not really always a file name...)
-  const wxChar *GetName() const { return m_pBook->GetName(); }
+  wxString GetName() const { return m_pBook->GetName(); }
 
   size_t GetNumberOfEntries() const { return m_pBook->GetNumberOfEntries(); }
 


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: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Mahogany-cvsupdates mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to