summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/dlg/CollectionView.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/dlg/CollectionView.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/dlg/CollectionView.cxx')
-rw-r--r--dbaccess/source/ui/dlg/CollectionView.cxx25
1 files changed, 9 insertions, 16 deletions
diff --git a/dbaccess/source/ui/dlg/CollectionView.cxx b/dbaccess/source/ui/dlg/CollectionView.cxx
index bcf349401f825..e40c32a74a0e7 100644
--- a/dbaccess/source/ui/dlg/CollectionView.cxx
+++ b/dbaccess/source/ui/dlg/CollectionView.cxx
@@ -45,10 +45,8 @@
#include <osl/thread.h>
#include <connectivity/dbexception.hxx>
-//.........................................................................
namespace dbaui
{
-//.........................................................................
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::ucb;
@@ -58,7 +56,6 @@ using namespace ::com::sun::star::container;
using namespace ::com::sun::star::task;
using namespace ::com::sun::star::sdbc;
using namespace comphelper;
-// -----------------------------------------------------------------------------
DBG_NAME(OCollectionView)
OCollectionView::OCollectionView( Window * pParent
,const Reference< XContent>& _xContent
@@ -101,17 +98,17 @@ OCollectionView::OCollectionView( Window * pParent
m_aNewFolder.SetClickHdl( LINK( this, OCollectionView, NewFolder_Click ) );
m_aPB_OK.SetClickHdl( LINK( this, OCollectionView, Save_Click ) );
}
-// -----------------------------------------------------------------------------
+
OCollectionView::~OCollectionView( )
{
DBG_DTOR(OCollectionView,NULL);
}
-// -----------------------------------------------------------------------------
+
Reference< XContent> OCollectionView::getSelectedFolder() const
{
return m_xContent;
}
-// -----------------------------------------------------------------------------
+
IMPL_LINK_NOARG(OCollectionView, Save_Click)
{
OUString sName = m_aName.GetText();
@@ -166,7 +163,6 @@ IMPL_LINK_NOARG(OCollectionView, Save_Click)
OUString sTemp;
InteractiveAugmentedIOException aException(sTemp,Reference<XInterface>(),eClass,eError,aValues);
-
Reference<XInteractionHandler2> xHandler(
InteractionHandler::createWithParent(m_xContext, VCLUnoHelper::GetInterface( this )));
OInteractionRequest* pRequest = new OInteractionRequest(makeAny(aException));
@@ -200,7 +196,7 @@ IMPL_LINK_NOARG(OCollectionView, Save_Click)
}
return 0;
}
-// -----------------------------------------------------------------------------
+
IMPL_LINK_NOARG(OCollectionView, NewFolder_Click)
{
try
@@ -219,7 +215,7 @@ IMPL_LINK_NOARG(OCollectionView, NewFolder_Click)
}
return 0;
}
-// -----------------------------------------------------------------------------
+
IMPL_LINK_NOARG(OCollectionView, Up_Click)
{
try
@@ -244,7 +240,7 @@ IMPL_LINK_NOARG(OCollectionView, Up_Click)
}
return 0;
}
-// -----------------------------------------------------------------------------
+
IMPL_LINK_NOARG(OCollectionView, Dbl_Click_FileView)
{
try
@@ -275,7 +271,7 @@ IMPL_LINK_NOARG(OCollectionView, Dbl_Click_FileView)
}
return 0;
}
-// -----------------------------------------------------------------------------
+
void OCollectionView::initCurrentPath()
{
sal_Bool bEnable = sal_False;
@@ -304,15 +300,12 @@ void OCollectionView::initCurrentPath()
}
m_aUp.Enable(bEnable);
}
-// -----------------------------------------------------------------------------
+
OUString OCollectionView::getName() const
{
return m_aName.GetText();
}
-// -----------------------------------------------------------------------------
-//.........................................................................
-} // namespace dbaui
-//.........................................................................
+} // namespace dbaui
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */