diff options
Diffstat (limited to 'dbaccess/source/ui/querydesign/TableWindow.cxx')
-rw-r--r-- | dbaccess/source/ui/querydesign/TableWindow.cxx | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/dbaccess/source/ui/querydesign/TableWindow.cxx b/dbaccess/source/ui/querydesign/TableWindow.cxx index 1c0dd80e93f8..3e44c65f5685 100644 --- a/dbaccess/source/ui/querydesign/TableWindow.cxx +++ b/dbaccess/source/ui/querydesign/TableWindow.cxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -67,12 +67,12 @@ using namespace ::com::sun::star::container; using namespace ::com::sun::star::lang; using namespace ::com::sun::star::accessibility; -#define TABWIN_SIZING_AREA 4 -#define LISTBOX_SCROLLING_AREA 6 -#define SCROLLING_TIMESPAN 500 +#define TABWIN_SIZING_AREA 4 +#define LISTBOX_SCROLLING_AREA 6 +#define SCROLLING_TIMESPAN 500 -#define TABWIN_WIDTH_MIN 90 -#define TABWIN_HEIGHT_MIN 80 +#define TABWIN_WIDTH_MIN 90 +#define TABWIN_HEIGHT_MIN 80 //======================================================================== // class OTableWindow @@ -124,7 +124,7 @@ OTableWindow::~OTableWindow() } // if (m_pListBox) if ( m_pContainerListener.is() ) m_pContainerListener->dispose(); - + m_pAccessible = NULL; } // ----------------------------------------------------------------------------- @@ -399,7 +399,7 @@ Rectangle OTableWindow::getSizingRect(const Point& _rPos,const Size& _rOutputSiz // ----------------------------------------------------------------------------- void OTableWindow::setSizingFlag(const Point& _rPos) { - Size aOutSize = GetOutputSizePixel(); + Size aOutSize = GetOutputSizePixel(); ////////////////////////////////////////////////////////////////////// // Flags anpassen, wenn Mauszeiger in sizingArea m_nSizingFlags = SIZING_NONE; @@ -425,9 +425,9 @@ void OTableWindow::MouseMove( const MouseEvent& rEvt ) if (pCont->getDesignView()->getController().isReadOnly()) return; - Point aPos = rEvt.GetPosPixel(); + Point aPos = rEvt.GetPosPixel(); setSizingFlag(aPos); - Pointer aPointer; + Pointer aPointer; ////////////////////////////////////////////////////////////////////// @@ -477,7 +477,7 @@ void OTableWindow::Resize() { ////////////////////////////////////////////////////////////////////// // Das Fenster darf nicht verschwinden, deshalb min. Groesse setzen - Size aOutSize = GetOutputSizePixel(); + Size aOutSize = GetOutputSizePixel(); aOutSize = Size(CalcZoom(aOutSize.Width()),CalcZoom(aOutSize.Height())); long nTitleHeight = CalcZoom( GetTextHeight() )+ CalcZoom( 4 ); @@ -657,7 +657,7 @@ long OTableWindow::PreNotify(NotifyEvent& rNEvt) if ( getDesignView()->getController().isReadOnly() ) break; - const KeyEvent* pKeyEvent = rNEvt.GetKeyEvent(); + const KeyEvent* pKeyEvent = rNEvt.GetKeyEvent(); const KeyCode& rCode = pKeyEvent->GetKeyCode(); if ( rCode.IsMod1() ) { @@ -737,40 +737,40 @@ long OTableWindow::PreNotify(NotifyEvent& rNEvt) } else { - m_nMoveCount = 0; // reset our movement count - m_nMoveIncrement = 1; + m_nMoveCount = 0; // reset our movement count + m_nMoveIncrement = 1; } } else { - m_nMoveCount = 0; // reset our movement count - m_nMoveIncrement = 1; + m_nMoveCount = 0; // reset our movement count + m_nMoveIncrement = 1; } } resetSizingFlag(); } else { - m_nMoveCount = 0; // reset our movement count - m_nMoveIncrement = 1; + m_nMoveCount = 0; // reset our movement count + m_nMoveIncrement = 1; } } else { - m_nMoveCount = 0; // reset our movement count - m_nMoveIncrement = 1; + m_nMoveCount = 0; // reset our movement count + m_nMoveIncrement = 1; } } break; case EVENT_KEYUP: { - const KeyEvent* pKeyEvent = rNEvt.GetKeyEvent(); + const KeyEvent* pKeyEvent = rNEvt.GetKeyEvent(); const KeyCode& rCode = pKeyEvent->GetKeyCode(); USHORT nKeyCode = rCode.GetCode(); if ( rCode.IsMod2() && nKeyCode != KEY_UP && nKeyCode != KEY_DOWN && nKeyCode != KEY_LEFT && nKeyCode != KEY_RIGHT ) { - m_nMoveCount = 0; // reset our movement count - m_nMoveIncrement = 1; + m_nMoveCount = 0; // reset our movement count + m_nMoveIncrement = 1; } } break; |