Description: In Impress, when you create a link to another slide (say "A"), this link works fine (pointing to "A"), but in PDF exports, the same link points to a slide after "A", when there are masked slides before "A". Steps to Reproduce: 1. create 4 slides 2. rename slide number 3 to "A" 3. in slide 2, create a link to "#A" 4. mask slide 1 5. export to PDF Actual Results: In PDF link points to the slide after "A". Expected Results: In PDF link should point to slide "A". Reproducible: Always User Profile Reset: No Additional Info: Version: 24.2.5.2 (X86_64) / LibreOffice Community Build ID: bffef4ea93e59bebbeaf7f431bb02b1a39ee8a59 CPU threads: 12; OS: Windows 10.0 Build 22000; UI render: Skia/Raster; VCL: win Locale: fr-FR (fr_FR); UI: fr-FR Calc: CL threaded
Created attachment 196380 [details] example to reproduce the bug
Confirm with Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: b418f3d8d332276e6990cf7532a8f66aeb1d2f6c CPU threads: 4; OS: Linux 6.8; UI render: default; VCL: gtk3 Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US Calc: threaded Export is correct when first slide is not hidden.