sc/source/ui/view/tabvwshc.cxx |    4 ----
 1 file changed, 4 deletions(-)

New commits:
commit 512edf27d5593b2123034c5797b2bee3b27bf307
Author:     Markus Mohrhard <[email protected]>
AuthorDate: Wed Nov 19 11:28:53 2025 +0800
Commit:     Markus Mohrhard <[email protected]>
CommitDate: Thu Nov 20 08:46:45 2025 +0100

    tdf#157211: don't limit range to data range when opening DB name dialog
    
    This behavior is not what the user expects and we don't
    need to init the mark block mode again. This is already
    taken care off by the GetDBData code.
    
    Change-Id: I58556642ae696e32065e76e68b9eaca082863dad
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194182
    Tested-by: Jenkins
    Reviewed-by: Markus Mohrhard <[email protected]>

diff --git a/sc/source/ui/view/tabvwshc.cxx b/sc/source/ui/view/tabvwshc.cxx
index 74a02fcdad22..2f99da74cfaf 100644
--- a/sc/source/ui/view/tabvwshc.cxx
+++ b/sc/source/ui/view/tabvwshc.cxx
@@ -257,10 +257,6 @@ std::shared_ptr<SfxModelessDialogController> 
ScTabViewShell::CreateRefDialogCont
         {
             // when called for an existing range, then mark
             GetDBData( true, SC_DB_OLD );
-            const ScMarkData& rMark = GetViewData().GetMarkData();
-            if ( !rMark.IsMarked() && !rMark.IsMultiMarked() )
-                MarkDataArea( false );
-
             xResult = std::make_shared<ScDbNameDlg>(pB, pCW, pParent, 
GetViewData());
             break;
         }

Reply via email to