diff options
author | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2014-06-25 05:20:47 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2014-06-25 05:41:10 +0200 |
commit | 37e6631cc5d4147e9d0a4ebefbd0c9d2a8137d24 (patch) | |
tree | 060cf0aafda3f205b3e12508465a5403826d014d /sc/source/ui/cctrl | |
parent | ed6b8a100c1aabb342573f252509573bbe124d29 (diff) |
remove whitespace
Change-Id: Ib15413e73409cc33de01fa92a47b9d1237cfc4b2
Diffstat (limited to 'sc/source/ui/cctrl')
-rw-r--r-- | sc/source/ui/cctrl/cbuttonw.cxx | 7 | ||||
-rw-r--r-- | sc/source/ui/cctrl/checklistmenu.cxx | 5 | ||||
-rw-r--r-- | sc/source/ui/cctrl/dpcontrol.cxx | 1 | ||||
-rw-r--r-- | sc/source/ui/cctrl/editfield.cxx | 1 | ||||
-rw-r--r-- | sc/source/ui/cctrl/tbinsert.cxx | 1 | ||||
-rw-r--r-- | sc/source/ui/cctrl/tbzoomsliderctrl.cxx | 4 |
6 files changed, 0 insertions, 19 deletions
diff --git a/sc/source/ui/cctrl/cbuttonw.cxx b/sc/source/ui/cctrl/cbuttonw.cxx index 6fa60e56684b..08c278482ead 100644 --- a/sc/source/ui/cctrl/cbuttonw.cxx +++ b/sc/source/ui/cctrl/cbuttonw.cxx @@ -17,7 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ - #include <vcl/outdev.hxx> #include <vcl/window.hxx> #include <vcl/decoview.hxx> @@ -25,10 +24,8 @@ #include <vcl/settings.hxx> #include "cbutton.hxx" - // class ScDDComboBoxButton - ScDDComboBoxButton::ScDDComboBoxButton( OutputDevice* pOutputDevice ) : pOut( pOutputDevice ) { @@ -81,7 +78,6 @@ void ScDDComboBoxButton::Draw( const Point& rAt, aInnerRect=aDecoView.DrawButton( aBtnRect, nButtonStyle ); - aInnerRect.Left() += 1; aInnerRect.Top() += 1; aInnerRect.Right() -= 1; @@ -95,7 +91,6 @@ void ScDDComboBoxButton::Draw( const Point& rAt, ImpDrawArrow( aInnerRect, bState ); - // restore old state pOut->EnableMapMode( bOldEnable ); if (bHadLine) @@ -152,6 +147,4 @@ void ScDDComboBoxButton::ImpDrawArrow( const Rectangle& rRect, Point( aCenter.X() + aSize3.Width(), aPos1.Y()+1 ) ); } - - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/cctrl/checklistmenu.cxx b/sc/source/ui/cctrl/checklistmenu.cxx index 2e2413b367f6..99ca3a6c0630 100644 --- a/sc/source/ui/cctrl/checklistmenu.cxx +++ b/sc/source/ui/cctrl/checklistmenu.cxx @@ -428,7 +428,6 @@ void ScMenuFloatingWindow::drawAllMenuItems() } } - void ScMenuFloatingWindow::executeMenuItem(size_t nPos) { if (nPos >= maMenuItems.size()) @@ -472,7 +471,6 @@ void ScMenuFloatingWindow::setSelectedMenuItem(size_t nPos, bool bSubMenuTimer, fireMenuHighlightedEvent(); } - void ScMenuFloatingWindow::handleMenuTimeout(SubMenuItemData* pTimer) { if (pTimer == &maOpenTimer) @@ -652,7 +650,6 @@ void ScMenuFloatingWindow::setName(const OUString& rName) maName = rName; } - void ScMenuFloatingWindow::highlightMenuItem(size_t nPos, bool bSelected) { if (nPos == MENU_NOT_SELECTED) @@ -729,7 +726,6 @@ void ScMenuFloatingWindow::getMenuItemPosSize(size_t nPos, Point& rPos, Size& rS rSize = Size(aWndSize.Width() - nLeftMargin*2, nH); } - size_t ScMenuFloatingWindow::getEnclosingMenuItem(const Point& rPos) const { size_t n = maMenuItems.size(); @@ -834,7 +830,6 @@ void ScMenuFloatingWindow::terminateAllPopupMenus() mpParentMenu->terminateAllPopupMenus(); } - ScCheckListMenuWindow::Config::Config() : mbAllowEmptySet(true), mbRTL(false) { diff --git a/sc/source/ui/cctrl/dpcontrol.cxx b/sc/source/ui/cctrl/dpcontrol.cxx index 5c1d41563b7e..6cb40c185ed4 100644 --- a/sc/source/ui/cctrl/dpcontrol.cxx +++ b/sc/source/ui/cctrl/dpcontrol.cxx @@ -27,7 +27,6 @@ #include "docpool.hxx" #include "patattr.hxx" - ScDPFieldButton::ScDPFieldButton(OutputDevice* pOutDev, const StyleSettings* pStyle, const Fraction* pZoomX, const Fraction* pZoomY, ScDocument* pDoc) : mpDoc(pDoc), mpOutDev(pOutDev), diff --git a/sc/source/ui/cctrl/editfield.cxx b/sc/source/ui/cctrl/editfield.cxx index d784d51d85d8..6c8755cfe4fd 100644 --- a/sc/source/ui/cctrl/editfield.cxx +++ b/sc/source/ui/cctrl/editfield.cxx @@ -17,7 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ - #ifdef SC_DLLIMPLEMENTATION #undef SC_DLLIMPLEMENTATION #endif diff --git a/sc/source/ui/cctrl/tbinsert.cxx b/sc/source/ui/cctrl/tbinsert.cxx index a4250caed0a2..ac679ef4edb1 100644 --- a/sc/source/ui/cctrl/tbinsert.cxx +++ b/sc/source/ui/cctrl/tbinsert.cxx @@ -115,5 +115,4 @@ void ScTbxInsertCtrl::Select( sal_Bool /* bMod1 */ ) pDispatch->Execute(nLastSlotId); } - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/cctrl/tbzoomsliderctrl.cxx b/sc/source/ui/cctrl/tbzoomsliderctrl.cxx index 260edebbc265..9cd27838a2fe 100644 --- a/sc/source/ui/cctrl/tbzoomsliderctrl.cxx +++ b/sc/source/ui/cctrl/tbzoomsliderctrl.cxx @@ -35,10 +35,8 @@ #include "scitems.hxx" #include "printfun.hxx" - // class ScZoomSliderControl --------------------------------------- - SFX_IMPL_TOOLBOX_CONTROL( ScZoomSliderControl, SvxZoomSliderItem ); ScZoomSliderControl::ScZoomSliderControl( @@ -133,7 +131,6 @@ const long nSliderXOffset = 20; const long nSnappingEpsilon = 5; // snapping epsilon in pixels const long nSnappingPointsMinDist = nSnappingEpsilon; // minimum distance of two adjacent snapping points - sal_uInt16 ScZoomSliderWnd::Offset2Zoom( long nOffset ) const { Size aSliderWindowSize = GetOutputSizePixel(); @@ -219,7 +216,6 @@ long ScZoomSliderWnd::Zoom2Offset( sal_uInt16 nCurrentZoom ) const return nRect; } - ScZoomSliderWnd::ScZoomSliderWnd( Window* pParent, const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatchProvider >& rDispatchProvider, const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& _xFrame , sal_uInt16 nCurrentZoom ): Window( pParent ), |