sc/source/core/data/table2.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 7cb6712b6947f127e6f589972072d12151a9ae3c
Author:     Andrea Gelmini <andrea.gelm...@gelma.net>
AuthorDate: Fri Nov 15 22:19:35 2024 +0100
Commit:     Andrea Gelmini <andrea.gelm...@gelma.net>
CommitDate: Sat Nov 16 13:11:50 2024 +0100

    Fix typos
    
    Change-Id: Ibeadfb72c54887ac8a74dbb11958266fbbda46e0
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176659
    Reviewed-by: Andrea Gelmini <andrea.gelm...@gelma.net>
    Tested-by: Jenkins

diff --git a/sc/source/core/data/table2.cxx b/sc/source/core/data/table2.cxx
index 4321a27893a5..d6397fb0af0d 100644
--- a/sc/source/core/data/table2.cxx
+++ b/sc/source/core/data/table2.cxx
@@ -437,7 +437,7 @@ void ScTable::DeleteArea(
 
         if ( IsProtected() && (nDelFlag & InsertDeleteFlags::ATTRIB) )
         {
-            // Do not overwrite cell protection if we are in a Pivot table 
area and its not protected
+            // Do not overwrite cell protection if we are in a Pivot table 
area and it's not protected
             const ScDPObject* pDPObj = rDocument.GetDPAtArea(nTab, nCol1, 
nRow1, nCol2, nRow2);
             if (!pDPObj || (pDPObj && 
!GetProtection()->isOptionEnabled(ScTableProtection::PIVOT_TABLES)))
             {
@@ -479,7 +479,7 @@ void ScTable::DeleteSelection( InsertDeleteFlags nDelFlag, 
const ScMarkData& rMa
 
     if ( IsProtected() && (nDelFlag & InsertDeleteFlags::ATTRIB) )
     {
-        // Do not overwrite cell protection if we are in a Pivot table area 
and its not protected
+        // Do not overwrite cell protection if we are in a Pivot table area 
and it's not protected
         const ScRange& rRange = rMark.GetArea();
         const ScDPObject* pDPObj = rDocument.GetDPAtArea(nTab,
             rRange.aStart.Col(), rRange.aStart.Row(), rRange.aEnd.Col(), 
rRange.aEnd.Row());

Reply via email to