summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSantiago Martinez <smvarela@gmail.com>2012-02-19 18:26:38 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-02-20 06:41:12 +0100
commit20d6c4d4e952765ef7938f9e6d9135fb067076a5 (patch)
treeaef4466f3684f553651cf33b52069e7c00a4842e
parentmove SvListView from Table to ptr_map, related fdo#45679 (diff)
downloadcore-20d6c4d4e952765ef7938f9e6d9135fb067076a5.tar.gz
core-20d6c4d4e952765ef7938f9e6d9135fb067076a5.zip
Remove unused code in XclRoot.
-rw-r--r--sc/source/filter/excel/xlroot.cxx15
-rw-r--r--sc/source/filter/inc/xlroot.hxx5
-rwxr-xr-xunusedcode.easy3
3 files changed, 0 insertions, 23 deletions
diff --git a/sc/source/filter/excel/xlroot.cxx b/sc/source/filter/excel/xlroot.cxx
index 21e8a70f555c..0177ce4b5a82 100644
--- a/sc/source/filter/excel/xlroot.cxx
+++ b/sc/source/filter/excel/xlroot.cxx
@@ -247,16 +247,6 @@ sal_Int32 XclRoot::GetHmmFromPixelY( double fPixelY ) const
return static_cast< sal_Int32 >( fPixelY * mrData.mfScreenPixelY + 0.5 );
}
-double XclRoot::GetPixelXFromHmm( sal_Int32 nX ) const
-{
- return static_cast< double >( (nX - 0.5) / mrData.mfScreenPixelX );
-}
-
-double XclRoot::GetPixelYFromHmm( sal_Int32 nY ) const
-{
- return static_cast< double >( (nY - 0.5) / mrData.mfScreenPixelY );
-}
-
uno::Sequence< beans::NamedValue > XclRoot::RequestEncryptionData( ::comphelper::IDocPasswordVerifier& rVerifier ) const
{
::std::vector< OUString > aDefaultPasswords;
@@ -320,11 +310,6 @@ ScRangeName& XclRoot::GetNamedRanges() const
return *GetDoc().GetRangeName();
}
-ScDBCollection& XclRoot::GetDatabaseRanges() const
-{
- return *GetDoc().GetDBCollection();
-}
-
SdrPage* XclRoot::GetSdrPage( SCTAB nScTab ) const
{
return ((nScTab >= 0) && GetDoc().GetDrawLayer()) ?
diff --git a/sc/source/filter/inc/xlroot.hxx b/sc/source/filter/inc/xlroot.hxx
index 20eb819cff9b..0a652baeb1c9 100644
--- a/sc/source/filter/inc/xlroot.hxx
+++ b/sc/source/filter/inc/xlroot.hxx
@@ -188,9 +188,6 @@ public:
/** Calculates the height of the passed number of pixels in 1/100 mm. */
sal_Int32 GetHmmFromPixelY( double fPixelY ) const;
- double GetPixelXFromHmm( sal_Int32 nX ) const;
- double GetPixelYFromHmm( sal_Int32 nY ) const;
-
/** Returns the medium to import from. */
inline SfxMedium& GetMedium() const { return mrData.mrMedium; }
/** Returns the document URL of the imported/exported file. */
@@ -235,8 +232,6 @@ public:
ScStyleSheetPool& GetStyleSheetPool() const;
/** Returns the defined names container of the Calc document. */
ScRangeName& GetNamedRanges() const;
- /** Returns the database ranges container of the Calc document. */
- ScDBCollection& GetDatabaseRanges() const;
/** Returns the drawing layer page of the passed sheet, if present. */
SdrPage* GetSdrPage( SCTAB nScTab ) const;
diff --git a/unusedcode.easy b/unusedcode.easy
index eb5cec55fe6c..afeba1de3715 100755
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -552,9 +552,6 @@ XclExpFontBuffer::Insert(ScPatternAttr const&, short, XclExpColorType, bool)
XclExpName::IsHidden() const
XclExpPivotCache::GetFieldAcc(rtl::OUString const&)
XclExpString::SetFormats(std::__debug::vector<XclFormatRun, std::allocator<XclFormatRun> > const&)
-XclRoot::GetDatabaseRanges() const
-XclRoot::GetPixelXFromHmm(int) const
-XclRoot::GetPixelYFromHmm(int) const
XclTokenArray::XclTokenArray(std::__debug::vector<unsigned char, std::allocator<unsigned char> >&, bool)
XclTokenArrayIterator::Init()
XclXFBase::HasUsedFlags() const