Not quite sure how this ever worked
This commit is contained in:
parent
e901b1c6ca
commit
157f3abe64
2 changed files with 15 additions and 15 deletions
|
@ -330,7 +330,7 @@ bool WindowsToastNotification::GetTextNodeList(
|
||||||
ScopedHString* tag,
|
ScopedHString* tag,
|
||||||
IXmlDocument* doc,
|
IXmlDocument* doc,
|
||||||
IXmlNodeList** node_list,
|
IXmlNodeList** node_list,
|
||||||
Uint32_t req_length) {
|
uint32_t req_length) {
|
||||||
tag->Reset(L"text");
|
tag->Reset(L"text");
|
||||||
if (!tag->success())
|
if (!tag->success())
|
||||||
return false;
|
return false;
|
||||||
|
@ -338,7 +338,7 @@ bool WindowsToastNotification::GetTextNodeList(
|
||||||
if (FAILED(doc->GetElementsByTagName(*tag, node_list)))
|
if (FAILED(doc->GetElementsByTagName(*tag, node_list)))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
Uint32_t node_length;
|
uint32_t node_length;
|
||||||
if (FAILED((*node_list)->get_Length(&node_length)))
|
if (FAILED((*node_list)->get_Length(&node_length)))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
|
|
@ -70,7 +70,7 @@ class WindowsToastNotification : public Notification {
|
||||||
bool GetTextNodeList(ScopedHString* tag,
|
bool GetTextNodeList(ScopedHString* tag,
|
||||||
ABI::Windows::Data::Xml::Dom::IXmlDocument* doc,
|
ABI::Windows::Data::Xml::Dom::IXmlDocument* doc,
|
||||||
ABI::Windows::Data::Xml::Dom::IXmlNodeList** nodeList,
|
ABI::Windows::Data::Xml::Dom::IXmlNodeList** nodeList,
|
||||||
Uint32_t reqLength);
|
uint32_t reqLength);
|
||||||
bool AppendTextToXml(ABI::Windows::Data::Xml::Dom::IXmlDocument* doc,
|
bool AppendTextToXml(ABI::Windows::Data::Xml::Dom::IXmlDocument* doc,
|
||||||
ABI::Windows::Data::Xml::Dom::IXmlNode* node,
|
ABI::Windows::Data::Xml::Dom::IXmlNode* node,
|
||||||
const std::wstring& text);
|
const std::wstring& text);
|
||||||
|
|
Loading…
Reference in a new issue