| Index: core/include/fxcrt/fx_string.h | 
| diff --git a/core/include/fxcrt/fx_string.h b/core/include/fxcrt/fx_string.h | 
| index 44c6fc53ff6de008ff3be9f824e8985e19d59f64..91032f9d9773b4e955d6dc6218454739f1aab69d 100644 | 
| --- a/core/include/fxcrt/fx_string.h | 
| +++ b/core/include/fxcrt/fx_string.h | 
| @@ -184,6 +184,13 @@ public: | 
|  | 
| static CFX_ByteString	FromUnicode(const CFX_WideString& str); | 
|  | 
| +    // Explicit conversion to raw string | 
| +    FX_LPCSTR c_str() const | 
| +    { | 
| +        return m_pData ? m_pData->m_String : ""; | 
| +    } | 
| + | 
| +    // Implicit conversion to C-style string -- deprecated | 
| operator				FX_LPCSTR() const | 
| { | 
| return m_pData ? m_pData->m_String : ""; | 
|  |