Ultra-dense networks (UDNs) are widely considered as an effective solution to greatly improve coverage by shortening the communication distance between user equipments (UEs) and base stations (BSs). The reality of UDN is that line-of-sight (LOS) communication becomes more likely to occur but this desirable result also complicates the performance analysis of random UDNs and puts an obstacle on the design and optimization of UDNs. The aim of this paper is to derive analytical results that take into account the phenomenon of having mixed LOS and non line-of-sight (NLOS) links in UDNs. In particular, the use of an arbitrary shaped thinning process to model the LOS wireless links allowed us to investigate a wide set of scenarios for what concerns the desired and interfering power levels. Our contribution is an accurate approximation in closed form for the success content delivery probability (SCDP) that decouples the contribution from LOS and NLOS links. Simulation results corroborate the accuracy of the proposed approximation