mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 753067 - Fix some warnings. r=dbolter
This commit is contained in:
parent
83c464c885
commit
bc0a72b7a7
@ -632,9 +632,9 @@ ApplicationAccessibleWrap::Init()
|
||||
if (NS_SUCCEEDED(rv)) {
|
||||
// init atk-bridge
|
||||
(*sAtkBridge.init)();
|
||||
}
|
||||
else
|
||||
} else {
|
||||
MAI_LOG_DEBUG(("Fail to load lib: %s\n", sAtkBridge.libName));
|
||||
}
|
||||
|
||||
if (!sToplevel_event_hook_added) {
|
||||
sToplevel_event_hook_added = true;
|
||||
|
@ -1382,10 +1382,11 @@ nsresult
|
||||
nsAccessibleWrap::FireAtkShowHideEvent(AccEvent* aEvent,
|
||||
AtkObject *aObject, bool aIsAdded)
|
||||
{
|
||||
if (aIsAdded)
|
||||
if (aIsAdded) {
|
||||
MAI_LOG_DEBUG(("\n\nReceived: Show event\n"));
|
||||
else
|
||||
} else {
|
||||
MAI_LOG_DEBUG(("\n\nReceived: Hide event\n"));
|
||||
}
|
||||
|
||||
PRInt32 indexInParent = getIndexInParentCB(aObject);
|
||||
AtkObject *parentObject = getParentCB(aObject);
|
||||
|
@ -280,7 +280,7 @@ XULDescriptionIterator::Next()
|
||||
IDRefsIterator::
|
||||
IDRefsIterator(nsDocAccessible* aDoc, nsIContent* aContent,
|
||||
nsIAtom* aIDRefsAttr) :
|
||||
mCurrIdx(0), mContent(aContent), mDoc(aDoc)
|
||||
mContent(aContent), mDoc(aDoc), mCurrIdx(0)
|
||||
{
|
||||
if (mContent->IsInDoc())
|
||||
mContent->GetAttr(kNameSpaceID_None, aIDRefsAttr, mIDs);
|
||||
|
@ -63,8 +63,8 @@ public:
|
||||
* Constructor. Used to expose default text attributes.
|
||||
*/
|
||||
TextAttrsMgr(nsHyperTextAccessible* aHyperTextAcc) :
|
||||
mHyperTextAcc(aHyperTextAcc), mIncludeDefAttrs(true),
|
||||
mOffsetAcc(nsnull), mOffsetAccIdx(-1) { }
|
||||
mOffsetAcc(nsnull), mHyperTextAcc(aHyperTextAcc),
|
||||
mOffsetAccIdx(-1), mIncludeDefAttrs(true) { }
|
||||
|
||||
/**
|
||||
* Constructor. Used to expose text attributes at the given offset.
|
||||
@ -82,8 +82,8 @@ public:
|
||||
bool aIncludeDefAttrs,
|
||||
nsAccessible* aOffsetAcc,
|
||||
PRInt32 aOffsetAccIdx) :
|
||||
mHyperTextAcc(aHyperTextAcc), mIncludeDefAttrs(aIncludeDefAttrs),
|
||||
mOffsetAcc(aOffsetAcc), mOffsetAccIdx(aOffsetAccIdx) { }
|
||||
mOffsetAcc(aOffsetAcc), mHyperTextAcc(aHyperTextAcc),
|
||||
mOffsetAccIdx(aOffsetAccIdx), mIncludeDefAttrs(aIncludeDefAttrs) { }
|
||||
|
||||
/*
|
||||
* Return text attributes and hyper text offsets where these attributes are
|
||||
@ -118,8 +118,8 @@ protected:
|
||||
private:
|
||||
nsAccessible* mOffsetAcc;
|
||||
nsHyperTextAccessible* mHyperTextAcc;
|
||||
PRInt32 mOffsetAccIdx;
|
||||
bool mIncludeDefAttrs;
|
||||
PRInt32 mOffsetAccIdx;
|
||||
bool mIncludeDefAttrs;
|
||||
|
||||
protected:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user