Commit 7768ff9e authored by Rémi Duraffort's avatar Rémi Duraffort

skins2: remove unused function.

parent 3180a620
......@@ -249,19 +249,6 @@ const UString UString::operator +( const char *pString ) const
}
void UString::debug() const
{
char *s = new char[size() + 1];
for( uint32_t i = 0; i < size(); i++ )
{
s[i] = (char)m_pString[i];
}
s[size()] = '\0';
msg_Err( getIntf(), "%s", s );
delete[] s;
}
uint32_t UString::find( const UString &str, uint32_t position ) const
{
uint32_t pos;
......
......@@ -85,9 +85,6 @@ class UString: public SkinObject
/// Build a string from an integer
static UString fromInt(intf_thread_t *pIntf, int number);
/// XXX: temporary
void debug() const;
private:
/// Unicode string
uint32_t *m_pString;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment