Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: src/plugin/PluginUtil.cpp

Issue 4859310991474688: Issue 1681 - Incorrect usage of BString (Closed)
Patch Set: Created Dec. 10, 2014, 11:34 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« src/plugin/PluginClass.cpp ('K') | « src/plugin/PluginUtil.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/plugin/PluginUtil.cpp
diff --git a/src/plugin/PluginUtil.cpp b/src/plugin/PluginUtil.cpp
index a13922579237ede92f70fed750c75f219f1daf47..a077d4e7e6058fa0cd1361d0ace6ad8f0e3597d8 100644
--- a/src/plugin/PluginUtil.cpp
+++ b/src/plugin/PluginUtil.cpp
@@ -7,21 +7,6 @@
#include "PluginUtil.h"
#include "PluginSettings.h"
-BString::BString(const std::wstring& value)
- : value(::SysAllocString(value.c_str()))
-{
-}
-
-BString::~BString()
-{
- ::SysFreeString(value);
-}
-
-BString::operator BSTR()
-{
- return value;
-}
-
std::wstring HtmlFolderPath()
{
return GetDllDir() + L"html\\templates\\";
« src/plugin/PluginClass.cpp ('K') | « src/plugin/PluginUtil.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld