Kaydet (Commit) 20d6c4d4 authored tarafından Santiago Martinez's avatar Santiago Martinez Kaydeden (comit) Markus Mohrhard

Remove unused code in XclRoot.

üst 1c9f0a6d
......@@ -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()) ?
......
......@@ -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;
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment