зеркало из https://github.com/mozilla/pjs.git
cast away constness for a temporary fix to windows build bustage
This commit is contained in:
Родитель
b37e7da58b
Коммит
a6d85f64a3
|
@ -307,7 +307,10 @@ nsCommentNode::ConvertContentToXIF(nsXIFConverter& aConverter) const
|
|||
|
||||
nsTextFragment* textFrag;
|
||||
PRInt32 numFragments;
|
||||
res = mInner.GetText(textFrag, numFragments);
|
||||
// XXX This method is const, but GetText() isn't, so cast away the
|
||||
// XXX constness of mInner to fix windows build bustage temporarily.
|
||||
nsGenericDOMDataNode* inner = (nsGenericDOMDataNode*)&mInner;
|
||||
res = inner->GetText(textFrag, numFragments);
|
||||
if (!NS_SUCCEEDED(res))
|
||||
return res;
|
||||
#ifdef DEBUG_akkana
|
||||
|
|
|
@ -307,7 +307,10 @@ nsCommentNode::ConvertContentToXIF(nsXIFConverter& aConverter) const
|
|||
|
||||
nsTextFragment* textFrag;
|
||||
PRInt32 numFragments;
|
||||
res = mInner.GetText(textFrag, numFragments);
|
||||
// XXX This method is const, but GetText() isn't, so cast away the
|
||||
// XXX constness of mInner to fix windows build bustage temporarily.
|
||||
nsGenericDOMDataNode* inner = (nsGenericDOMDataNode*)&mInner;
|
||||
res = inner->GetText(textFrag, numFragments);
|
||||
if (!NS_SUCCEEDED(res))
|
||||
return res;
|
||||
#ifdef DEBUG_akkana
|
||||
|
|
Загрузка…
Ссылка в новой задаче