summaryrefslogtreecommitdiff
path: root/dbaccess/source/ext/macromigration/rangeprogressbar.hxx
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/ext/macromigration/rangeprogressbar.hxx
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/ext/macromigration/rangeprogressbar.hxx')
-rw-r--r--dbaccess/source/ext/macromigration/rangeprogressbar.hxx13
1 files changed, 1 insertions, 12 deletions
diff --git a/dbaccess/source/ext/macromigration/rangeprogressbar.hxx b/dbaccess/source/ext/macromigration/rangeprogressbar.hxx
index de9341636718..5e5614a7f498 100644
--- a/dbaccess/source/ext/macromigration/rangeprogressbar.hxx
+++ b/dbaccess/source/ext/macromigration/rangeprogressbar.hxx
@@ -22,14 +22,10 @@
#include <vcl/prgsbar.hxx>
-//........................................................................
namespace dbmm
{
-//........................................................................
- //====================================================================
- //= RangeProgressBar
- //====================================================================
+ // RangeProgressBar
/** a slight extension of the usual progress bar, which is able to remember a range
*/
class RangeProgressBar : public ProgressBar
@@ -59,7 +55,6 @@ namespace dbmm
using ProgressBar::GetValue;
};
- //--------------------------------------------------------------------
inline void RangeProgressBar::SetRange( sal_uInt32 _nRange )
{
m_nRange = _nRange;
@@ -67,28 +62,22 @@ namespace dbmm
m_nRange = 100;
}
- //--------------------------------------------------------------------
inline sal_uInt32 RangeProgressBar::GetRange() const
{
return m_nRange;
}
- //--------------------------------------------------------------------
inline void RangeProgressBar::SetValue( sal_uInt32 _nValue )
{
ProgressBar::SetValue( (sal_uInt16)( 100.0 * _nValue / m_nRange ) );
}
- //--------------------------------------------------------------------
inline sal_uInt32 RangeProgressBar::GetValue() const
{
return (sal_uInt32)( ProgressBar::GetValue() / 100.0 * m_nRange );
}
-
-//........................................................................
} // namespace dbmm
-//........................................................................
#endif // DBACCESS_RANGEPROGRESSBAR_HXX