Lines Matching refs:nRights
273 sal_Int32 nRights = 0; in mapAdoRights2Sdbc() local
275 nRights |= Privilege::INSERT; in mapAdoRights2Sdbc()
277 nRights |= ::com::sun::star::sdbcx::Privilege::DELETE; in mapAdoRights2Sdbc()
279 nRights |= Privilege::UPDATE; in mapAdoRights2Sdbc()
281 nRights |= Privilege::ALTER; in mapAdoRights2Sdbc()
283 nRights |= Privilege::SELECT; in mapAdoRights2Sdbc()
285 nRights |= Privilege::REFERENCE; in mapAdoRights2Sdbc()
287 nRights |= Privilege::DROP; in mapAdoRights2Sdbc()
289 return nRights; in mapAdoRights2Sdbc()
292 sal_Int32 ADOS::mapRights2Ado(sal_Int32 nRights) in mapRights2Ado() argument
296 if((nRights & Privilege::INSERT) == Privilege::INSERT) in mapRights2Ado()
298 if((nRights & Privilege::DELETE) == Privilege::DELETE) in mapRights2Ado()
300 if((nRights & Privilege::UPDATE) == Privilege::UPDATE) in mapRights2Ado()
302 if((nRights & Privilege::ALTER) == Privilege::ALTER) in mapRights2Ado()
304 if((nRights & Privilege::SELECT) == Privilege::SELECT) in mapRights2Ado()
306 if((nRights & Privilege::REFERENCE) == Privilege::REFERENCE) in mapRights2Ado()
308 if((nRights & Privilege::DROP) == Privilege::DROP) in mapRights2Ado()