diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-02-19 17:11:10 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-02-19 17:11:31 +0100 |
commit | e12a387dc7ea86574a82cdb3325c253bcd28138e (patch) | |
tree | 11797bdb6415e6155e646672216c35c5c8b7f925 /sc | |
parent | dbeb8d405eba695cefbcf2660d556d70731eac79 (diff) |
loplugin:literaltoboolconversion
Change-Id: I22f209958c130ec4934480ab2c3570dd208b0cc7
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/view/gridwin.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/view/gridwin.cxx b/sc/source/ui/view/gridwin.cxx index 89931cd7b0e7..e980235a1372 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; } |