Remember these important oxidation states of oxygen:
\[
\boxed{
\begin{aligned}
O_2,\;O_3 &: 0\\
H_2O &: -2\\
H_2O_2 &: -1\\
OF_2 &: +2\\
O_2F_2 &: +1
\end{aligned}
}
\]
Whenever oxygen combines with fluorine, oxygen has a positive oxidation state because fluorine is the most electronegative element.