[Libreoffice-commits] core.git: sc/source
Stephan Bergmann
sbergman at redhat.com
Wed Feb 19 17:12:04 CET 2014
sc/source/ui/view/gridwin.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit e12a387dc7ea86574a82cdb3325c253bcd28138e
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Wed Feb 19 17:11:10 2014 +0100
loplugin:literaltoboolconversion
Change-Id: I22f209958c130ec4934480ab2c3570dd208b0cc7
diff --git a/sc/source/ui/view/gridwin.cxx b/sc/source/ui/view/gridwin.cxx
index 89931cd..e980235 100644
--- a/sc/source/ui/view/gridwin.cxx
+++ b/sc/source/ui/view/gridwin.cxx
@@ -4465,7 +4465,7 @@ sal_Int8 ScGridWindow::ExecuteDrop( const ExecuteDropEvent& rEvt )
if ( nFormatId )
{
pScMod->SetInExecuteDrop( true ); // #i28468# prevent error messages from PasteDataFormat
- bPasteIsDrop = sal_True;
+ bPasteIsDrop = true;
bDone = pViewData->GetView()->PasteDataFormat(
nFormatId, rEvt.maDropEvent.Transferable, nPosX, nPosY, &aLogicPos, bIsLink );
bPasteIsDrop = false;
@@ -4541,7 +4541,7 @@ void ScGridWindow::PasteSelection( const Point& rPosPixel )
sal_uLong nFormatId = lcl_GetDropFormatId( xTransferable, true );
if ( nFormatId )
{
- bPasteIsDrop = sal_True;
+ bPasteIsDrop = true;
pViewData->GetView()->PasteDataFormat( nFormatId, xTransferable, nPosX, nPosY, &aLogicPos );
bPasteIsDrop = false;
}
More information about the Libreoffice-commits
mailing list