Kaydet (Commit) 497c5898 authored tarafından Noel Grandin's avatar Noel Grandin

sal_uLong->sal_Int32 in SvtIconChoiceCtrl

and drop the pass-by-reference param from GetSelected, nothing
uses it

Change-Id: I6d616a2b147912af9305410625af6e7afae34e59
Reviewed-on: https://gerrit.libreoffice.org/16312Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarNoel Grandin <noelgrandin@gmail.com>
üst e57314f6
...@@ -96,8 +96,7 @@ namespace accessibility ...@@ -96,8 +96,7 @@ namespace accessibility
SvxIconChoiceCtrlEntry* pEntry = static_cast< SvxIconChoiceCtrlEntry* >( rVclWindowEvent.GetData() ); SvxIconChoiceCtrlEntry* pEntry = static_cast< SvxIconChoiceCtrlEntry* >( rVclWindowEvent.GetData() );
if ( pEntry == NULL ) if ( pEntry == NULL )
{ {
sal_uLong nPos=0; pEntry = getCtrl()->GetSelectedEntry();
pEntry = getCtrl()->GetSelectedEntry ( nPos );
} }
if ( pEntry ) if ( pEntry )
{ {
......
...@@ -250,9 +250,9 @@ void IconChoiceDialog::dispose() ...@@ -250,9 +250,9 @@ void IconChoiceDialog::dispose()
if (m_pIconCtrl) if (m_pIconCtrl)
{ {
// remove Userdata from Icons // remove Userdata from Icons
for ( sal_uLong i=0; i < m_pIconCtrl->GetEntryCount(); i++) for ( sal_Int32 i=0; i < m_pIconCtrl->GetEntryCount(); i++)
{ {
SvxIconChoiceCtrlEntry* pEntry = m_pIconCtrl->GetEntry ( i ); SvxIconChoiceCtrlEntry* pEntry = m_pIconCtrl->GetEntry( i );
delete static_cast<sal_uInt16*>(pEntry->GetUserData()); delete static_cast<sal_uInt16*>(pEntry->GetUserData());
} }
} }
...@@ -358,13 +358,11 @@ void IconChoiceDialog::ShowPage(sal_uInt16 nId) ...@@ -358,13 +358,11 @@ void IconChoiceDialog::ShowPage(sal_uInt16 nId)
\**********************************************************************/ \**********************************************************************/
IMPL_LINK_NOARG(IconChoiceDialog , ChosePageHdl_Impl) IMPL_LINK_NOARG(IconChoiceDialog , ChosePageHdl_Impl)
{ {
sal_uLong nPos; SvxIconChoiceCtrlEntry *pEntry = m_pIconCtrl->GetSelectedEntry();
SvxIconChoiceCtrlEntry *pEntry = m_pIconCtrl->GetSelectedEntry ( nPos );
if ( !pEntry ) if ( !pEntry )
pEntry = m_pIconCtrl->GetCursor( ); pEntry = m_pIconCtrl->GetCursor( );
sal_uInt16 *pId = static_cast<sal_uInt16*>(pEntry->GetUserData ()); sal_uInt16 *pId = static_cast<sal_uInt16*>(pEntry->GetUserData());
if( *pId != mnCurrentPageId ) if( *pId != mnCurrentPageId )
{ {
...@@ -841,7 +839,7 @@ short IconChoiceDialog::Ok() ...@@ -841,7 +839,7 @@ short IconChoiceDialog::Ok()
void IconChoiceDialog::FocusOnIcon( sal_uInt16 nId ) void IconChoiceDialog::FocusOnIcon( sal_uInt16 nId )
{ {
// set focus to icon for the current visible page // set focus to icon for the current visible page
for ( sal_uLong i=0; i<m_pIconCtrl->GetEntryCount(); i++) for ( sal_Int32 i=0; i<m_pIconCtrl->GetEntryCount(); i++)
{ {
SvxIconChoiceCtrlEntry* pEntry = m_pIconCtrl->GetEntry ( i ); SvxIconChoiceCtrlEntry* pEntry = m_pIconCtrl->GetEntry ( i );
sal_uInt16* pUserData = static_cast<sal_uInt16*>(pEntry->GetUserData()); sal_uInt16* pUserData = static_cast<sal_uInt16*>(pEntry->GetUserData());
......
...@@ -114,8 +114,7 @@ void OApplicationSwapWindow::DataChanged( const DataChangedEvent& rDCEvt ) ...@@ -114,8 +114,7 @@ void OApplicationSwapWindow::DataChanged( const DataChangedEvent& rDCEvt )
void OApplicationSwapWindow::clearSelection() void OApplicationSwapWindow::clearSelection()
{ {
m_aIconControl->SetNoSelection(); m_aIconControl->SetNoSelection();
sal_uLong nPos = 0; SvxIconChoiceCtrlEntry* pEntry = m_aIconControl->GetSelectedEntry();
SvxIconChoiceCtrlEntry* pEntry = m_aIconControl->GetSelectedEntry(nPos);
if ( pEntry ) if ( pEntry )
m_aIconControl->InvalidateEntry(pEntry); m_aIconControl->InvalidateEntry(pEntry);
m_aIconControl->GetClickHdl().Call(m_aIconControl.get()); m_aIconControl->GetClickHdl().Call(m_aIconControl.get());
...@@ -138,8 +137,7 @@ bool OApplicationSwapWindow::interceptKeyInput( const KeyEvent& _rEvent ) ...@@ -138,8 +137,7 @@ bool OApplicationSwapWindow::interceptKeyInput( const KeyEvent& _rEvent )
ElementType OApplicationSwapWindow::getElementType() const ElementType OApplicationSwapWindow::getElementType() const
{ {
sal_uLong nPos = 0; SvxIconChoiceCtrlEntry* pEntry = m_aIconControl->GetSelectedEntry();
SvxIconChoiceCtrlEntry* pEntry = m_aIconControl->GetSelectedEntry(nPos);
return ( pEntry ) ? *static_cast<ElementType*>(pEntry->GetUserData()) : E_NONE; return ( pEntry ) ? *static_cast<ElementType*>(pEntry->GetUserData()) : E_NONE;
} }
...@@ -161,8 +159,7 @@ bool OApplicationSwapWindow::onContainerSelected( ElementType _eType ) ...@@ -161,8 +159,7 @@ bool OApplicationSwapWindow::onContainerSelected( ElementType _eType )
IMPL_LINK(OApplicationSwapWindow, OnContainerSelectHdl, SvtIconChoiceCtrl*, _pControl) IMPL_LINK(OApplicationSwapWindow, OnContainerSelectHdl, SvtIconChoiceCtrl*, _pControl)
{ {
sal_uLong nPos = 0; SvxIconChoiceCtrlEntry* pEntry = _pControl->GetSelectedEntry();
SvxIconChoiceCtrlEntry* pEntry = _pControl->GetSelectedEntry( nPos );
ElementType eType = E_NONE; ElementType eType = E_NONE;
if ( pEntry ) if ( pEntry )
{ {
......
...@@ -56,7 +56,7 @@ namespace dbaui ...@@ -56,7 +56,7 @@ namespace dbaui
void cut() SAL_OVERRIDE { } void cut() SAL_OVERRIDE { }
void paste() SAL_OVERRIDE { } void paste() SAL_OVERRIDE { }
inline sal_uLong GetEntryCount() const { return m_aIconControl->GetEntryCount(); } inline sal_Int32 GetEntryCount() const { return m_aIconControl->GetEntryCount(); }
inline SvxIconChoiceCtrlEntry* GetEntry( sal_uLong nPos ) const { return m_aIconControl->GetEntry(nPos); } inline SvxIconChoiceCtrlEntry* GetEntry( sal_uLong nPos ) const { return m_aIconControl->GetEntry(nPos); }
inline Rectangle GetBoundingBox( SvxIconChoiceCtrlEntry* pEntry ) const { return m_aIconControl->GetBoundingBox(pEntry); } inline Rectangle GetBoundingBox( SvxIconChoiceCtrlEntry* pEntry ) const { return m_aIconControl->GetBoundingBox(pEntry); }
......
...@@ -82,7 +82,7 @@ class SvxIconChoiceCtrlEntry ...@@ -82,7 +82,7 @@ class SvxIconChoiceCtrlEntry
Rectangle aRect; // Bounding-Rect of the entry Rectangle aRect; // Bounding-Rect of the entry
Rectangle aGridRect; // Only valid in Grid-mode Rectangle aGridRect; // Only valid in Grid-mode
sal_uLong nPos; sal_Int32 nPos;
/* /*
The insert position in the Insertlist is equal to the (sort) order stated at the Insert The insert position in the Insertlist is equal to the (sort) order stated at the Insert
...@@ -148,8 +148,6 @@ public: ...@@ -148,8 +148,6 @@ public:
// Only set at AutoArrange. The head of the list is accessible via SvxIconChoiceCtrl::GetPredecessorHead // Only set at AutoArrange. The head of the list is accessible via SvxIconChoiceCtrl::GetPredecessorHead
SvxIconChoiceCtrlEntry* GetSuccessor() const { return pflink; } SvxIconChoiceCtrlEntry* GetSuccessor() const { return pflink; }
SvxIconChoiceCtrlEntry* GetPredecessor() const { return pblink; } SvxIconChoiceCtrlEntry* GetPredecessor() const { return pblink; }
// sal_Unicode GetMnemonicChar() const;
}; };
enum SvxIconChoiceCtrlColumnAlign enum SvxIconChoiceCtrlColumnAlign
...@@ -307,9 +305,9 @@ public: ...@@ -307,9 +305,9 @@ public:
bool IsEntryEditing() const; bool IsEntryEditing() const;
sal_uLong GetEntryCount() const; sal_Int32 GetEntryCount() const;
SvxIconChoiceCtrlEntry* GetEntry( sal_uLong nPos ) const; SvxIconChoiceCtrlEntry* GetEntry( sal_Int32 nPos ) const;
sal_uLong GetEntryListPos( SvxIconChoiceCtrlEntry* pEntry ) const; sal_Int32 GetEntryListPos( SvxIconChoiceCtrlEntry* pEntry ) const;
using Window::SetCursor; using Window::SetCursor;
void SetCursor( SvxIconChoiceCtrlEntry* pEntry ); void SetCursor( SvxIconChoiceCtrlEntry* pEntry );
SvxIconChoiceCtrlEntry* GetCursor() const; SvxIconChoiceCtrlEntry* GetCursor() const;
...@@ -322,10 +320,10 @@ public: ...@@ -322,10 +320,10 @@ public:
SvxIconChoiceCtrlEntry* GetEntry( const Point& rPosPixel, bool bHit = false ) const; SvxIconChoiceCtrlEntry* GetEntry( const Point& rPosPixel, bool bHit = false ) const;
// sal_uLong is the position of the selected element in the list // sal_uLong is the position of the selected element in the list
SvxIconChoiceCtrlEntry* GetSelectedEntry( sal_uLong& rPos ) const; SvxIconChoiceCtrlEntry* GetSelectedEntry() const;
#ifdef DBG_UTIL #ifdef DBG_UTIL
void SetEntryTextMode( SvxIconChoiceCtrlTextMode eMode, SvxIconChoiceCtrlEntry* pEntry = 0 ); void SetEntryTextMode( SvxIconChoiceCtrlTextMode eMode, SvxIconChoiceCtrlEntry* pEntry = 0 );
#endif #endif
void SetFontColorToBackground ( bool bDo = true ) { _bAutoFontColor = bDo; } void SetFontColorToBackground ( bool bDo = true ) { _bAutoFontColor = bDo; }
......
...@@ -211,7 +211,7 @@ class SvxIconChoiceCtrl_Impl ...@@ -211,7 +211,7 @@ class SvxIconChoiceCtrl_Impl
SvxIconChoiceCtrlEntry* pCurEditedEntry; SvxIconChoiceCtrlEntry* pCurEditedEntry;
SvxIconChoiceCtrlTextMode eTextMode; SvxIconChoiceCtrlTextMode eTextMode;
SelectionMode eSelectionMode; SelectionMode eSelectionMode;
sal_uLong nSelectionCount; sal_Int32 nSelectionCount;
SvxIconChoiceCtrlPositionMode ePositionMode; SvxIconChoiceCtrlPositionMode ePositionMode;
bool bBoundRectsDirty; bool bBoundRectsDirty;
bool bUpdateMode; bool bUpdateMode;
...@@ -438,7 +438,7 @@ public: ...@@ -438,7 +438,7 @@ public:
void Command( const CommandEvent& rCEvt ); void Command( const CommandEvent& rCEvt );
void ToTop( SvxIconChoiceCtrlEntry* ); void ToTop( SvxIconChoiceCtrlEntry* );
sal_uLong GetSelectionCount() const; sal_Int32 GetSelectionCount() const;
void SetGrid( const Size& ); void SetGrid( const Size& );
Size GetMinGrid() const; Size GetMinGrid() const;
void Scroll( long nDeltaX, long nDeltaY, bool bScrollBar = false ); void Scroll( long nDeltaX, long nDeltaY, bool bScrollBar = false );
...@@ -457,7 +457,7 @@ public: ...@@ -457,7 +457,7 @@ public:
std::vector<Rectangle*>* pOtherRects = 0 std::vector<Rectangle*>* pOtherRects = 0
); );
bool IsTextHit( SvxIconChoiceCtrlEntry* pEntry, const Point& rDocPos ); bool IsTextHit( SvxIconChoiceCtrlEntry* pEntry, const Point& rDocPos );
void MakeVisible( void MakeVisible(
const Rectangle& rDocPos, const Rectangle& rDocPos,
bool bInScrollBarEvent=false, bool bInScrollBarEvent=false,
...@@ -485,7 +485,7 @@ public: ...@@ -485,7 +485,7 @@ public:
{ {
return aEntries[ nPos ]; return aEntries[ nPos ];
} }
SvxIconChoiceCtrlEntry* GetFirstSelectedEntry( sal_uLong& ) const; SvxIconChoiceCtrlEntry* GetFirstSelectedEntry() const;
SvxIconChoiceCtrlEntry* GetHdlEntry() const { return pHdlEntry; } SvxIconChoiceCtrlEntry* GetHdlEntry() const { return pHdlEntry; }
void SetHdlEntry( SvxIconChoiceCtrlEntry* pEntry ) { pHdlEntry = pEntry; } void SetHdlEntry( SvxIconChoiceCtrlEntry* pEntry ) { pHdlEntry = pEntry; }
...@@ -500,7 +500,7 @@ public: ...@@ -500,7 +500,7 @@ public:
else else
nFlags &= ~(F_MOVED_ENTRIES); nFlags &= ~(F_MOVED_ENTRIES);
} }
sal_uLong GetEntryListPos( SvxIconChoiceCtrlEntry* ) const; sal_Int32 GetEntryListPos( SvxIconChoiceCtrlEntry* ) const;
void SetEntryImageSize( const Size& rSize ) { aImageSize = rSize; } void SetEntryImageSize( const Size& rSize ) { aImageSize = rSize; }
void InitSettings(); void InitSettings();
Rectangle GetOutputRect() const; Rectangle GetOutputRect() const;
......
...@@ -641,9 +641,9 @@ void SvxIconChoiceCtrl_Impl::Paint(vcl::RenderContext& rRenderContext, const Rec ...@@ -641,9 +641,9 @@ void SvxIconChoiceCtrl_Impl::Paint(vcl::RenderContext& rRenderContext, const Rec
{ {
// set cursor to item with focus-flag // set cursor to item with focus-flag
bool bfound = false; bool bfound = false;
for (sal_uLong i = 0; i < pView->GetEntryCount() && !bfound; i++) for (sal_Int32 i = 0; i < pView->GetEntryCount() && !bfound; i++)
{ {
SvxIconChoiceCtrlEntry* pEntry = pView->GetEntry (i); SvxIconChoiceCtrlEntry* pEntry = pView->GetEntry(i);
if (pEntry->IsFocused()) if (pEntry->IsFocused())
{ {
pCursor = pEntry; pCursor = pEntry;
...@@ -2342,7 +2342,7 @@ void SvxIconChoiceCtrl_Impl::MakeVisible( const Rectangle& rRect, bool bScrBar, ...@@ -2342,7 +2342,7 @@ void SvxIconChoiceCtrl_Impl::MakeVisible( const Rectangle& rRect, bool bScrBar,
VisRectChanged(); VisRectChanged();
} }
sal_uLong SvxIconChoiceCtrl_Impl::GetSelectionCount() const sal_Int32 SvxIconChoiceCtrl_Impl::GetSelectionCount() const
{ {
if( (nWinBits & WB_HIGHLIGHTFRAME) && pCurHighlightFrame ) if( (nWinBits & WB_HIGHLIGHTFRAME) && pCurHighlightFrame )
return 1; return 1;
...@@ -3073,14 +3073,13 @@ void SvxIconChoiceCtrl_Impl::StopEntryEditing( bool bCancel ) ...@@ -3073,14 +3073,13 @@ void SvxIconChoiceCtrl_Impl::StopEntryEditing( bool bCancel )
pEdit->StopEditing( bCancel ); pEdit->StopEditing( bCancel );
} }
SvxIconChoiceCtrlEntry* SvxIconChoiceCtrl_Impl::GetFirstSelectedEntry( sal_uLong& rPos ) const SvxIconChoiceCtrlEntry* SvxIconChoiceCtrl_Impl::GetFirstSelectedEntry() const
{ {
if( !GetSelectionCount() ) if( !GetSelectionCount() )
return 0; return 0;
if( (nWinBits & WB_HIGHLIGHTFRAME) && (eSelectionMode == NO_SELECTION) ) if( (nWinBits & WB_HIGHLIGHTFRAME) && (eSelectionMode == NO_SELECTION) )
{ {
rPos = pView->GetEntryListPos( pCurHighlightFrame );
return pCurHighlightFrame; return pCurHighlightFrame;
} }
...@@ -3092,7 +3091,6 @@ SvxIconChoiceCtrlEntry* SvxIconChoiceCtrl_Impl::GetFirstSelectedEntry( sal_uLong ...@@ -3092,7 +3091,6 @@ SvxIconChoiceCtrlEntry* SvxIconChoiceCtrl_Impl::GetFirstSelectedEntry( sal_uLong
SvxIconChoiceCtrlEntry* pEntry = aEntries[ nCur ]; SvxIconChoiceCtrlEntry* pEntry = aEntries[ nCur ];
if( pEntry->IsSelected() ) if( pEntry->IsSelected() )
{ {
rPos = nCur;
return pEntry; return pEntry;
} }
} }
...@@ -3104,7 +3102,6 @@ SvxIconChoiceCtrlEntry* SvxIconChoiceCtrl_Impl::GetFirstSelectedEntry( sal_uLong ...@@ -3104,7 +3102,6 @@ SvxIconChoiceCtrlEntry* SvxIconChoiceCtrl_Impl::GetFirstSelectedEntry( sal_uLong
{ {
if( pEntry->IsSelected() ) if( pEntry->IsSelected() )
{ {
rPos = GetEntryListPos( pEntry );
return pEntry; return pEntry;
} }
pEntry = pEntry->pflink; pEntry = pEntry->pflink;
...@@ -3260,7 +3257,7 @@ void IcnViewEdit_Impl::StopEditing( bool bCancel ) ...@@ -3260,7 +3257,7 @@ void IcnViewEdit_Impl::StopEditing( bool bCancel )
} }
} }
sal_uLong SvxIconChoiceCtrl_Impl::GetEntryListPos( SvxIconChoiceCtrlEntry* pEntry ) const sal_Int32 SvxIconChoiceCtrl_Impl::GetEntryListPos( SvxIconChoiceCtrlEntry* pEntry ) const
{ {
if( !(nFlags & F_ENTRYLISTPOS_VALID )) if( !(nFlags & F_ENTRYLISTPOS_VALID ))
const_cast<SvxIconChoiceCtrl_Impl*>(this)->SetListPositions(); const_cast<SvxIconChoiceCtrl_Impl*>(this)->SetListPositions();
......
...@@ -150,7 +150,7 @@ void SvtIconChoiceCtrl::ArrangeIcons() ...@@ -150,7 +150,7 @@ void SvtIconChoiceCtrl::ArrangeIcons()
Size aFullSize; Size aFullSize;
Rectangle aEntryRect; Rectangle aEntryRect;
for ( sal_uLong i = 0; i < GetEntryCount(); i++ ) for ( sal_Int32 i = 0; i < GetEntryCount(); i++ )
{ {
SvxIconChoiceCtrlEntry* pEntry = GetEntry ( i ); SvxIconChoiceCtrlEntry* pEntry = GetEntry ( i );
aEntryRect = _pImp->GetEntryBoundRect ( pEntry ); aEntryRect = _pImp->GetEntryBoundRect ( pEntry );
...@@ -165,7 +165,7 @@ void SvtIconChoiceCtrl::ArrangeIcons() ...@@ -165,7 +165,7 @@ void SvtIconChoiceCtrl::ArrangeIcons()
Size aFullSize; Size aFullSize;
Rectangle aEntryRect; Rectangle aEntryRect;
for ( sal_uLong i = 0; i < GetEntryCount(); i++ ) for ( sal_Int32 i = 0; i < GetEntryCount(); i++ )
{ {
SvxIconChoiceCtrlEntry* pEntry = GetEntry ( i ); SvxIconChoiceCtrlEntry* pEntry = GetEntry ( i );
aEntryRect = _pImp->GetEntryBoundRect ( pEntry ); aEntryRect = _pImp->GetEntryBoundRect ( pEntry );
...@@ -208,8 +208,7 @@ void SvtIconChoiceCtrl::GetFocus() ...@@ -208,8 +208,7 @@ void SvtIconChoiceCtrl::GetFocus()
{ {
_pImp->GetFocus(); _pImp->GetFocus();
Control::GetFocus(); Control::GetFocus();
sal_uLong nPos; SvxIconChoiceCtrlEntry* pSelectedEntry = GetSelectedEntry();
SvxIconChoiceCtrlEntry* pSelectedEntry = GetSelectedEntry ( nPos );
if ( pSelectedEntry ) if ( pSelectedEntry )
_pImp->CallEventListeners( VCLEVENT_LISTBOX_SELECT, pSelectedEntry ); _pImp->CallEventListeners( VCLEVENT_LISTBOX_SELECT, pSelectedEntry );
} }
...@@ -267,12 +266,12 @@ void SvtIconChoiceCtrl::SetEntryTextMode( SvxIconChoiceCtrlTextMode eMode, SvxIc ...@@ -267,12 +266,12 @@ void SvtIconChoiceCtrl::SetEntryTextMode( SvxIconChoiceCtrlTextMode eMode, SvxIc
} }
#endif #endif
sal_uLong SvtIconChoiceCtrl::GetEntryCount() const sal_Int32 SvtIconChoiceCtrl::GetEntryCount() const
{ {
return _pImp ? _pImp->GetEntryCount() : 0; return _pImp ? _pImp->GetEntryCount() : 0;
} }
SvxIconChoiceCtrlEntry* SvtIconChoiceCtrl::GetEntry( sal_uLong nPos ) const SvxIconChoiceCtrlEntry* SvtIconChoiceCtrl::GetEntry( sal_Int32 nPos ) const
{ {
return _pImp ? _pImp->GetEntry( nPos ) : NULL; return _pImp ? _pImp->GetEntry( nPos ) : NULL;
} }
...@@ -282,15 +281,14 @@ void SvtIconChoiceCtrl::CreateAutoMnemonics( MnemonicGenerator& _rUsedMnemonics ...@@ -282,15 +281,14 @@ void SvtIconChoiceCtrl::CreateAutoMnemonics( MnemonicGenerator& _rUsedMnemonics
_pImp->CreateAutoMnemonics( &_rUsedMnemonics ); _pImp->CreateAutoMnemonics( &_rUsedMnemonics );
} }
SvxIconChoiceCtrlEntry* SvtIconChoiceCtrl::GetSelectedEntry( sal_uLong& rPos ) const SvxIconChoiceCtrlEntry* SvtIconChoiceCtrl::GetSelectedEntry() const
{ {
return _pImp ? _pImp->GetFirstSelectedEntry( rPos ) : NULL; return _pImp ? _pImp->GetFirstSelectedEntry() : NULL;
} }
void SvtIconChoiceCtrl::ClickIcon() void SvtIconChoiceCtrl::ClickIcon()
{ {
sal_uLong nPos; GetSelectedEntry();
GetSelectedEntry ( nPos );
_aClickIconHdl.Call( this ); _aClickIconHdl.Call( this );
} }
bool SvtIconChoiceCtrl::IsEntryEditing() const bool SvtIconChoiceCtrl::IsEntryEditing() const
...@@ -323,7 +321,7 @@ bool SvtIconChoiceCtrl::DoKeyInput( const KeyEvent& rKEvt ) ...@@ -323,7 +321,7 @@ bool SvtIconChoiceCtrl::DoKeyInput( const KeyEvent& rKEvt )
_pCurKeyEvent = NULL; _pCurKeyEvent = NULL;
return bHandled; return bHandled;
} }
sal_uLong SvtIconChoiceCtrl::GetEntryListPos( SvxIconChoiceCtrlEntry* pEntry ) const sal_Int32 SvtIconChoiceCtrl::GetEntryListPos( SvxIconChoiceCtrlEntry* pEntry ) const
{ {
return _pImp->GetEntryListPos( pEntry ); return _pImp->GetEntryListPos( pEntry );
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment