diff options
author | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-06 22:16:10 +0000 |
---|---|---|
committer | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-06 22:16:10 +0000 |
commit | 7d2d0d0e99f9e93c5d11a2276678a564a327d19e (patch) | |
tree | c40ad023ca76cec3c8341caed2b85607512cc946 /printing/page_overlays.cc | |
parent | 0c04e204b075d4388591e1a0a581777d8293984f (diff) | |
download | chromium_src-7d2d0d0e99f9e93c5d11a2276678a564a327d19e.zip chromium_src-7d2d0d0e99f9e93c5d11a2276678a564a327d19e.tar.gz chromium_src-7d2d0d0e99f9e93c5d11a2276678a564a327d19e.tar.bz2 |
printing: string_util.h -> utf_string_conversions.h fix.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/669242
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40849 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'printing/page_overlays.cc')
-rw-r--r-- | printing/page_overlays.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/printing/page_overlays.cc b/printing/page_overlays.cc index 446e9dd..e01b02e 100644 --- a/printing/page_overlays.cc +++ b/printing/page_overlays.cc @@ -7,6 +7,7 @@ #include "app/gfx/text_elider.h" #include "base/logging.h" #include "base/string_util.h" +#include "base/utf_string_conversions.h" #include "printing/printed_document.h" #include "printing/printed_page.h" @@ -133,7 +134,7 @@ void PageOverlays::SetOverlay(HorizontalPosition x, } } -//static +// static std::wstring PageOverlays::ReplaceVariables(const std::wstring& input, const PrintedDocument& document, const PrintedPage& page) { @@ -141,7 +142,6 @@ std::wstring PageOverlays::ReplaceVariables(const std::wstring& input, for (size_t offset = output.find(L'{', 0); offset != std::wstring::npos; offset = output.find(L'{', offset)) { - if (0 == output.compare(offset, wcslen(kTitle), kTitle)) { |