diff options
Diffstat (limited to 'sc/source/ui')
-rw-r--r-- | sc/source/ui/unoobj/dapiuno.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/vba/vbaworkbook.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/view/gridwin.cxx | 4 | ||||
-rw-r--r-- | sc/source/ui/view/printfun.cxx | 4 | ||||
-rw-r--r-- | sc/source/ui/view/viewdata.cxx | 4 |
5 files changed, 8 insertions, 8 deletions
diff --git a/sc/source/ui/unoobj/dapiuno.cxx b/sc/source/ui/unoobj/dapiuno.cxx index 6933b9951b8f..5522e9555970 100644 --- a/sc/source/ui/unoobj/dapiuno.cxx +++ b/sc/source/ui/unoobj/dapiuno.cxx @@ -2002,7 +2002,7 @@ Any SAL_CALL ScDataPilotFieldObj::getPropertyValue( const OUString& aPropertyNam aRet <<= DataPilotFieldSortInfo(*pInfo); } else if ( aPropertyName == SC_UNONAME_ISGROUP ) - aRet <<= (hasGroupInfo()); + aRet <<= hasGroupInfo(); else if ( aPropertyName == SC_UNONAME_GROUPINFO ) { aRet <<= getGroupInfo(); diff --git a/sc/source/ui/vba/vbaworkbook.cxx b/sc/source/ui/vba/vbaworkbook.cxx index bef00a09fa5f..978915ef71d6 100644 --- a/sc/source/ui/vba/vbaworkbook.cxx +++ b/sc/source/ui/vba/vbaworkbook.cxx @@ -74,7 +74,7 @@ ScVbaWorkbook::ResetColors( ) uno::Sequence< sal_Int32 > dDefaultColors( nLen ); sal_Int32* pDest = dDefaultColors.getArray(); for ( sal_Int32 index=0; index < nLen; ++pDest, ++index ) - xIndexAccess->getByIndex( index ) >>= (*pDest); + xIndexAccess->getByIndex( index ) >>= *pDest; initColorData( dDefaultColors ); } diff --git a/sc/source/ui/view/gridwin.cxx b/sc/source/ui/view/gridwin.cxx index b2b553f24700..7dd772d5b2a1 100644 --- a/sc/source/ui/view/gridwin.cxx +++ b/sc/source/ui/view/gridwin.cxx @@ -1965,8 +1965,8 @@ void ScGridWindow::MouseButtonUp( const MouseEvent& rMEvt ) { // Check on undo already done above - ScStyleSheetPool* pStylePool = (pViewData->GetDocument()-> - GetStyleSheetPool()); + ScStyleSheetPool* pStylePool = pViewData->GetDocument()-> + GetStyleSheetPool(); if ( pStylePool ) { SfxStyleSheet* pStyleSheet = static_cast<SfxStyleSheet*>( diff --git a/sc/source/ui/view/printfun.cxx b/sc/source/ui/view/printfun.cxx index 2571f27eff4d..7e882ced930c 100644 --- a/sc/source/ui/view/printfun.cxx +++ b/sc/source/ui/view/printfun.cxx @@ -2139,8 +2139,8 @@ void ScPrintFunc::PrintPage( long nPageNo, SCCOL nX1, SCROW nY1, SCCOL nX2, SCRO // partition the page - long nStartX = ((long) ( nLeftSpace * nScaleX )); - long nStartY = ((long) ( nTopSpace * nScaleY )); + long nStartX = (long) ( nLeftSpace * nScaleX ); + long nStartY = (long) ( nTopSpace * nScaleY ); long nInnerStartX = nStartX; long nInnerStartY = nStartY; if (pBorderItem) diff --git a/sc/source/ui/view/viewdata.cxx b/sc/source/ui/view/viewdata.cxx index ffe32d905f9a..78611447b1d2 100644 --- a/sc/source/ui/view/viewdata.cxx +++ b/sc/source/ui/view/viewdata.cxx @@ -778,7 +778,7 @@ void ScViewData::CreateTabData( std::vector< SCTAB >& rvTabs ) void ScViewData::SetZoomType( SvxZoomType eNew, std::vector< SCTAB >& tabs ) { - bool bAll = ( tabs.empty() ); + bool bAll = tabs.empty(); if ( !bAll ) // create associated table data CreateTabData( tabs ); @@ -818,7 +818,7 @@ void ScViewData::SetZoomType( SvxZoomType eNew, bool bAll ) void ScViewData::SetZoom( const Fraction& rNewX, const Fraction& rNewY, std::vector< SCTAB >& tabs ) { - bool bAll = ( tabs.empty() ); + bool bAll = tabs.empty(); if ( !bAll ) // create associated table data CreateTabData( tabs ); |