summaryrefslogtreecommitdiff
path: root/sw/source
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@alta.org.br>2011-10-21 16:54:35 -0200
committerMichael Meeks <michael.meeks@suse.com>2011-10-21 20:48:03 +0100
commitb0224f8050373cbdde58c3dee1bbda71976b50b6 (patch)
treed04b160b0c28c9be5446130234b995e6fe150bd8 /sw/source
parent7bf06ba95d6ba0e673f2aff5b4412dbf08702590 (diff)
Fix for bug fdo#41997, cleanup vcl enumeration
Diffstat (limited to 'sw/source')
-rwxr-xr-xsw/source/core/layout/paintfrm.cxx2
-rw-r--r--sw/source/core/view/viewsh.cxx2
-rw-r--r--sw/source/ui/docvw/edtwin.cxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/core/layout/paintfrm.cxx b/sw/source/core/layout/paintfrm.cxx
index 32a436572eb6..0a452e40dcb1 100755
--- a/sw/source/core/layout/paintfrm.cxx
+++ b/sw/source/core/layout/paintfrm.cxx
@@ -3203,7 +3203,7 @@ void SwLayoutFrm::Paint(SwRect const& rRect, SwPrintData const*const) const
if ( rRect.IsOver( aPaintRect ) )
{
if ( bCnt && pFrm->IsCompletePaint() &&
- !rRect.IsInside( aPaintRect ) && GetpApp()->AnyInput( INPUT_KEYBOARD ) )
+ !rRect.IsInside( aPaintRect ) && GetpApp()->AnyInput( VCL_INPUT_KEYBOARD ) )
{
//fix(8104): Es kann vorkommen, dass die Verarbeitung nicht
//vollstaendig war, aber trotzdem Teile des Absatzes gepaintet
diff --git a/sw/source/core/view/viewsh.cxx b/sw/source/core/view/viewsh.cxx
index c831abbfeaee..4db0144de641 100644
--- a/sw/source/core/view/viewsh.cxx
+++ b/sw/source/core/view/viewsh.cxx
@@ -227,7 +227,7 @@ void ViewShell::ImplEndAction( const sal_Bool bIdleEnd )
aAction.SetComplete( sal_False );
if ( nLockPaint )
aAction.SetPaint( sal_False );
- aAction.SetInputType( INPUT_KEYBOARD );
+ aAction.SetInputType( VCL_INPUT_KEYBOARD );
aAction.Action();
}
diff --git a/sw/source/ui/docvw/edtwin.cxx b/sw/source/ui/docvw/edtwin.cxx
index bc1e4b8774f0..05991767b88c 100644
--- a/sw/source/ui/docvw/edtwin.cxx
+++ b/sw/source/ui/docvw/edtwin.cxx
@@ -2348,7 +2348,7 @@ KEYINPUT_CHECKTABLE_INSDEL:
else
{
aInBuffer.Expand( aInBuffer.Len() + aKeyEvent.GetRepeat() + 1,aCh );
- bFlushCharBuffer = Application::AnyInput( INPUT_KEYBOARD );
+ bFlushCharBuffer = Application::AnyInput( VCL_INPUT_KEYBOARD );
bFlushBuffer = !bFlushCharBuffer;
if( bFlushCharBuffer )
aKeyInputFlushTimer.Start();