diff options
author | Matteo Casalin <matteo.casalin@yahoo.com> | 2015-11-04 11:20:51 +0100 |
---|---|---|
committer | Matteo Casalin <matteo.casalin@yahoo.com> | 2015-11-05 20:32:46 +0100 |
commit | 117ff6534ccf402cd323061104a4e8f7ecfa0850 (patch) | |
tree | 1ae9d46c135e6fce3360126002fdf29cf42d5ba8 /svx | |
parent | 45a2bb97a19dc599abda5e4dce620f2b75491d0f (diff) |
Expand some prefixes ('Brk' to 'Break', 'Beg' to 'Begin')
Change-Id: Id4047b656ce53cf754c35fab13216587884da199
Diffstat (limited to 'svx')
-rw-r--r-- | svx/inc/svdibrow.hxx | 4 | ||||
-rw-r--r-- | svx/source/svdraw/svdibrow.cxx | 12 |
2 files changed, 8 insertions, 8 deletions
diff --git a/svx/inc/svdibrow.hxx b/svx/inc/svdibrow.hxx index cbf8d52c5bf0..d492a9d8d9f9 100644 --- a/svx/inc/svdibrow.hxx +++ b/svx/inc/svdibrow.hxx @@ -56,7 +56,7 @@ private: void ImpSaveWhich(); void ImpRestoreWhich(); sal_uIntPtr GetCurrentPos() const; - bool BegChangeEntry(sal_uIntPtr nPos); + bool BeginChangeEntry(sal_uIntPtr nPos); protected: virtual long GetRowCount() const override; @@ -76,7 +76,7 @@ public: void SetAttributes(const SfxItemSet* pAttr, const SfxItemSet* p2ndSet=NULL); sal_uInt16 GetCurrentWhich() const; bool EndChangeEntry(); - void BrkChangeEntry(); + void BreakChangeEntry(); /** GetCellText returns the text at the given position @param _nRow diff --git a/svx/source/svdraw/svdibrow.cxx b/svx/source/svdraw/svdibrow.cxx index 97ea6b7c899b..db7ee266d7a9 100644 --- a/svx/source/svdraw/svdibrow.cxx +++ b/svx/source/svdraw/svdibrow.cxx @@ -187,7 +187,7 @@ void ImpItemEdit::KeyInput(const KeyEvent& rKEvt) } else if(nKeyCode == KEY_ESCAPE) { - pBrowseMerk->BrkChangeEntry(); + pBrowseMerk->BreakChangeEntry(); pBrowseMerk->GrabFocus(); } else if(nKeyCode == KEY_UP || nKeyCode == KEY_DOWN) @@ -392,7 +392,7 @@ void _SdrItemBrowserControl::DoubleClick(const BrowserMouseEvent&) { sal_uIntPtr nPos=GetCurrentPos(); if (nPos!=CONTAINER_ENTRY_NOTFOUND) { - BegChangeEntry(nPos); + BeginChangeEntry(nPos); } } @@ -403,7 +403,7 @@ void _SdrItemBrowserControl::KeyInput(const KeyEvent& rKEvt) sal_uIntPtr nPos=GetCurrentPos(); if (nPos!=CONTAINER_ENTRY_NOTFOUND) { if (nKeyCode==KEY_RETURN) { - if (BegChangeEntry(nPos)) bAusgewertet = true; + if (BeginChangeEntry(nPos)) bAusgewertet = true; } else if (nKeyCode==KEY_ESCAPE) { } else if (rKEvt.GetKeyCode().GetModifier()==KEY_SHIFT+KEY_MOD1+KEY_MOD2) { // Ctrl @@ -488,9 +488,9 @@ void _SdrItemBrowserControl::ImpRestoreWhich() } } -bool _SdrItemBrowserControl::BegChangeEntry(sal_uIntPtr nPos) +bool _SdrItemBrowserControl::BeginChangeEntry(sal_uIntPtr nPos) { - BrkChangeEntry(); + BreakChangeEntry(); bool bRet = false; ImpItemListRow* pEntry=ImpGetEntry(nPos); if (pEntry!=NULL && !pEntry->bComment) { @@ -543,7 +543,7 @@ bool _SdrItemBrowserControl::EndChangeEntry() return bRet; } -void _SdrItemBrowserControl::BrkChangeEntry() +void _SdrItemBrowserControl::BreakChangeEntry() { if (pEditControl!=nullptr) { pEditControl.disposeAndClear(); |