summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--extensions/source/update/check/updatehdl.hxx3
-rw-r--r--include/canvas/canvastools.hxx1
-rw-r--r--sc/source/filter/inc/addressconverter.hxx5
-rw-r--r--sc/source/filter/inc/xladdress.hxx10
-rw-r--r--sc/source/ui/inc/selectionstate.hxx2
5 files changed, 0 insertions, 21 deletions
diff --git a/extensions/source/update/check/updatehdl.hxx b/extensions/source/update/check/updatehdl.hxx
index 3d4a1f17e513..10a30cf17a0a 100644
--- a/extensions/source/update/check/updatehdl.hxx
+++ b/extensions/source/update/check/updatehdl.hxx
@@ -146,9 +146,6 @@ private:
static OUString loadString( const css::uno::Reference< css::resource::XResourceBundle >& xBundle,
sal_Int32 nResourceId );
OUString substVariables( const OUString &rSource ) const;
- static void setProperty( css::uno::Sequence< css::beans::NamedValue > &rProps,
- const int nIndex, const OUString &rPropName, const css::uno::Any &rPropValue )
- { rProps[ nIndex ].Name = rPropName; rProps[ nIndex ].Value = rPropValue; }
static void insertControlModel( css::uno::Reference< css::awt::XControlModel > const & rxDialogModel,
OUString const & rServiceName,
OUString const & rControlName,
diff --git a/include/canvas/canvastools.hxx b/include/canvas/canvastools.hxx
index 831d3b97d5c8..99cde2657b0a 100644
--- a/include/canvas/canvastools.hxx
+++ b/include/canvas/canvastools.hxx
@@ -104,7 +104,6 @@ namespace canvas
// mickey's math tricks...
inline unsigned int pow2( unsigned int c ) { return 0x1 << c; }
- inline unsigned int mask( unsigned int c ) { return ((unsigned int)(-1)) / (pow2(pow2(c)) + 1); }
/** Round given floating point value down to next integer
*/
diff --git a/sc/source/filter/inc/addressconverter.hxx b/sc/source/filter/inc/addressconverter.hxx
index 0186b11fb2ce..b84f153838bd 100644
--- a/sc/source/filter/inc/addressconverter.hxx
+++ b/sc/source/filter/inc/addressconverter.hxx
@@ -97,11 +97,6 @@ struct BinAddress
void read( BiffInputStream& rStrm, bool bCol16Bit = true, bool bRow32Bit = false );
};
-inline bool operator==( const BinAddress& rL, const BinAddress& rR )
-{
- return (rL.mnCol == rR.mnCol) && (rL.mnRow == rR.mnRow);
-}
-
inline bool operator<( const BinAddress& rL, const BinAddress& rR )
{
return (rL.mnCol < rR.mnCol) || ((rL.mnCol == rR.mnCol) && (rL.mnRow < rR.mnRow));
diff --git a/sc/source/filter/inc/xladdress.hxx b/sc/source/filter/inc/xladdress.hxx
index 12672367ccbf..961ef628d4db 100644
--- a/sc/source/filter/inc/xladdress.hxx
+++ b/sc/source/filter/inc/xladdress.hxx
@@ -42,16 +42,6 @@ struct XclAddress
void Write( XclExpStream& rStrm, bool bCol16Bit = true ) const;
};
-inline bool operator==( const XclAddress& rL, const XclAddress& rR )
-{
- return (rL.mnCol == rR.mnCol) && (rL.mnRow == rR.mnRow);
-}
-
-inline bool operator<( const XclAddress& rL, const XclAddress& rR )
-{
- return (rL.mnCol < rR.mnCol) || ((rL.mnCol == rR.mnCol) && (rL.mnRow < rR.mnRow));
-}
-
inline XclImpStream& operator>>( XclImpStream& rStrm, XclAddress& rXclPos )
{
rXclPos.Read( rStrm );
diff --git a/sc/source/ui/inc/selectionstate.hxx b/sc/source/ui/inc/selectionstate.hxx
index 4d3731399805..86a8d6f6a180 100644
--- a/sc/source/ui/inc/selectionstate.hxx
+++ b/sc/source/ui/inc/selectionstate.hxx
@@ -46,8 +46,6 @@ public:
/** Returns the position of the cell cursor. */
inline const ScAddress& GetCellCursor() const { return maCursor; }
- /** Returns a range list containing all selected cell ranges. */
- inline const ScRangeList& GetSheetSelection() const { return maSheetSel; }
/** Returns the edit engine selection. */
inline const ESelection& GetEditSelection() const { return maEditSel; }