[vlc-devel] commit: skins2: remove unused function. ( Rémi Duraffort )
git version control
git at videolan.org
Thu Mar 12 13:36:05 CET 2009
vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Wed Mar 11 19:48:29 2009 +0100| [7768ff9e6ac6a582bcc90c454d0986566a4f7f03] | committer: Rémi Duraffort
skins2: remove unused function.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7768ff9e6ac6a582bcc90c454d0986566a4f7f03
---
modules/gui/skins2/utils/ustring.cpp | 13 -------------
modules/gui/skins2/utils/ustring.hpp | 3 ---
2 files changed, 0 insertions(+), 16 deletions(-)
diff --git a/modules/gui/skins2/utils/ustring.cpp b/modules/gui/skins2/utils/ustring.cpp
index 3d6476d..483269f 100644
--- a/modules/gui/skins2/utils/ustring.cpp
+++ b/modules/gui/skins2/utils/ustring.cpp
@@ -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;
diff --git a/modules/gui/skins2/utils/ustring.hpp b/modules/gui/skins2/utils/ustring.hpp
index 90175b6..598dc70 100644
--- a/modules/gui/skins2/utils/ustring.hpp
+++ b/modules/gui/skins2/utils/ustring.hpp
@@ -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;
More information about the vlc-devel
mailing list