sd/source/ui/view/drviewsg.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 076855a4e97b9134a62e331347750bf4c6d41ffc
Author:     Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org>
AuthorDate: Sun Oct 13 16:42:58 2024 +0300
Commit:     Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org>
CommitDate: Mon Oct 14 20:00:06 2024 +0200

    tdf#163413 Fix copy & paste error in Display Snap Guides toggle code
    
    Change-Id: Icb2c549c3b510a33f3be519f5582374d6a096f35
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174870
    Reviewed-by: Gabor Kelemen <gabor.kelemen.ext...@allotropia.de>
    Tested-by: Jenkins
    (cherry picked from commit 9790e2275384f6687aab9c5a7b4fc3b6ff5df981)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174797
    Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org>
    Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org>

diff --git a/sd/source/ui/view/drviewsg.cxx b/sd/source/ui/view/drviewsg.cxx
index aa62d437db82..1e156f3df0fa 100644
--- a/sd/source/ui/view/drviewsg.cxx
+++ b/sd/source/ui/view/drviewsg.cxx
@@ -131,9 +131,9 @@ void DrawViewShell::ExecOptionsBar( SfxRequest& rReq )
         case SID_HELPLINES_VISIBLE: // not here yet!
         {
             if ( GetDoc()->GetDocumentType() == DocumentType::Impress )
-                
officecfg::Office::Impress::Layout::Display::Guide::set(!mpDrawView->IsHlplVisible(),
 batch);
+                
officecfg::Office::Impress::Layout::Display::Helpline::set(!mpDrawView->IsHlplVisible(),
 batch);
             else
-                
officecfg::Office::Draw::Layout::Display::Guide::set(!mpDrawView->IsHlplVisible(),
 batch);
+                
officecfg::Office::Draw::Layout::Display::Helpline::set(!mpDrawView->IsHlplVisible(),
 batch);
         }
         break;
 

Reply via email to