This patch removes bogus comments found in the prcntfld.cxx file
including empty Beschreibung (translation: description) statements
Signed-off-by: Prashant Shah <pshah.mumbai@gmail.com>
---
sw/source/ui/utlui/prcntfld.cxx | 66 +--------------------------------------
1 files changed, 1 insertions(+), 65 deletions(-)
diff --git a/sw/source/ui/utlui/prcntfld.cxx b/sw/source/ui/utlui/prcntfld.cxx
index b22fcbd..91082a9 100644
--- a/sw/source/ui/utlui/prcntfld.cxx
+++ b/sw/source/ui/utlui/prcntfld.cxx
@@ -28,17 +28,10 @@
// MARKER(update_precomp.py): autogen include statement, do not remove
#include "precompiled_sw.hxx"
-// include ---------------------------------------------------------------
-
-
#include "prcntfld.hxx"
// STATIC DATA -----------------------------------------------------------
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
PercentField::PercentField( Window* pWin, const ResId& rResId ) :
MetricField ( pWin, rResId ),
@@ -56,10 +49,6 @@ PercentField::PercentField( Window* pWin, const ResId& rResId ) :
SetCustomUnitText('%');
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
void PercentField::SetRefValue(sal_Int64 nValue)
{
sal_Int64 nRealValue = GetRealValue(eOldUnit);
@@ -70,10 +59,6 @@ void PercentField::SetRefValue(sal_Int64 nValue)
SetPrcntValue(nRealValue, eOldUnit);
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
void PercentField::ShowPercent(BOOL bPercent)
{
if ((bPercent && GetUnit() == FUNIT_CUSTOM) ||
@@ -141,16 +126,11 @@ void PercentField::ShowPercent(BOOL bPercent)
}
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
void PercentField::SetValue(sal_Int64 nNewValue, FieldUnit eInUnit)
{
MetricFormatter::SetValue(nNewValue, eInUnit);
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
+
void PercentField::SetPrcntValue(sal_Int64 nNewValue, FieldUnit eInUnit)
{
if (GetUnit() != FUNIT_CUSTOM || eInUnit == FUNIT_CUSTOM)
@@ -174,10 +154,6 @@ void PercentField::SetPrcntValue(sal_Int64 nNewValue, FieldUnit eInUnit)
}
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
void PercentField::SetUserValue( sal_Int64 nNewValue, FieldUnit eInUnit )
{
if (GetUnit() != FUNIT_CUSTOM || eInUnit == FUNIT_CUSTOM)
@@ -202,10 +178,6 @@ void PercentField::SetUserValue( sal_Int64 nNewValue, FieldUnit eInUnit )
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
void PercentField::SetBaseValue(sal_Int64 nNewValue, FieldUnit eInUnit)
{
if (GetUnit() == FUNIT_CUSTOM)
@@ -214,19 +186,11 @@ void PercentField::SetBaseValue(sal_Int64 nNewValue, FieldUnit eInUnit)
MetricField::SetBaseValue(nNewValue, eInUnit);
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
sal_Int64 PercentField::GetValue( FieldUnit eOutUnit )
{
return Convert(MetricField::GetValue(), GetUnit(), eOutUnit);
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
void PercentField::SetMin(sal_Int64 nNewMin, FieldUnit eInUnit)
{
if (GetUnit() != FUNIT_CUSTOM)
@@ -242,10 +206,6 @@ void PercentField::SetMin(sal_Int64 nNewMin, FieldUnit eInUnit)
}
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
void PercentField::SetMax(sal_Int64 nNewMax, FieldUnit eInUnit)
{
if (GetUnit() != FUNIT_CUSTOM)
@@ -258,10 +218,6 @@ void PercentField::SetMax(sal_Int64 nNewMax, FieldUnit eInUnit)
}
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
sal_Int64 PercentField::NormalizePercent(sal_Int64 nValue)
{
if (GetUnit() != FUNIT_CUSTOM)
@@ -272,10 +228,6 @@ sal_Int64 PercentField::NormalizePercent(sal_Int64 nValue)
return nValue;
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
sal_Int64 PercentField::DenormalizePercent(sal_Int64 nValue)
{
if (GetUnit() != FUNIT_CUSTOM)
@@ -289,10 +241,6 @@ sal_Int64 PercentField::DenormalizePercent(sal_Int64 nValue)
return nValue;
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
BOOL PercentField::IsValueModified()
{
if (GetUnit() == FUNIT_CUSTOM)
@@ -301,10 +249,6 @@ BOOL PercentField::IsValueModified()
return MetricField::IsValueModified();
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
sal_Int64 PercentField::ImpPower10( USHORT n )
{
USHORT i;
@@ -316,10 +260,6 @@ sal_Int64 PercentField::ImpPower10( USHORT n )
return nValue;
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
sal_Int64 PercentField::GetRealValue(FieldUnit eOutUnit)
{
if (GetUnit() != FUNIT_CUSTOM)
@@ -328,10 +268,6 @@ sal_Int64 PercentField::GetRealValue(FieldUnit eOutUnit)
return Convert(GetValue(), GetUnit(), eOutUnit);
}
-/*--------------------------------------------------------------------
- Beschreibung:
- --------------------------------------------------------------------*/
-
sal_Int64 PercentField::Convert(sal_Int64 nValue, FieldUnit eInUnit, FieldUnit eOutUnit)
{
if (eInUnit == eOutUnit ||
Context
- [Libreoffice] [PATCH 02/16] Cleanup: remove bogus comments (continued)
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.