summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2012-04-17 10:04:17 +0300
committerTor Lillqvist <tml@iki.fi>2012-04-17 10:07:08 +0300
commit7c3c0c557e8b293551fb6b1b7a1f39b45a394777 (patch)
treed2b458328ccadedc2179839da250ab43ae93f6bb /sc
parent620ca8c527fb77334bdb29eb4d00e8102b731bde (diff)
WaE: unused functions
Diffstat (limited to 'sc')
-rw-r--r--sc/source/filter/oox/addressconverter.cxx11
-rw-r--r--sc/source/filter/oox/drawingbase.cxx11
2 files changed, 0 insertions, 22 deletions
diff --git a/sc/source/filter/oox/addressconverter.cxx b/sc/source/filter/oox/addressconverter.cxx
index 90c916ce1036..ef7c0fae8209 100644
--- a/sc/source/filter/oox/addressconverter.cxx
+++ b/sc/source/filter/oox/addressconverter.cxx
@@ -97,17 +97,6 @@ const sal_Unicode BIFF_URL_UNC = '@'; /// UNC path root.
const sal_Unicode BIFF_DCON_ENCODED = '\x01'; /// First character of an encoded path from DCON* records.
const sal_Unicode BIFF_DCON_INTERN = '\x02'; /// First character of an encoded sheet name from DCON* records.
-
-inline sal_uInt8 lclGetBiffAddressSize( bool bCol16Bit, bool bRow32Bit )
-{
- return (bCol16Bit ? 2 : 1) + (bRow32Bit ? 4 : 2);
-}
-
-inline sal_uInt8 lclGetBiffRangeSize( bool bCol16Bit, bool bRow32Bit )
-{
- return 2 * lclGetBiffAddressSize( bCol16Bit, bRow32Bit );
-}
-
} // namespace
// ============================================================================
diff --git a/sc/source/filter/oox/drawingbase.cxx b/sc/source/filter/oox/drawingbase.cxx
index 330cadac1af6..3e3cb64f0955 100644
--- a/sc/source/filter/oox/drawingbase.cxx
+++ b/sc/source/filter/oox/drawingbase.cxx
@@ -61,17 +61,6 @@ inline sal_Int32 lclEmuToHmm( sal_Int64 nValue )
return (nValue < 0) ? -1 : convertEmuToHmm( nValue );
}
-/** Reads the cell anchor model from a BIFF or DFF stream. */
-BinaryInputStream& operator>>( BinaryInputStream& rStrm, CellAnchorModel& rModel )
-{
- // all members are given as 16-bit unsigned values
- rModel.mnCol = rStrm.readuInt16();
- rModel.mnColOffset = rStrm.readuInt16();
- rModel.mnRow = rStrm.readuInt16();
- rModel.mnRowOffset = rStrm.readuInt16();
- return rStrm;
-}
-
} // namespace
// ============================================================================