remove some useless comments
Change-Id: Ied223890539a3407abbed7c7135dfc3de2f2fe48 Reviewed-on: https://gerrit.libreoffice.org/429 Reviewed-by: Philipp Riemer <ruderphilipp@gmail.com> Tested-by: Philipp Riemer <ruderphilipp@gmail.com>
This commit is contained in:
committed by
Philipp Riemer
parent
920dcaec05
commit
cfda6c9a00
@@ -219,7 +219,6 @@ RscEnum * RscTypCont::InitFieldUnitsType()
|
|||||||
SETCONST( pFieldUnits, "FUNIT_FOOT", FUNIT_FOOT );
|
SETCONST( pFieldUnits, "FUNIT_FOOT", FUNIT_FOOT );
|
||||||
SETCONST( pFieldUnits, "FUNIT_MILE", FUNIT_MILE );
|
SETCONST( pFieldUnits, "FUNIT_MILE", FUNIT_MILE );
|
||||||
SETCONST( pFieldUnits, "FUNIT_CUSTOM", FUNIT_CUSTOM );
|
SETCONST( pFieldUnits, "FUNIT_CUSTOM", FUNIT_CUSTOM );
|
||||||
// Amelia : adds two units ,"char" and "line"
|
|
||||||
SETCONST( pFieldUnits, "FUNIT_CHAR", FUNIT_CHAR );
|
SETCONST( pFieldUnits, "FUNIT_CHAR", FUNIT_CHAR );
|
||||||
SETCONST( pFieldUnits, "FUNIT_LINE", FUNIT_LINE );
|
SETCONST( pFieldUnits, "FUNIT_LINE", FUNIT_LINE );
|
||||||
SETCONST( pFieldUnits, "FUNIT_PERCENT", FUNIT_PERCENT );
|
SETCONST( pFieldUnits, "FUNIT_PERCENT", FUNIT_PERCENT );
|
||||||
|
@@ -49,8 +49,8 @@
|
|||||||
#include "attrib.hxx"
|
#include "attrib.hxx"
|
||||||
#include "hints.hxx"
|
#include "hints.hxx"
|
||||||
#include "sc.hrc"
|
#include "sc.hrc"
|
||||||
#include "chgtrack.hxx" // Amelia Wang
|
#include "chgtrack.hxx"
|
||||||
#include "refundo.hxx" // Amelia Wang
|
#include "refundo.hxx"
|
||||||
#include "markdata.hxx"
|
#include "markdata.hxx"
|
||||||
|
|
||||||
// -----------------------------------------------------------------------
|
// -----------------------------------------------------------------------
|
||||||
@@ -71,7 +71,7 @@ TYPEINIT1(ScUndoRepeatDB, ScSimpleUndo);
|
|||||||
TYPEINIT1(ScUndoDataPilot, ScSimpleUndo);
|
TYPEINIT1(ScUndoDataPilot, ScSimpleUndo);
|
||||||
TYPEINIT1(ScUndoConsolidate, ScSimpleUndo);
|
TYPEINIT1(ScUndoConsolidate, ScSimpleUndo);
|
||||||
TYPEINIT1(ScUndoChartData, ScSimpleUndo);
|
TYPEINIT1(ScUndoChartData, ScSimpleUndo);
|
||||||
TYPEINIT1(ScUndoDataForm, SfxUndoAction); // amelia
|
TYPEINIT1(ScUndoDataForm, SfxUndoAction);
|
||||||
|
|
||||||
// -----------------------------------------------------------------------
|
// -----------------------------------------------------------------------
|
||||||
|
|
||||||
@@ -2015,7 +2015,6 @@ sal_Bool ScUndoChartData::CanRepeat(SfxRepeatTarget& /* rTarget */) const
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Amelia Wang
|
|
||||||
ScUndoDataForm::ScUndoDataForm( ScDocShell* pNewDocShell,
|
ScUndoDataForm::ScUndoDataForm( ScDocShell* pNewDocShell,
|
||||||
SCCOL nStartX, SCROW nStartY, SCTAB nStartZ,
|
SCCOL nStartX, SCROW nStartY, SCTAB nStartZ,
|
||||||
SCCOL nEndX, SCROW nEndY, SCTAB nEndZ,
|
SCCOL nEndX, SCROW nEndY, SCTAB nEndZ,
|
||||||
|
@@ -65,7 +65,6 @@ public:
|
|||||||
virtual css::uno::Any SAL_CALL Windows( const css::uno::Any& aIndex ) throw (css::uno::RuntimeException);
|
virtual css::uno::Any SAL_CALL Windows( const css::uno::Any& aIndex ) throw (css::uno::RuntimeException);
|
||||||
virtual void SAL_CALL Activate() throw (css::uno::RuntimeException);
|
virtual void SAL_CALL Activate() throw (css::uno::RuntimeException);
|
||||||
virtual void SAL_CALL Protect( const css::uno::Any & aPassword ) throw (css::uno::RuntimeException);
|
virtual void SAL_CALL Protect( const css::uno::Any & aPassword ) throw (css::uno::RuntimeException);
|
||||||
// Amelia Wang
|
|
||||||
virtual css::uno::Any SAL_CALL Names( const css::uno::Any& aIndex ) throw (css::uno::RuntimeException);
|
virtual css::uno::Any SAL_CALL Names( const css::uno::Any& aIndex ) throw (css::uno::RuntimeException);
|
||||||
|
|
||||||
virtual css::uno::Any SAL_CALL Styles( const css::uno::Any& Item ) throw (css::uno::RuntimeException);
|
virtual css::uno::Any SAL_CALL Styles( const css::uno::Any& Item ) throw (css::uno::RuntimeException);
|
||||||
|
@@ -630,7 +630,6 @@ private:
|
|||||||
sal_uInt16 mnExtraStyle;
|
sal_uInt16 mnExtraStyle;
|
||||||
sal_uInt16 mnExtraClicks;
|
sal_uInt16 mnExtraClicks;
|
||||||
sal_uInt16 mnExtraModifier;
|
sal_uInt16 mnExtraModifier;
|
||||||
// Amelia
|
|
||||||
long mnCharWidth;
|
long mnCharWidth;
|
||||||
long mnLineHeight;
|
long mnLineHeight;
|
||||||
|
|
||||||
|
@@ -462,7 +462,6 @@ void Ruler::ImplDrawTicks( long nMin, long nMax, long nStart, long nCenter )
|
|||||||
long nTickWidth;
|
long nTickWidth;
|
||||||
sal_Bool bNoTicks = sal_False;
|
sal_Bool bNoTicks = sal_False;
|
||||||
|
|
||||||
//Amelia
|
|
||||||
long nTickUnit = 0;
|
long nTickUnit = 0;
|
||||||
long nTick2 = 0;
|
long nTick2 = 0;
|
||||||
if ( mnUnitIndex == RULER_UNIT_CHAR )
|
if ( mnUnitIndex == RULER_UNIT_CHAR )
|
||||||
@@ -502,7 +501,7 @@ void Ruler::ImplDrawTicks( long nMin, long nMax, long nStart, long nCenter )
|
|||||||
long nMaxWidth = maVirDev.PixelToLogic( Size( mpData->nPageWidth, 0 ), maMapMode ).Width();
|
long nMaxWidth = maVirDev.PixelToLogic( Size( mpData->nPageWidth, 0 ), maMapMode ).Width();
|
||||||
if ( nMaxWidth < 0 )
|
if ( nMaxWidth < 0 )
|
||||||
nMaxWidth = -nMaxWidth;
|
nMaxWidth = -nMaxWidth;
|
||||||
// Amelia
|
|
||||||
if (( mnUnitIndex == RULER_UNIT_CHAR ) || ( mnUnitIndex == RULER_UNIT_LINE ))
|
if (( mnUnitIndex == RULER_UNIT_CHAR ) || ( mnUnitIndex == RULER_UNIT_LINE ))
|
||||||
nMaxWidth /= nTickUnit;
|
nMaxWidth /= nTickUnit;
|
||||||
else
|
else
|
||||||
@@ -590,7 +589,6 @@ void Ruler::ImplDrawTicks( long nMin, long nMax, long nStart, long nCenter )
|
|||||||
// Tick/Tick2 - Output (Strokes)
|
// Tick/Tick2 - Output (Strokes)
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
/// Amelia
|
|
||||||
if ( ( mnUnitIndex != RULER_UNIT_CHAR ) && ( mnUnitIndex != RULER_UNIT_LINE ) )
|
if ( ( mnUnitIndex != RULER_UNIT_CHAR ) && ( mnUnitIndex != RULER_UNIT_LINE ) )
|
||||||
nTick2 = aImplRulerUnitTab[mnUnitIndex].nTick2;
|
nTick2 = aImplRulerUnitTab[mnUnitIndex].nTick2;
|
||||||
if ( !(nTick % nTick2 ) )
|
if ( !(nTick % nTick2 ) )
|
||||||
|
@@ -26,13 +26,10 @@
|
|||||||
*
|
*
|
||||||
************************************************************************/
|
************************************************************************/
|
||||||
|
|
||||||
|
|
||||||
#ifdef SW_DLLIMPLEMENTATION
|
#ifdef SW_DLLIMPLEMENTATION
|
||||||
#undef SW_DLLIMPLEMENTATION
|
#undef SW_DLLIMPLEMENTATION
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#include <sfx2/app.hxx>
|
#include <sfx2/app.hxx>
|
||||||
|
|
||||||
#include <cmdid.h>
|
#include <cmdid.h>
|
||||||
@@ -301,8 +298,8 @@ void SwTextGridPage::PutGridItem(SfxItemSet& rSet)
|
|||||||
aGridItem.SetPrintGrid(aPrintCB.IsChecked());
|
aGridItem.SetPrintGrid(aPrintCB.IsChecked());
|
||||||
aGridItem.SetColor(aColorLB.GetSelectEntryColor());
|
aGridItem.SetColor(aColorLB.GetSelectEntryColor());
|
||||||
rSet.Put(aGridItem);
|
rSet.Put(aGridItem);
|
||||||
/// Amelia
|
|
||||||
SwView * pView = ::GetActiveView();
|
SwView * pView = ::GetActiveView();
|
||||||
if ( aGridItem.GetGridType() != GRID_NONE )
|
if ( aGridItem.GetGridType() != GRID_NONE )
|
||||||
{
|
{
|
||||||
if ( aGridItem.GetGridType() == GRID_LINES_CHARS )
|
if ( aGridItem.GetGridType() == GRID_LINES_CHARS )
|
||||||
|
@@ -27,7 +27,6 @@
|
|||||||
|
|
||||||
#include <svids.hrc>
|
#include <svids.hrc>
|
||||||
|
|
||||||
// Amelia : adds two units , 'ch' and 'line'
|
|
||||||
StringArray SV_FUNIT_STRINGS
|
StringArray SV_FUNIT_STRINGS
|
||||||
{
|
{
|
||||||
ItemList [ en-US ] =
|
ItemList [ en-US ] =
|
||||||
|
Reference in New Issue
Block a user