summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/browser/dataview.cxx
diff options
context:
space:
mode:
authorJelle van der Waa <jelle@vdwaa.nl>2013-08-17 23:43:14 +0200
committerPetr Mladek <pmladek@suse.cz>2013-08-27 16:11:09 +0000
commit2ec606730bc95b58390a609df0a88958869a4066 (patch)
tree9c530b3f6b200305ba224dda2d02c9bf5aca2233 /dbaccess/source/ui/browser/dataview.cxx
parent434f3c8e7fac0644cfe1d7a15f97f0c267bac048 (diff)
fdo#62475 removed pointless comments
Conflicts: dbaccess/source/filter/xml/xmlfilter.cxx dbaccess/source/ui/dlg/ConnectionPage.cxx dbaccess/source/ui/dlg/detailpages.cxx dbaccess/source/ui/dlg/odbcconfig.cxx dbaccess/source/ui/querydesign/querycontroller.cxx Change-Id: I3a05649efa3a43dd8d8fb069fc1bce14ca0a6338 Reviewed-on: https://gerrit.libreoffice.org/5484 Reviewed-by: Petr Mladek <pmladek@suse.cz> Tested-by: Petr Mladek <pmladek@suse.cz>
Diffstat (limited to 'dbaccess/source/ui/browser/dataview.cxx')
-rw-r--r--dbaccess/source/ui/browser/dataview.cxx22
1 files changed, 2 insertions, 20 deletions
diff --git a/dbaccess/source/ui/browser/dataview.cxx b/dbaccess/source/ui/browser/dataview.cxx
index 90ee541463b0..45340ecb014e 100644
--- a/dbaccess/source/ui/browser/dataview.cxx
+++ b/dbaccess/source/ui/browser/dataview.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
#include <dbaccess/dataview.hxx>
#include <toolkit/helper/vclunohelper.hxx>
#include <comphelper/types.hxx>
@@ -30,19 +29,15 @@
#include <svtools/imgdef.hxx>
#include <tools/diagnose_ex.h>
-//.........................................................................
namespace dbaui
{
-//.........................................................................
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::beans;
using namespace ::com::sun::star::util;
using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::frame;
- //=====================================================================
- //= ColorChanger
- //=====================================================================
+ // ColorChanger
class ColorChanger
{
protected:
@@ -64,7 +59,6 @@ namespace dbaui
};
DBG_NAME(ODataView)
- // -------------------------------------------------------------------------
ODataView::ODataView( Window* pParent,
IController& _rController,
const Reference< XComponentContext >& _rxContext,
@@ -80,12 +74,10 @@ namespace dbaui
m_aSeparator.Show();
}
- // -------------------------------------------------------------------------
void ODataView::Construct()
{
}
- // -------------------------------------------------------------------------
ODataView::~ODataView()
{
DBG_DTOR(ODataView,NULL);
@@ -93,15 +85,12 @@ namespace dbaui
m_rController.release();
}
- // -------------------------------------------------------------------------
void ODataView::resizeDocumentView( Rectangle& /*_rPlayground*/ )
{
}
- // -------------------------------------------------------------------------
void ODataView::Paint( const Rectangle& _rRect )
{
- //.................................................................
// draw the background
{
ColorChanger aColors( this, COL_TRANSPARENT, GetSettings().GetStyleSettings().GetFaceColor() );
@@ -112,7 +101,6 @@ namespace dbaui
Window::Paint( _rRect );
}
- // -------------------------------------------------------------------------
void ODataView::resizeAll( const Rectangle& _rPlayground )
{
Rectangle aPlayground( _rPlayground );
@@ -126,13 +114,11 @@ namespace dbaui
resizeDocumentView( aPlayground );
}
- // -------------------------------------------------------------------------
void ODataView::Resize()
{
Window::Resize();
resizeAll( Rectangle( Point( 0, 0), GetSizePixel() ) );
}
- // -----------------------------------------------------------------------------
long ODataView::PreNotify( NotifyEvent& _rNEvt )
{
bool bHandled = false;
@@ -155,7 +141,6 @@ namespace dbaui
}
return bHandled ? 1L : Window::PreNotify( _rNEvt );
}
- // -----------------------------------------------------------------------------
void ODataView::StateChanged( StateChangedType nType )
{
Window::StateChanged( nType );
@@ -187,7 +172,6 @@ namespace dbaui
}
}
}
- // -----------------------------------------------------------------------------
void ODataView::DataChanged( const DataChangedEvent& rDCEvt )
{
Window::DataChanged( rDCEvt );
@@ -202,14 +186,12 @@ namespace dbaui
m_rController.notifyHiContrastChanged();
}
}
- // -----------------------------------------------------------------------------
void ODataView::attachFrame(const Reference< XFrame >& _xFrame)
{
m_pAccel->init(m_xContext, _xFrame);
}
-//.........................................................................
}
+
// namespace dbaui
-//.........................................................................
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */