[Libreoffice-commits] core.git: svx/source

Johnny_M klasse at partyheld.de
Tue Mar 13 12:05:54 UTC 2018


 svx/source/svdraw/svdibrow.cxx |   16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

New commits:
commit 83e5f4db3b42f5fce16dc1e0ce723a45329dab0f
Author: Johnny_M <klasse at partyheld.de>
Date:   Sat Mar 10 12:01:22 2018 +0100

    Translate German variable names
    
    Akt -> Current in svdibrow
    
    Change-Id: I3a3a87fdba179ad927226097c53c4f07d36095e8
    Reviewed-on: https://gerrit.libreoffice.org/51033
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Michael Stahl <mstahl at redhat.com>

diff --git a/svx/source/svdraw/svdibrow.cxx b/svx/source/svdraw/svdibrow.cxx
index 7f98fbc746ae..fc7c0c560658 100644
--- a/svx/source/svdraw/svdibrow.cxx
+++ b/svx/source/svdraw/svdibrow.cxx
@@ -536,19 +536,19 @@ void SdrItemBrowserControl::ImpSetEntry(const ImpItemListRow& rEntry, std::size_
         aList.emplace_back(new ImpItemListRow(rEntry));
         RowInserted(nEntryNum);
     } else {
-        auto& pAktEntry=aList[nEntryNum];
-        if (*pAktEntry!=rEntry) {
-            bool bStateDiff=rEntry.eState!=pAktEntry->eState;
-            bool bValueDiff=rEntry.aValue != pAktEntry->aValue;
+        auto& pCurrentEntry=aList[nEntryNum];
+        if (*pCurrentEntry!=rEntry) {
+            bool bStateDiff=rEntry.eState!=pCurrentEntry->eState;
+            bool bValueDiff=rEntry.aValue != pCurrentEntry->aValue;
             bool bAllDiff = true;
             if (bStateDiff || bValueDiff) {
                 // check whether only state and/or value have changed
                 ImpItemListRow aTest(rEntry);
-                aTest.eState=pAktEntry->eState;
-                aTest.aValue=pAktEntry->aValue;
-                if (aTest==*pAktEntry) bAllDiff = false;
+                aTest.eState=pCurrentEntry->eState;
+                aTest.aValue=pCurrentEntry->aValue;
+                if (aTest==*pCurrentEntry) bAllDiff = false;
             }
-            *pAktEntry=rEntry;
+            *pCurrentEntry=rEntry;
             if (bAllDiff) {
                 RowModified(nEntryNum);
             } else {


More information about the Libreoffice-commits mailing list