summaryrefslogtreecommitdiff
path: root/core/fxge
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2017-11-22 20:04:12 +0000
committerChromium commit bot <commit-bot@chromium.org>2017-11-22 20:04:12 +0000
commitfe2cd4d914205f2da91286e7270209e2016d51a1 (patch)
tree50c8f98c7daf38df965f83e29a382fd95434195d /core/fxge
parentd328d91f9e7a49f0d79048a7d10be9ba17ad9cb2 (diff)
downloadpdfium-fe2cd4d914205f2da91286e7270209e2016d51a1.tar.xz
Remove some pointless assignments to "".
Or change them to clear(). Change-Id: Ia9e3e1f0d74b948cec3f8df85d205f830ac9216c Reviewed-on: https://pdfium-review.googlesource.com/19172 Reviewed-by: dsinclair <dsinclair@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'core/fxge')
-rw-r--r--core/fxge/win32/fx_win32_gdipext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fxge/win32/fx_win32_gdipext.cpp b/core/fxge/win32/fx_win32_gdipext.cpp
index 70da194be4..1a7e132c64 100644
--- a/core/fxge/win32/fx_win32_gdipext.cpp
+++ b/core/fxge/win32/fx_win32_gdipext.cpp
@@ -682,7 +682,7 @@ CGdiplusExt::CGdiplusExt() {
m_pGdiRemoveFontMemResourseEx = nullptr;
}
void CGdiplusExt::Load() {
- ByteString strPlusPath = "";
+ ByteString strPlusPath;
char buf[MAX_PATH];
GetSystemDirectoryA(buf, MAX_PATH);
strPlusPath += buf;