summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/querydesign/TableFieldDescription.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/querydesign/TableFieldDescription.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/querydesign/TableFieldDescription.cxx')
-rw-r--r--dbaccess/source/ui/querydesign/TableFieldDescription.cxx19
1 files changed, 4 insertions, 15 deletions
diff --git a/dbaccess/source/ui/querydesign/TableFieldDescription.cxx b/dbaccess/source/ui/querydesign/TableFieldDescription.cxx
index a36b9f777731..e70b23b2d93c 100644
--- a/dbaccess/source/ui/querydesign/TableFieldDescription.cxx
+++ b/dbaccess/source/ui/querydesign/TableFieldDescription.cxx
@@ -17,7 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-
#include "TableFieldDescription.hxx"
#include <tools/debug.hxx>
#include <com/sun/star/sdbc/DataType.hpp>
@@ -32,7 +31,6 @@ using namespace comphelper;
using namespace dbaui;
DBG_NAME(OTableFieldDesc)
-//==============================================================================
OTableFieldDesc::OTableFieldDesc()
:m_pTabWindow(0)
,m_eDataType(1000)
@@ -47,7 +45,7 @@ OTableFieldDesc::OTableFieldDesc()
{
DBG_CTOR(OTableFieldDesc,NULL);
}
-//------------------------------------------------------------------------------
+
OTableFieldDesc::OTableFieldDesc(const OTableFieldDesc& rRS)
: ::salhelper::SimpleReferenceObject()
@@ -56,7 +54,6 @@ OTableFieldDesc::OTableFieldDesc(const OTableFieldDesc& rRS)
*this = rRS;
}
-//------------------------------------------------------------------------------
OTableFieldDesc::OTableFieldDesc(const OUString& rT, const OUString& rF )
:m_pTabWindow(0)
,m_eFunctionType( FKT_NONE )
@@ -69,12 +66,11 @@ OTableFieldDesc::OTableFieldDesc(const OUString& rT, const OUString& rF )
SetField( rF ); SetTable( rT );
}
-//------------------------------------------------------------------------------
OTableFieldDesc::~OTableFieldDesc()
{
DBG_DTOR(OTableFieldDesc,NULL);
}
-//------------------------------------------------------------------------------
+
OTableFieldDesc& OTableFieldDesc::operator=( const OTableFieldDesc& rRS )
{
if (&rRS == this)
@@ -99,7 +95,7 @@ OTableFieldDesc& OTableFieldDesc::operator=( const OTableFieldDesc& rRS )
return *this;
}
-//------------------------------------------------------------------------------
+
sal_Bool OTableFieldDesc::operator==( const OTableFieldDesc& rDesc )
{
DBG_CHKTHIS(OTableFieldDesc,NULL);
@@ -116,7 +112,6 @@ sal_Bool OTableFieldDesc::operator==( const OTableFieldDesc& rDesc )
}
-//------------------------------------------------------------------------------
void OTableFieldDesc::SetCriteria( sal_uInt16 nIdx, const OUString& rCrit)
{
DBG_CHKTHIS(OTableFieldDesc,NULL);
@@ -130,7 +125,6 @@ void OTableFieldDesc::SetCriteria( sal_uInt16 nIdx, const OUString& rCrit)
}
}
-//------------------------------------------------------------------------------
OUString OTableFieldDesc::GetCriteria( sal_uInt16 nIdx ) const
{
DBG_CHKTHIS(OTableFieldDesc,NULL);
@@ -141,7 +135,6 @@ OUString OTableFieldDesc::GetCriteria( sal_uInt16 nIdx ) const
return aRetStr;
}
-// -----------------------------------------------------------------------------
namespace
{
struct SelectPropertyValueAsString : public ::std::unary_function< PropertyValue, OUString >
@@ -155,7 +148,6 @@ namespace
};
}
-// -----------------------------------------------------------------------------
void OTableFieldDesc::Load( const ::com::sun::star::beans::PropertyValue& i_rSettings, const bool i_bIncludingCriteria )
{
DBG_CHKTHIS(OTableFieldDesc,NULL);
@@ -187,7 +179,7 @@ void OTableFieldDesc::Load( const ::com::sun::star::beans::PropertyValue& i_rSet
);
}
}
-//------------------------------------------------------------------------------
+
void OTableFieldDesc::Save( ::comphelper::NamedValueCollection& o_rSettings, const bool i_bIncludingCriteria )
{
DBG_CHKTHIS(OTableFieldDesc,NULL);
@@ -224,8 +216,5 @@ void OTableFieldDesc::Save( ::comphelper::NamedValueCollection& o_rSettings, con
}
}
}
-// -----------------------------------------------------------------------------
-
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */