diff --git a/sc/inc/chgtrack.hxx b/sc/inc/chgtrack.hxx index 16b86983f4b7..1c0b664b618c 100644 --- a/sc/inc/chgtrack.hxx +++ b/sc/inc/chgtrack.hxx @@ -377,7 +377,6 @@ public: ScChangeAction* GetPrev() const { return pPrev; } bool IsDeletedIn() const; - bool IsDeleted() const; bool IsDeletedIn( const ScChangeAction* ) const; bool IsDeletedInDelType( ScChangeActionType ) const; void RemoveAllDeletedIn(); @@ -833,9 +832,7 @@ public: // NewCell bool IsMatrixOrigin() const; - bool IsMatrixReference() const; // OldCell - bool IsOldMatrixOrigin() const; bool IsOldMatrixReference() const; }; diff --git a/sc/source/core/tool/chgtrack.cxx b/sc/source/core/tool/chgtrack.cxx index 82fbd935c279..9a2ccb5aac6a 100644 --- a/sc/source/core/tool/chgtrack.cxx +++ b/sc/source/core/tool/chgtrack.cxx @@ -345,11 +345,6 @@ bool ScChangeAction::IsDeletedIn() const return GetDeletedIn() != NULL; } -bool ScChangeAction::IsDeleted() const -{ - return IsDeleteType() || IsDeletedIn(); -} - bool ScChangeAction::IsDeletedIn( const ScChangeAction* p ) const { ScChangeActionLinkEntry* pL = GetDeletedIn(); @@ -2155,16 +2150,6 @@ bool ScChangeActionContent::IsMatrixOrigin() const return GetContentCellType(GetNewCell()) == SC_CACCT_MATORG; } -bool ScChangeActionContent::IsMatrixReference() const -{ - return GetContentCellType(GetNewCell()) == SC_CACCT_MATREF; -} - -bool ScChangeActionContent::IsOldMatrixOrigin() const -{ - return GetContentCellType(GetOldCell()) == SC_CACCT_MATORG; -} - bool ScChangeActionContent::IsOldMatrixReference() const { return GetContentCellType(GetOldCell()) == SC_CACCT_MATREF; diff --git a/sc/source/ui/inc/output.hxx b/sc/source/ui/inc/output.hxx index 9a81555eab05..f9a14a77a93a 100644 --- a/sc/source/ui/inc/output.hxx +++ b/sc/source/ui/inc/output.hxx @@ -123,7 +123,6 @@ private: void calcMargins(long& rTop, long& rLeft, long& rBottom, long& rRight, double nPPTX, double nPPTY) const; void calcPaperSize(Size& rPaperSize, const Rectangle& rAlignRect, double nPPTX, double nPPTY) const; void getEngineSize(ScFieldEditEngine* pEngine, long& rWidth, long& rHeight) const; - long getEngineWidth(ScFieldEditEngine* pEngine) const; bool hasLineBreak() const; bool isHyperlinkCell() const; diff --git a/sc/source/ui/view/output2.cxx b/sc/source/ui/view/output2.cxx index 82a9905677a1..8122c9489b28 100644 --- a/sc/source/ui/view/output2.cxx +++ b/sc/source/ui/view/output2.cxx @@ -2327,14 +2327,6 @@ void ScOutputData::DrawEditParam::getEngineSize(ScFieldEditEngine* pEngine, long rHeight = nEngineHeight; } -long ScOutputData::DrawEditParam::getEngineWidth(ScFieldEditEngine* pEngine) const -{ - if (mbBreak && meOrient != SVX_ORIENTATION_STACKED && !mbAsianVertical) - return 0; - else - return static_cast(pEngine->CalcTextWidth()); -} - bool ScOutputData::DrawEditParam::hasLineBreak() const { return (mbBreak || (meOrient == SVX_ORIENTATION_STACKED) || mbAsianVertical); diff --git a/unusedcode.easy b/unusedcode.easy index 540da7cd04ad..bf8ac97e3503 100755 --- a/unusedcode.easy +++ b/unusedcode.easy @@ -127,9 +127,6 @@ ScAddInDocs::Insert(ScAddInDocs const*, unsigned short, unsigned short) ScAddInDocs::Insert(ScDocument* const&, unsigned short&) ScAddInDocs::Insert(ScDocument* const*, unsigned short) ScAddInDocs::Remove(ScDocument* const&, unsigned short) -ScChangeAction::IsDeleted() const -ScChangeActionContent::IsMatrixReference() const -ScChangeActionContent::IsOldMatrixOrigin() const ScChangeActionContent::SetNewValue(rtl::OUString const&, ScDocument*) ScChartListener::ScChartListener(rtl::OUString const&, ScDocument*, ScRange const&) ScChartListener::SetName(rtl::OUString const&) @@ -168,7 +165,6 @@ ScHTMLColOffset_SAR::_ForEach(unsigned short, unsigned short, unsigned char (*)( ScMyCellInfo::ScMyCellInfo() ScNameDefDlg::LinkStubEdModifyHdl(void*, void*) ScNamedRangeObj::getImplementation(com::sun::star::uno::Reference) -ScOutputData::DrawEditParam::getEngineWidth(ScFieldEditEngine*) const ScRTFColTwips::Insert(ScRTFColTwips const*, unsigned short, unsigned short) ScRTFColTwips::Insert(unsigned long const&, unsigned short&) ScRTFColTwips::Insert(unsigned long const*, unsigned short)