summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chart2/source/model/main/DataPointStyle.cxx0
-rw-r--r--chart2/source/model/main/DataPointStyle.hxx0
-rw-r--r--chart2/source/model/main/DataSeriesStyle.cxx0
-rw-r--r--chart2/source/model/main/DataSeriesStyle.hxx0
-rw-r--r--chart2/source/model/main/Style.cxx0
-rw-r--r--chart2/source/model/main/Style.hxx0
-rw-r--r--chart2/source/model/main/StyleFamilies.cxx0
-rw-r--r--chart2/source/model/main/StyleFamilies.hxx0
-rw-r--r--chart2/source/model/main/StyleFamily.cxx0
-rw-r--r--chart2/source/model/main/StyleFamily.hxx0
-rw-r--r--sc/inc/rangenam.hxx2
-rw-r--r--sc/inc/token.hxx2
-rw-r--r--sc/source/core/data/sortparam.cxx6
-rw-r--r--sc/source/filter/excel/xeformula.cxx2
-rw-r--r--sc/source/filter/excel/xistream.cxx4
-rw-r--r--sc/source/filter/excel/xlchart.cxx2
-rw-r--r--sc/source/filter/ftools/fapihelper.cxx2
-rw-r--r--sc/source/ui/dbgui/csvruler.cxx6
-rw-r--r--sc/source/ui/inc/fupoor.hxx4
-rw-r--r--sc/source/ui/vba/vbacolorformat.cxx4
-rw-r--r--sc/source/ui/vba/vbacolorformat.hxx4
21 files changed, 19 insertions, 19 deletions
diff --git a/chart2/source/model/main/DataPointStyle.cxx b/chart2/source/model/main/DataPointStyle.cxx
deleted file mode 100644
index e69de29bb2d1..000000000000
--- a/chart2/source/model/main/DataPointStyle.cxx
+++ /dev/null
diff --git a/chart2/source/model/main/DataPointStyle.hxx b/chart2/source/model/main/DataPointStyle.hxx
deleted file mode 100644
index e69de29bb2d1..000000000000
--- a/chart2/source/model/main/DataPointStyle.hxx
+++ /dev/null
diff --git a/chart2/source/model/main/DataSeriesStyle.cxx b/chart2/source/model/main/DataSeriesStyle.cxx
deleted file mode 100644
index e69de29bb2d1..000000000000
--- a/chart2/source/model/main/DataSeriesStyle.cxx
+++ /dev/null
diff --git a/chart2/source/model/main/DataSeriesStyle.hxx b/chart2/source/model/main/DataSeriesStyle.hxx
deleted file mode 100644
index e69de29bb2d1..000000000000
--- a/chart2/source/model/main/DataSeriesStyle.hxx
+++ /dev/null
diff --git a/chart2/source/model/main/Style.cxx b/chart2/source/model/main/Style.cxx
deleted file mode 100644
index e69de29bb2d1..000000000000
--- a/chart2/source/model/main/Style.cxx
+++ /dev/null
diff --git a/chart2/source/model/main/Style.hxx b/chart2/source/model/main/Style.hxx
deleted file mode 100644
index e69de29bb2d1..000000000000
--- a/chart2/source/model/main/Style.hxx
+++ /dev/null
diff --git a/chart2/source/model/main/StyleFamilies.cxx b/chart2/source/model/main/StyleFamilies.cxx
deleted file mode 100644
index e69de29bb2d1..000000000000
--- a/chart2/source/model/main/StyleFamilies.cxx
+++ /dev/null
diff --git a/chart2/source/model/main/StyleFamilies.hxx b/chart2/source/model/main/StyleFamilies.hxx
deleted file mode 100644
index e69de29bb2d1..000000000000
--- a/chart2/source/model/main/StyleFamilies.hxx
+++ /dev/null
diff --git a/chart2/source/model/main/StyleFamily.cxx b/chart2/source/model/main/StyleFamily.cxx
deleted file mode 100644
index e69de29bb2d1..000000000000
--- a/chart2/source/model/main/StyleFamily.cxx
+++ /dev/null
diff --git a/chart2/source/model/main/StyleFamily.hxx b/chart2/source/model/main/StyleFamily.hxx
deleted file mode 100644
index e69de29bb2d1..000000000000
--- a/chart2/source/model/main/StyleFamily.hxx
+++ /dev/null
diff --git a/sc/inc/rangenam.hxx b/sc/inc/rangenam.hxx
index 6658bccbe1f1..608f9ec1d868 100644
--- a/sc/inc/rangenam.hxx
+++ b/sc/inc/rangenam.hxx
@@ -113,7 +113,7 @@ public:
ScAddress GetPos() const { return aPos; }
// Der Index muss eindeutig sein. Ist er 0, wird ein neuer Index vergeben
void SetIndex( USHORT nInd ) { nIndex = nInd; }
- const USHORT GetIndex() const { return nIndex; }
+ USHORT GetIndex() const { return nIndex; }
ScTokenArray* GetCode() { return pCode; }
USHORT GetErrCode();
BOOL HasReferences() const;
diff --git a/sc/inc/token.hxx b/sc/inc/token.hxx
index f3476250c83e..d1d5758f0fd7 100644
--- a/sc/inc/token.hxx
+++ b/sc/inc/token.hxx
@@ -114,7 +114,7 @@ public:
virtual ~ScToken();
inline void Delete() { delete this; }
- inline const StackVar GetType() const { return eType; }
+ inline StackVar GetType() const { return eType; }
BOOL IsFunction() const; // pure functions, no operators
BOOL IsMatrixFunction() const; // if a function _always_ returns a Matrix
BYTE GetParamCount() const;
diff --git a/sc/source/core/data/sortparam.cxx b/sc/source/core/data/sortparam.cxx
index bed8d0023616..15691a642d7e 100644
--- a/sc/source/core/data/sortparam.cxx
+++ b/sc/source/core/data/sortparam.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: sortparam.cxx,v $
- * $Revision: 1.8 $
+ * $Revision: 1.8.146.1 $
*
* This file is part of OpenOffice.org.
*
@@ -125,8 +125,8 @@ BOOL ScSortParam::operator==( const ScSortParam& rOther ) const
// Anzahl der Sorts gleich?
USHORT nLast = 0;
USHORT nOtherLast = 0;
- while ( bDoSort[nLast++] && nLast < MAXSORT );
- while ( rOther.bDoSort[nOtherLast++] && nOtherLast < MAXSORT );
+ while ( bDoSort[nLast++] && nLast < MAXSORT ) ;
+ while ( rOther.bDoSort[nOtherLast++] && nOtherLast < MAXSORT ) ;
nLast--;
nOtherLast--;
if ( (nLast == nOtherLast)
diff --git a/sc/source/filter/excel/xeformula.cxx b/sc/source/filter/excel/xeformula.cxx
index 751bd607663c..ad24d6e59395 100644
--- a/sc/source/filter/excel/xeformula.cxx
+++ b/sc/source/filter/excel/xeformula.cxx
@@ -628,7 +628,7 @@ void XclExpFmlaCompImpl::AppendInlineArrays( ScfUInt8Vec& rExtensionTokens )
if( meBiff == EXC_BIFF8 )
{
- rExtensionTokens.push_back( sal::static_int_cast<const sal_uInt8>( nMaxC - 1 ) );
+ rExtensionTokens.push_back( sal::static_int_cast<sal_uInt8>( nMaxC - 1 ) );
rExtensionTokens.resize( rExtensionTokens.size() + 2 );
ShortToSVBT16( static_cast< USHORT >( nMaxR - 1 ), &*(rExtensionTokens.end() - 2) );
}
diff --git a/sc/source/filter/excel/xistream.cxx b/sc/source/filter/excel/xistream.cxx
index 931f08ef468f..b7f0d3841645 100644
--- a/sc/source/filter/excel/xistream.cxx
+++ b/sc/source/filter/excel/xistream.cxx
@@ -506,7 +506,7 @@ sal_Size XclImpStream::GetRecSize()
if( !mbHasComplRec )
{
PushPosition();
- while( JumpToNextContinue() ); // JumpToNextContinue() adds up mnCurrRecSize
+ while( JumpToNextContinue() ) ; // JumpToNextContinue() adds up mnCurrRecSize
mnComplRecSize = mnCurrRecSize;
mbHasComplRec = true;
PopPosition();
@@ -525,7 +525,7 @@ sal_uInt16 XclImpStream::GetNextRecId()
if( mbValidRec )
{
PushPosition();
- while( JumpToNextContinue() ); // skip following CONTINUE records
+ while( JumpToNextContinue() ) ; // skip following CONTINUE records
if( mnNextRecPos < mnStreamSize )
{
mrStrm.Seek( mnNextRecPos );
diff --git a/sc/source/filter/excel/xlchart.cxx b/sc/source/filter/excel/xlchart.cxx
index a05ae4a275c9..76253fcb1f2f 100644
--- a/sc/source/filter/excel/xlchart.cxx
+++ b/sc/source/filter/excel/xlchart.cxx
@@ -937,7 +937,7 @@ void XclChPropSetHelper::ReadMarkerProperties(
sal_uInt16 XclChPropSetHelper::ReadRotationProperties( const ScfPropertySet& rPropSet )
{
// chart2 handles rotation as double in the range [0,360)
- double fAngle;
+ double fAngle(0);
bool bStacked;
maRotationHlp.ReadFromPropertySet( rPropSet );
maRotationHlp >> fAngle >> bStacked;
diff --git a/sc/source/filter/ftools/fapihelper.cxx b/sc/source/filter/ftools/fapihelper.cxx
index c87ac3601f63..3befbf4d866f 100644
--- a/sc/source/filter/ftools/fapihelper.cxx
+++ b/sc/source/filter/ftools/fapihelper.cxx
@@ -376,7 +376,7 @@ bool ScfPropSetHelper::ReadValue( String& rString )
bool ScfPropSetHelper::ReadValue( Color& rColor )
{
- sal_Int32 nApiColor;
+ sal_Int32 nApiColor(0);
bool bRet = ReadValue( nApiColor );
rColor = ScfApiHelper::ConvertFromApiColor( nApiColor );
return bRet;
diff --git a/sc/source/ui/dbgui/csvruler.cxx b/sc/source/ui/dbgui/csvruler.cxx
index 54e141eeb180..6f97ecd4c9d9 100644
--- a/sc/source/ui/dbgui/csvruler.cxx
+++ b/sc/source/ui/dbgui/csvruler.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: csvruler.cxx,v $
- * $Revision: 1.16 $
+ * $Revision: 1.16.146.1 $
*
* This file is part of OpenOffice.org.
*
@@ -261,10 +261,10 @@ sal_Int32 ScCsvRuler::FindEmptyPos( sal_Int32 nPos, ScMoveMode eDir ) const
nNewPos = Max( nPos, FindEmptyPos( GetPosCount(), MOVE_PREV ) );
break;
case MOVE_PREV:
- while( HasSplit( --nNewPos ) );
+ while( HasSplit( --nNewPos ) ) ;
break;
case MOVE_NEXT:
- while( HasSplit( ++nNewPos ) );
+ while( HasSplit( ++nNewPos ) ) ;
break;
default:
{
diff --git a/sc/source/ui/inc/fupoor.hxx b/sc/source/ui/inc/fupoor.hxx
index 9be0e7c464fe..819eb56aa367 100644
--- a/sc/source/ui/inc/fupoor.hxx
+++ b/sc/source/ui/inc/fupoor.hxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: fupoor.hxx,v $
- * $Revision: 1.7 $
+ * $Revision: 1.7.146.1 $
*
* This file is part of OpenOffice.org.
*
@@ -90,7 +90,7 @@ private:
// #95491# see member
void SetMouseButtonCode(sal_uInt16 nNew) { if(nNew != mnCode) mnCode = nNew; }
- const sal_uInt16 GetMouseButtonCode() const { return mnCode; }
+ sal_uInt16 GetMouseButtonCode() const { return mnCode; }
virtual void Paint(const Rectangle&, Window*) {}
diff --git a/sc/source/ui/vba/vbacolorformat.cxx b/sc/source/ui/vba/vbacolorformat.cxx
index 60b5fb8a4514..f2e3a5b891c0 100644
--- a/sc/source/ui/vba/vbacolorformat.cxx
+++ b/sc/source/ui/vba/vbacolorformat.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: vbacolorformat.cxx,v $
- * $Revision: 1.3 $
+ * $Revision: 1.3.146.1 $
*
* This file is part of OpenOffice.org.
*
@@ -34,7 +34,7 @@
using namespace org::openoffice;
using namespace com::sun::star;
-const sal_Int32
+sal_Int32
MsoColorIndizes::getColorIndex( sal_Int32 nIndex )
{
const static sal_Int32 COLORINDIZES[56] =
diff --git a/sc/source/ui/vba/vbacolorformat.hxx b/sc/source/ui/vba/vbacolorformat.hxx
index a5e2ab31524b..da48d3824ced 100644
--- a/sc/source/ui/vba/vbacolorformat.hxx
+++ b/sc/source/ui/vba/vbacolorformat.hxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: vbacolorformat.hxx,v $
- * $Revision: 1.3 $
+ * $Revision: 1.3.146.1 $
*
* This file is part of OpenOffice.org.
*
@@ -97,7 +97,7 @@ struct MsoColorIndizes
const static sal_Int32 HAPICOLOR_INDIGO = 3355545;
const static sal_Int32 HAPICOLOR_GRAY_80_PERCENT = 3355443;
- const static sal_Int32 getColorIndex( sal_Int32 nIndex );
+ static sal_Int32 getColorIndex( sal_Int32 nIndex );
};