diff options
author | Noel Grandin <noel@peralex.com> | 2015-10-02 08:37:23 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-10-06 10:17:02 +0200 |
commit | 7e776c0027c19f1bb8e64dd68d3fd9ded0b5d896 (patch) | |
tree | 62bae1461c0388af6f7a8bebbf134e9a86c92153 /svx | |
parent | d7f2db4b9ce445afdcabf370497bc66db76efbbc (diff) |
loplugin:unusedmethods
Change-Id: I150baadc442e57ee604563bc52965daa9d2e41af
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/form/fmtools.cxx | 6 | ||||
-rw-r--r-- | svx/source/svdraw/svdconv.hxx | 6 | ||||
-rw-r--r-- | svx/source/svdraw/svdmodel.cxx | 6 | ||||
-rw-r--r-- | svx/source/svdraw/svdotext.cxx | 5 | ||||
-rw-r--r-- | svx/source/svdraw/svdtrans.cxx | 8 | ||||
-rw-r--r-- | svx/source/svdraw/textchainflow.cxx | 7 |
6 files changed, 0 insertions, 38 deletions
diff --git a/svx/source/form/fmtools.cxx b/svx/source/form/fmtools.cxx index 40217b7a71e4..5cef4a75c094 100644 --- a/svx/source/form/fmtools.cxx +++ b/svx/source/form/fmtools.cxx @@ -148,12 +148,6 @@ void displayException(const ::com::sun::star::sdbc::SQLException& _rExcept, vcl: } -void displayException(const ::com::sun::star::sdbc::SQLWarning& _rExcept, vcl::Window* _pParent) -{ - displayException(makeAny(_rExcept), _pParent); -} - - void displayException(const ::com::sun::star::sdb::SQLContext& _rExcept, vcl::Window* _pParent) { displayException(makeAny(_rExcept), _pParent); diff --git a/svx/source/svdraw/svdconv.hxx b/svx/source/svdraw/svdconv.hxx index b6ec7652039b..e2b415d20f11 100644 --- a/svx/source/svdraw/svdconv.hxx +++ b/svx/source/svdraw/svdconv.hxx @@ -12,14 +12,8 @@ #include <sal/types.h> -template<typename T> inline T ImplMMToTwips(T val); -template<> inline double ImplMMToTwips(double fVal) { return (fVal * (72.0 / 127.0)); } -template<> -inline sal_Int64 ImplMMToTwips(sal_Int64 nVal) { return ((nVal * 72 + 63) / 127); } -template<typename T> inline T ImplTwipsToMM(T val); -template<> inline double ImplTwipsToMM(double fVal) { return (fVal * (127.0 / 72.0)); } #endif // INCLUDED_SVX_SOURCE_SVDRAW_SVDCONV_HXX diff --git a/svx/source/svdraw/svdmodel.cxx b/svx/source/svdraw/svdmodel.cxx index a498df182a9f..6762b07b7f86 100644 --- a/svx/source/svdraw/svdmodel.cxx +++ b/svx/source/svdraw/svdmodel.cxx @@ -2016,12 +2016,6 @@ TextChain *SdrModel::GetTextChain() const return pTextChain; } -void SdrModel::SetNextLinkInTextChain(SdrTextObj *pPrev, SdrTextObj *pNext) -{ - // Delegate to SdrTextObj - pPrev->SetNextLinkInChain(pNext); -} - const SdrPage* SdrModel::GetMasterPage(sal_uInt16 nPgNum) const { DBG_ASSERT(nPgNum < maMaPag.size(), "SdrModel::GetMasterPage: Access out of range (!)"); diff --git a/svx/source/svdraw/svdotext.cxx b/svx/source/svdraw/svdotext.cxx index f8362c7c9b1b..be3953cae14a 100644 --- a/svx/source/svdraw/svdotext.cxx +++ b/svx/source/svdraw/svdotext.cxx @@ -1545,11 +1545,6 @@ bool SdrTextObj::IsToBeChained() const return mbToBeChained; } -void SdrTextObj::SetToBeChained(bool bToBeChained) -{ - mbToBeChained = bToBeChained; -} - TextChain *SdrTextObj::GetTextChain() const { //if (!IsChainable()) diff --git a/svx/source/svdraw/svdtrans.cxx b/svx/source/svdraw/svdtrans.cxx index 66a5fb8d9b1b..46264b3037d7 100644 --- a/svx/source/svdraw/svdtrans.cxx +++ b/svx/source/svdraw/svdtrans.cxx @@ -133,14 +133,6 @@ void MirrorPoint(Point& rPnt, const Point& rRef1, const Point& rRef2) } } -void MirrorPoly(tools::Polygon& rPoly, const Point& rRef1, const Point& rRef2) -{ - sal_uInt16 nCount=rPoly.GetSize(); - for (sal_uInt16 i=0; i<nCount; i++) { - MirrorPoint(rPoly[i],rRef1,rRef2); - } -} - void MirrorXPoly(XPolygon& rPoly, const Point& rRef1, const Point& rRef2) { sal_uInt16 nCount=rPoly.GetPointCount(); diff --git a/svx/source/svdraw/textchainflow.cxx b/svx/source/svdraw/textchainflow.cxx index 2ce012cf775e..7ef3c006afb4 100644 --- a/svx/source/svdraw/textchainflow.cxx +++ b/svx/source/svdraw/textchainflow.cxx @@ -293,13 +293,6 @@ void EditingTextChainFlow::impLeaveOnlyNonOverflowingText(SdrOutliner *pNonOverf //GetLinkTarget()->NbcSetOutlinerParaObject(pNewText); } -void EditingTextChainFlow::impSetTextForEditingOutliner(OutlinerParaObject *pNewText) -{ - if (GetLinkTarget()->pEdtOutl != NULL) { - GetLinkTarget()->pEdtOutl->SetText(*pNewText); - } -} - void EditingTextChainFlow::impSetFlowOutlinerParams(SdrOutliner *pFlowOutl, SdrOutliner *pParamOutl) { // Set right size for overflow |