diff options
| author | The Android Open Source Project <initial-contribution@android.com> | 2008-10-21 07:00:00 -0700 |
|---|---|---|
| committer | The Android Open Source Project <initial-contribution@android.com> | 2008-10-21 07:00:00 -0700 |
| commit | 9364f22aed35e1a1e9d07c121510f80be3ab0502 (patch) | |
| tree | d49911209b132da58d838efa852daf28d516df21 /WebCore/xml/XSLStyleSheet.cpp | |
| parent | 87eb0cb35bad8784770ebc807e6c982432e47107 (diff) | |
| download | external_webkit-9364f22aed35e1a1e9d07c121510f80be3ab0502.zip external_webkit-9364f22aed35e1a1e9d07c121510f80be3ab0502.tar.gz external_webkit-9364f22aed35e1a1e9d07c121510f80be3ab0502.tar.bz2 | |
Initial Contribution
Diffstat (limited to 'WebCore/xml/XSLStyleSheet.cpp')
| -rw-r--r-- | WebCore/xml/XSLStyleSheet.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/WebCore/xml/XSLStyleSheet.cpp b/WebCore/xml/XSLStyleSheet.cpp index 64c712f..22a0464 100644 --- a/WebCore/xml/XSLStyleSheet.cpp +++ b/WebCore/xml/XSLStyleSheet.cpp @@ -1,7 +1,7 @@ -/* +/** * This file is part of the XSL implementation. * - * Copyright (C) 2004, 2005, 2006, 2008 Apple Inc. All rights reserved. + * Copyright (C) 2004, 2005, 2006 Apple Computer, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public @@ -190,7 +190,7 @@ void XSLStyleSheet::loadChildSheets() } if (IS_XSLT_ELEM(curr) && IS_XSLT_NAME(curr, "import")) { xmlChar* uriRef = xsltGetNsProp(curr, (const xmlChar*)"href", XSLT_NAMESPACE); - loadChildSheet(String::fromUTF8((const char*)uriRef)); + loadChildSheet(DeprecatedString::fromUtf8((const char*)uriRef)); xmlFree(uriRef); } else break; @@ -201,7 +201,7 @@ void XSLStyleSheet::loadChildSheets() while (curr) { if (curr->type == XML_ELEMENT_NODE && IS_XSLT_ELEM(curr) && IS_XSLT_NAME(curr, "include")) { xmlChar* uriRef = xsltGetNsProp(curr, (const xmlChar*)"href", XSLT_NAMESPACE); - loadChildSheet(String::fromUTF8((const char*)uriRef)); + loadChildSheet(DeprecatedString::fromUtf8((const char*)uriRef)); xmlFree(uriRef); } curr = curr->next; @@ -209,7 +209,7 @@ void XSLStyleSheet::loadChildSheets() } } -void XSLStyleSheet::loadChildSheet(const String& href) +void XSLStyleSheet::loadChildSheet(const DeprecatedString& href) { RefPtr<XSLImportRule> childRule = new XSLImportRule(this, href); append(childRule); |
