summaryrefslogtreecommitdiff
path: root/extensions/source/propctrlr
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/source/propctrlr')
-rw-r--r--extensions/source/propctrlr/commoncontrol.cxx18
-rw-r--r--extensions/source/propctrlr/commoncontrol.hxx3
-rw-r--r--extensions/source/propctrlr/pcrcommon.hxx8
3 files changed, 0 insertions, 29 deletions
diff --git a/extensions/source/propctrlr/commoncontrol.cxx b/extensions/source/propctrlr/commoncontrol.cxx
index 5ac12303a6ae..d7f24693d8a7 100644
--- a/extensions/source/propctrlr/commoncontrol.cxx
+++ b/extensions/source/propctrlr/commoncontrol.cxx
@@ -117,24 +117,6 @@ namespace pcr
}
- bool ControlHelper::handlePreNotify(NotifyEvent& rNEvt)
- {
- if (MouseNotifyEvent::KEYINPUT == rNEvt.GetType())
- {
- const vcl::KeyCode& aKeyCode = rNEvt.GetKeyEvent()->GetKeyCode();
- sal_uInt16 nKey = aKeyCode.GetCode();
-
- if (nKey == KEY_RETURN && !aKeyCode.IsShift())
- {
- notifyModifiedValue();
- impl_activateNextControl_nothrow();
- return true;
- }
- }
- return false;
- }
-
-
IMPL_LINK( ControlHelper, ModifiedHdl, vcl::Window*, /*_pWin*/ )
{
if ( m_pModifyListener )
diff --git a/extensions/source/propctrlr/commoncontrol.hxx b/extensions/source/propctrlr/commoncontrol.hxx
index b649431adee9..ebb8582fff0a 100644
--- a/extensions/source/propctrlr/commoncontrol.hxx
+++ b/extensions/source/propctrlr/commoncontrol.hxx
@@ -141,9 +141,6 @@ namespace pcr
inline void activateNextControl() const { impl_activateNextControl_nothrow(); }
public:
- /// may be used to implement the default handling in PreNotify; returns sal_True if handled
- bool handlePreNotify(NotifyEvent& _rNEvt);
-
/// automatically size the window given in the ctor
void autoSizeWindow();
diff --git a/extensions/source/propctrlr/pcrcommon.hxx b/extensions/source/propctrlr/pcrcommon.hxx
index 69588604820b..6a026c7c8278 100644
--- a/extensions/source/propctrlr/pcrcommon.hxx
+++ b/extensions/source/propctrlr/pcrcommon.hxx
@@ -102,14 +102,6 @@ namespace pcr
inline bool empty() const { return UnoBase::getLength() == 0; }
inline void resize( size_t _newSize ) { UnoBase::realloc( _newSize ); }
-
- inline iterator erase( iterator _pos )
- {
- iterator loop = end();
- while ( --loop != _pos )
- *( loop - 1 ) = *loop;
- resize( size() - 1 );
- }
};