diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2006-05-15 03:43:10 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2006-05-15 03:43:10 +0800 |
commit | 9afceec1f0af2a55be0bf72850c3b6520a83d63d (patch) | |
tree | 64041c08cf318dfde736325ec708f57091bcdae5 /embed/mozilla/EphyUtils.cpp | |
parent | d69ef4bcd9190d6f128f341e17805493b672cf6e (diff) | |
download | gsoc2013-epiphany-9afceec1f0af2a55be0bf72850c3b6520a83d63d.tar gsoc2013-epiphany-9afceec1f0af2a55be0bf72850c3b6520a83d63d.tar.gz gsoc2013-epiphany-9afceec1f0af2a55be0bf72850c3b6520a83d63d.tar.bz2 gsoc2013-epiphany-9afceec1f0af2a55be0bf72850c3b6520a83d63d.tar.lz gsoc2013-epiphany-9afceec1f0af2a55be0bf72850c3b6520a83d63d.tar.xz gsoc2013-epiphany-9afceec1f0af2a55be0bf72850c3b6520a83d63d.tar.zst gsoc2013-epiphany-9afceec1f0af2a55be0bf72850c3b6520a83d63d.zip |
Use nsAString::Equals.
2006-05-14 Christian Persch <chpe@cvs.gnome.org>
* embed/mozilla/EphyUtils.cpp:
* embed/mozilla/EphyUtils.h:
* embed/mozilla/EventContext.cpp:
Use nsAString::Equals.
Diffstat (limited to 'embed/mozilla/EphyUtils.cpp')
-rw-r--r-- | embed/mozilla/EphyUtils.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/embed/mozilla/EphyUtils.cpp b/embed/mozilla/EphyUtils.cpp index 28286990a..60b5e01af 100644 --- a/embed/mozilla/EphyUtils.cpp +++ b/embed/mozilla/EphyUtils.cpp @@ -347,16 +347,3 @@ EphyUtils::CollatePrintSettings (EmbedPrintInfo *info, return NS_OK; } - -PRBool -EphyUtils::StringEquals (nsAString &s1, nsAString &s2) -{ - if (s1.Length() != s2.Length()) - { - return FALSE; - } - - return (memcmp (s1.BeginReading(), - s2.BeginReading(), - s2.Length() * sizeof (PRUnichar)) == 0); -} |