summaryrefslogtreecommitdiff
path: root/svtools/source/contnr
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-06-13 17:52:13 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-06-13 17:54:34 +0200
commit30069114fef2858936c988e8fbc92a69b2ddc8d3 (patch)
tree3382e9f0d2388da576ac5f25e5c59f82e18e31c0 /svtools/source/contnr
parent06b409a64e954ea3336ee57313311eec1f83c01a (diff)
loplugin:staticcall
Change-Id: If7b285a2214bc878e8464a986538d0445078fcb3
Diffstat (limited to 'svtools/source/contnr')
-rw-r--r--svtools/source/contnr/imivctl1.cxx12
-rw-r--r--svtools/source/contnr/treelistbox.cxx12
2 files changed, 12 insertions, 12 deletions
diff --git a/svtools/source/contnr/imivctl1.cxx b/svtools/source/contnr/imivctl1.cxx
index 0205159b7f40..13356932a709 100644
--- a/svtools/source/contnr/imivctl1.cxx
+++ b/svtools/source/contnr/imivctl1.cxx
@@ -3311,8 +3311,8 @@ IcnViewEdit_Impl::IcnViewEdit_Impl( SvtIconChoiceCtrl* pParent, const Point& rPo
aAccReturn.SetActivateHdl( LINK( this, IcnViewEdit_Impl, ReturnHdl_Impl) );
aAccEscape.SetActivateHdl( LINK( this, IcnViewEdit_Impl, EscapeHdl_Impl) );
- GetpApp()->InsertAccel( &aAccReturn);//, ACCEL_ALWAYS );
- GetpApp()->InsertAccel( &aAccEscape);//, ACCEL_ALWAYS );
+ Application::InsertAccel( &aAccReturn);//, ACCEL_ALWAYS );
+ Application::InsertAccel( &aAccEscape);//, ACCEL_ALWAYS );
Show();
GrabFocus();
}
@@ -3321,8 +3321,8 @@ IcnViewEdit_Impl::~IcnViewEdit_Impl()
{
if( !bAlreadyInCallback )
{
- GetpApp()->RemoveAccel( &aAccReturn );
- GetpApp()->RemoveAccel( &aAccEscape );
+ Application::RemoveAccel( &aAccReturn );
+ Application::RemoveAccel( &aAccEscape );
}
}
@@ -3332,8 +3332,8 @@ void IcnViewEdit_Impl::CallCallBackHdl_Impl()
if ( !bAlreadyInCallback )
{
bAlreadyInCallback = true;
- GetpApp()->RemoveAccel( &aAccReturn );
- GetpApp()->RemoveAccel( &aAccEscape );
+ Application::RemoveAccel( &aAccReturn );
+ Application::RemoveAccel( &aAccEscape );
Hide();
aCallBackHdl.Call( this );
}
diff --git a/svtools/source/contnr/treelistbox.cxx b/svtools/source/contnr/treelistbox.cxx
index 89c1ca2980dc..269259198dc4 100644
--- a/svtools/source/contnr/treelistbox.cxx
+++ b/svtools/source/contnr/treelistbox.cxx
@@ -152,8 +152,8 @@ SvInplaceEdit2::SvInplaceEdit2
aAccReturn.SetActivateHdl( LINK( this, SvInplaceEdit2, ReturnHdl_Impl) );
aAccEscape.SetActivateHdl( LINK( this, SvInplaceEdit2, EscapeHdl_Impl) );
- GetpApp()->InsertAccel( &aAccReturn );
- GetpApp()->InsertAccel( &aAccEscape );
+ Application::InsertAccel( &aAccReturn );
+ Application::InsertAccel( &aAccEscape );
pEdit->Show();
pEdit->GrabFocus();
@@ -163,8 +163,8 @@ SvInplaceEdit2::~SvInplaceEdit2()
{
if( !bAlreadyInCallBack )
{
- GetpApp()->RemoveAccel( &aAccReturn );
- GetpApp()->RemoveAccel( &aAccEscape );
+ Application::RemoveAccel( &aAccReturn );
+ Application::RemoveAccel( &aAccEscape );
}
delete pEdit;
}
@@ -252,8 +252,8 @@ void SvInplaceEdit2::CallCallBackHdl_Impl()
if ( !bAlreadyInCallBack )
{
bAlreadyInCallBack = true;
- GetpApp()->RemoveAccel( &aAccReturn );
- GetpApp()->RemoveAccel( &aAccEscape );
+ Application::RemoveAccel( &aAccReturn );
+ Application::RemoveAccel( &aAccEscape );
pEdit->Hide();
aCallBackHdl.Call( this );
}