From bb7ce3137dbe12d67f393b95a437b18e3a63f8e7 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 25 May 2015 11:20:10 +0200 Subject: convert INVALIDATE constants to scoped enum fixing a bug in Window::ImplMoveAllInvalidateRegions, and improving the IDL docs for XWindowPeer Change-Id: Idb774ac913945db2ac7c492c11cf86c370624c3d --- sc/source/ui/app/inputwin.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sc') diff --git a/sc/source/ui/app/inputwin.cxx b/sc/source/ui/app/inputwin.cxx index 42e6774584a3..47f14003e8df 100644 --- a/sc/source/ui/app/inputwin.cxx +++ b/sc/source/ui/app/inputwin.cxx @@ -1939,9 +1939,9 @@ void ScTextWnd::SetTextString( const OUString& rNewString ) if (nDifPos) nInvPos += GetTextWidth(aString,0,nDifPos); - sal_uInt16 nFlags = 0; + InvalidateFlags nFlags = InvalidateFlags::NONE; if ( nDifPos == aString.getLength() ) // only new characters appended - nFlags = INVALIDATE_NOERASE; // then background is already clear + nFlags = InvalidateFlags::NoErase; // then background is already clear Invalidate( Rectangle( nInvPos, 0, nStartPos+nTextSize, GetOutputSize().Height()-1 ), nFlags ); } -- cgit