diff options
Diffstat (limited to 'sw/source/ui/table/chartins.cxx')
-rw-r--r-- | sw/source/ui/table/chartins.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/ui/table/chartins.cxx b/sw/source/ui/table/chartins.cxx index a11f04d55656..684c69b9852b 100644 --- a/sw/source/ui/table/chartins.cxx +++ b/sw/source/ui/table/chartins.cxx @@ -94,7 +94,7 @@ Point SwGetChartDialogPos( const Window *pParentWin, const Size& rDialogSize, co Rectangle aDesktop = pParentWin->GetDesktopRectPixel(); Size aSpace = pParentWin->LogicToPixel( Size( 8, 12 ), MAP_APPFONT ); - BOOL bLayoutRTL = ::GetActiveView()->GetWrtShell().IsTableRightToLeft(); + sal_Bool bLayoutRTL = ::GetActiveView()->GetWrtShell().IsTableRightToLeft(); bool bCenterHor = false; if ( aDesktop.Bottom() - aObjAbs.Bottom() >= rDialogSize.Height() + aSpace.Height() ) @@ -192,7 +192,7 @@ void SwInsertChart(Window* pParent, SfxBindings* pBindings ) } SwFlyFrmFmt *pFlyFrmFmt = 0; - xChartModel.set( SwTableFUNC( &rWrtShell, FALSE ).InsertChart( xDataProvider, (sal_True == xDataProvider.is()), aRangeString, &pFlyFrmFmt )); + xChartModel.set( SwTableFUNC( &rWrtShell, sal_False ).InsertChart( xDataProvider, (sal_True == xDataProvider.is()), aRangeString, &pFlyFrmFmt )); //open wizard //@todo get context from writer if that has one @@ -277,7 +277,7 @@ void SwInsertChart(Window* pParent, SfxBindings* pBindings ) void __EXPORT AutoEdit::KeyInput( const KeyEvent& rEvt ) { - USHORT nCode = rEvt.GetKeyCode().GetCode(); + sal_uInt16 nCode = rEvt.GetKeyCode().GetCode(); if( nCode != KEY_SPACE ) Edit::KeyInput( rEvt ); } |