sc/source/ui/view/gridwin4.cxx |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

New commits:
commit 45a0bb0d209d6b5ace519ed13de890f79e43fe9a
Author:     Justin Luth <[email protected]>
AuthorDate: Fri Nov 21 12:01:27 2025 -0500
Commit:     Xisco Fauli <[email protected]>
CommitDate: Mon Nov 24 13:03:52 2025 +0100

    tdf#150150 Revert "draw Note mark before text for correct ZOrder"
    
    This reverts 5.0 commit 2d1abfff0156c17cdaabf27c01e92b5e3f0bbbf4.
    
    The comment marker is not nearly as obstructive
    as it was back in 5.0 days.
    
    Change-Id: Id5596be2ede154e5c9302a23853b5fcaf724c1c7
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194343
    Tested-by: Jenkins
    Reviewed-by: Justin Luth <[email protected]>
    Signed-off-by: Xisco Fauli <[email protected]>
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194429

diff --git a/sc/source/ui/view/gridwin4.cxx b/sc/source/ui/view/gridwin4.cxx
index 7a828e5c6a87..ce688f9855da 100644
--- a/sc/source/ui/view/gridwin4.cxx
+++ b/sc/source/ui/view/gridwin4.cxx
@@ -936,10 +936,6 @@ void ScGridWindow::DrawContent(OutputDevice &rDevice, 
const ScTableInfo& rTableI
 
     aOutputData.DrawSparklines(*pContentDev);
 
-    // Show Note Mark
-    if ( rOpts.GetOption( VOPT_NOTES ) )
-        aOutputData.DrawNoteMarks(*pContentDev);
-
     if ( rOpts.GetOption( VOPT_FORMULAS_MARKS ) )
         aOutputData.DrawFormulaMarks(*pContentDev);
 
@@ -970,6 +966,10 @@ void ScGridWindow::DrawContent(OutputDevice &rDevice, 
const ScTableInfo& rTableI
     // Autofilter- and Pivot-Buttons
     DrawButtons(nX1, nX2, rTableInfo, pContentDev, pLokRTLCtxt.get());         
 // Pixel
 
+    // Show Note Mark
+    if ( rOpts.GetOption( VOPT_NOTES ) )
+        aOutputData.DrawNoteMarks(*pContentDev);
+
     pContentDev->SetMapMode(MapMode(MapUnit::MapPixel));
 
     aOutputData.DrawClipMarks();

Reply via email to