[Libreoffice-commits] core.git: svx/inc svx/source
Johnny_M
klasse at partyheld.de
Sat Apr 7 10:29:16 UTC 2018
svx/inc/svdibrow.hxx | 2 +-
svx/source/svdraw/svdibrow.cxx | 22 +++++++++++-----------
2 files changed, 12 insertions(+), 12 deletions(-)
New commits:
commit e819c33d248f0c03305fcd3fa3a1a9f5aef9c109
Author: Johnny_M <klasse at partyheld.de>
Date: Sat Mar 31 14:33:40 2018 +0200
Translate German variable names
aNeuNam -> aNewName
aWNamMerk -> aWNameMemorized
Change-Id: Iace4b6f84b40c3f989619331636ae059347e167f
Reviewed-on: https://gerrit.libreoffice.org/52192
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Michael Stahl <Michael.Stahl at cib.de>
diff --git a/svx/inc/svdibrow.hxx b/svx/inc/svdibrow.hxx
index c62289e83751..21104c99829d 100644
--- a/svx/inc/svdibrow.hxx
+++ b/svx/inc/svdibrow.hxx
@@ -36,7 +36,7 @@ friend class ImpItemEdit;
std::vector<std::unique_ptr<ImpItemListRow>> aList;
long nCurrentPaintRow;
VclPtr<Edit> pEditControl;
- OUString aWNamMerk;
+ OUString aWNameMemorized;
Link<SdrItemBrowserControl&,void> aEntryChangedHdl;
Link<SdrItemBrowserControl&,void> aSetDirtyHdl;
ImpItemListRow* pCurrentChangeEntry;
diff --git a/svx/source/svdraw/svdibrow.cxx b/svx/source/svdraw/svdibrow.cxx
index fc7c0c560658..0128792cfc4e 100644
--- a/svx/source/svdraw/svdibrow.cxx
+++ b/svx/source/svdraw/svdibrow.cxx
@@ -489,18 +489,18 @@ bool SdrItemBrowserControl::BeginChangeEntry(std::size_t nPos)
pEditControl->GrabFocus();
pEditControl->SetSelection(Selection(SELECTION_MIN,SELECTION_MAX));
vcl::Window* pParent=GetParent();
- aWNamMerk=pParent->GetText();
- OUString aNeuNam(aWNamMerk);
- aNeuNam += " ";
- aNeuNam += pEntry->GetItemTypeStr();
+ aWNameMemorized=pParent->GetText();
+ OUString aNewName(aWNameMemorized);
+ aNewName += " ";
+ aNewName += pEntry->GetItemTypeStr();
if (pEntry->bCanNum) {
- aNeuNam += ": ";
- aNeuNam += OUString::number(pEntry->nMin);
- aNeuNam += "..";
- aNeuNam += OUString::number(pEntry->nMax);
+ aNewName += ": ";
+ aNewName += OUString::number(pEntry->nMin);
+ aNewName += "..";
+ aNewName += OUString::number(pEntry->nMax);
}
- aNeuNam += " - Type 'del' to reset to default.";
- pParent->SetText(aNeuNam);
+ aNewName += " - Type 'del' to reset to default.";
+ pParent->SetText(aNewName);
pCurrentChangeEntry=new ImpItemListRow(*pEntry);
bRet = true;
}
@@ -523,7 +523,7 @@ void SdrItemBrowserControl::BreakChangeEntry()
delete pCurrentChangeEntry;
pCurrentChangeEntry=nullptr;
vcl::Window* pParent=GetParent();
- pParent->SetText(aWNamMerk);
+ pParent->SetText(aWNameMemorized);
SetMode(MYBROWSEMODE);
}
}
More information about the Libreoffice-commits
mailing list