summaryrefslogtreecommitdiffstats
path: root/oox
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2012-03-03 00:22:39 +0200
committerTor Lillqvist <tml@iki.fi>2012-03-03 01:16:29 +0200
commitc492c10348625cb757e97d3a4ea809ee28e54a53 (patch)
tree93246ef64c259879757a4bec620503349c40aece /oox
parentWaE: use of logical '&&' with constant operand (diff)
downloadcore-c492c10348625cb757e97d3a4ea809ee28e54a53.tar.gz
core-c492c10348625cb757e97d3a4ea809ee28e54a53.zip
WaE: two unused functions
Diffstat (limited to 'oox')
-rw-r--r--oox/source/xls/stylesbuffer.cxx24
1 files changed, 0 insertions, 24 deletions
diff --git a/oox/source/xls/stylesbuffer.cxx b/oox/source/xls/stylesbuffer.cxx
index d336a5a75af4..6c9c76f49259 100644
--- a/oox/source/xls/stylesbuffer.cxx
+++ b/oox/source/xls/stylesbuffer.cxx
@@ -1583,25 +1583,6 @@ bool operator==( const BorderLine& rLeft, const BorderLine& rRight )
(rLeft.LineDistance == rRight.LineDistance);
}
-bool operator==( const TableBorder& rLeft, const TableBorder& rRight )
-{
- return
- (rLeft.TopLine == rRight.TopLine) &&
- (rLeft.IsTopLineValid == rRight.IsTopLineValid) &&
- (rLeft.BottomLine == rRight.BottomLine) &&
- (rLeft.IsBottomLineValid == rRight.IsBottomLineValid) &&
- (rLeft.LeftLine == rRight.LeftLine) &&
- (rLeft.IsLeftLineValid == rRight.IsLeftLineValid) &&
- (rLeft.RightLine == rRight.RightLine) &&
- (rLeft.IsRightLineValid == rRight.IsRightLineValid) &&
- (rLeft.HorizontalLine == rRight.HorizontalLine) &&
- (rLeft.IsHorizontalLineValid == rRight.IsHorizontalLineValid) &&
- (rLeft.VerticalLine == rRight.VerticalLine) &&
- (rLeft.IsVerticalLineValid == rRight.IsVerticalLineValid) &&
- (rLeft.Distance == rRight.Distance) &&
- (rLeft.IsDistanceValid == rRight.IsDistanceValid);
-}
-
} // namespace
bool operator==( const ApiBorderData& rLeft, const ApiBorderData& rRight )
@@ -1629,11 +1610,6 @@ inline void lclSetBorderLineWidth( BorderLine& rBorderLine,
rBorderLine.InnerLineWidth = nInner;
}
-inline sal_Int32 lclGetBorderLineWidth( const BorderLine& rBorderLine )
-{
- return rBorderLine.OuterLineWidth + rBorderLine.LineDistance + rBorderLine.InnerLineWidth;
-}
-
} // namespace
// ----------------------------------------------------------------------------