summaryrefslogtreecommitdiff
path: root/sccomp
diff options
context:
space:
mode:
authorAlexander Wilms <f.alexander.wilms@gmail.com>2014-02-22 21:20:15 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-02-23 03:38:49 +0000
commit0ce0c369aa8880dff9fe874ba85ec6f52ee37ddf (patch)
tree5024cba9f9ea5e3b23ea26025323f6aef39488d0 /sccomp
parentb81ac16e65b311d6e43c05c22c65d2040c9d7e04 (diff)
Remove unneccessary comments
Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb Reviewed-on: https://gerrit.libreoffice.org/8182 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sccomp')
-rw-r--r--sccomp/source/solver/solver.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sccomp/source/solver/solver.cxx b/sccomp/source/solver/solver.cxx
index 982efec183d2..e5c1d0c376d5 100644
--- a/sccomp/source/solver/solver.cxx
+++ b/sccomp/source/solver/solver.cxx
@@ -83,7 +83,7 @@ using namespace com::sun::star;
#define STR_EPSILONLEVEL "EpsilonLevel"
#define STR_LIMITBBDEPTH "LimitBBDepth"
-// -----------------------------------------------------------------------
+
// Resources from tools are used for translated strings
static ResMgr* pSolverResMgr = NULL;
@@ -96,7 +96,7 @@ static OUString lcl_GetResourceString( sal_uInt32 nId )
return ResId(nId, *pSolverResMgr).toString();
}
-// -----------------------------------------------------------------------
+
namespace
{
@@ -110,7 +110,7 @@ namespace
};
}
-// -----------------------------------------------------------------------
+
// hash map for the coefficients of a dependent cell (objective or constraint)
// The size of each vector is the number of columns (variable cells) plus one, first entry is initial value.
@@ -138,7 +138,7 @@ struct ScSolverCellEqual
typedef boost::unordered_map< table::CellAddress, std::vector<double>, ScSolverCellHash, ScSolverCellEqual > ScSolverCellHashMap;
-// -----------------------------------------------------------------------
+
static uno::Reference<table::XCell> lcl_GetCell( const uno::Reference<sheet::XSpreadsheetDocument>& xDoc,
const table::CellAddress& rPos )
@@ -160,7 +160,7 @@ static double lcl_GetValue( const uno::Reference<sheet::XSpreadsheetDocument>& x
return lcl_GetCell( xDoc, rPos )->getValue();
}
-// -------------------------------------------------------------------------
+
SolverComponent::SolverComponent( const uno::Reference<uno::XComponentContext>& /* rSMgr */ ) :
OPropertyContainer( GetBroadcastHelper() ),