Remove unused attribute Context::m_activeDocument
Fix VS2005 compilation problem