summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-08-24 22:14:27 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-08-25 09:04:26 +0200
commit1b694dad643334ec1bab3f823dcd68f44a05ebe3 (patch)
treec1b6045ae9d5497e2d28642b95b2d88f9cc14d81 /svx
parentde2ac128da025502c533f8cede5862e054dd9c44 (diff)
loplugin:unusedmethods
Change-Id: Iaaf9092ec4d6189492906648b84494d087fed81f Reviewed-on: https://gerrit.libreoffice.org/41539 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx')
-rw-r--r--svx/source/dialog/framelink.cxx5
-rw-r--r--svx/source/dialog/framelinkarray.cxx12
-rw-r--r--svx/source/dialog/searchcharmap.cxx6
-rw-r--r--svx/source/xoutdev/xattrbmp.cxx57
4 files changed, 0 insertions, 80 deletions
diff --git a/svx/source/dialog/framelink.cxx b/svx/source/dialog/framelink.cxx
index fff63888d760..402a7c42ce27 100644
--- a/svx/source/dialog/framelink.cxx
+++ b/svx/source/dialog/framelink.cxx
@@ -206,11 +206,6 @@ Style& Style::MirrorSelf()
return *this;
}
-Style Style::Mirror() const
-{
- return Style( *this ).MirrorSelf();
-}
-
bool operator==( const Style& rL, const Style& rR )
{
return (rL.Prim() == rR.Prim()) && (rL.Dist() == rR.Dist()) && (rL.Secn() == rR.Secn()) &&
diff --git a/svx/source/dialog/framelinkarray.cxx b/svx/source/dialog/framelinkarray.cxx
index 5c87cf33943b..c5d0d9fe2676 100644
--- a/svx/source/dialog/framelinkarray.cxx
+++ b/svx/source/dialog/framelinkarray.cxx
@@ -739,18 +739,6 @@ bool Array::IsMerged( size_t nCol, size_t nRow ) const
return CELL( nCol, nRow ).IsMerged();
}
-bool Array::IsMergedOverlappedLeft( size_t nCol, size_t nRow ) const
-{
- DBG_FRAME_CHECK_COLROW( nCol, nRow, "IsMergedOverlappedLeft" );
- return mxImpl->IsMergedOverlappedLeft( nCol, nRow );
-}
-
-bool Array::IsMergedOverlappedRight( size_t nCol, size_t nRow ) const
-{
- DBG_FRAME_CHECK_COLROW( nCol, nRow, "IsMergedOverlappedRight" );
- return mxImpl->IsMergedOverlappedRight( nCol, nRow );
-}
-
void Array::GetMergedOrigin( size_t& rnFirstCol, size_t& rnFirstRow, size_t nCol, size_t nRow ) const
{
DBG_FRAME_CHECK_COLROW( nCol, nRow, "GetMergedOrigin" );
diff --git a/svx/source/dialog/searchcharmap.cxx b/svx/source/dialog/searchcharmap.cxx
index 10e006333446..0e25f4fceaf3 100644
--- a/svx/source/dialog/searchcharmap.cxx
+++ b/svx/source/dialog/searchcharmap.cxx
@@ -463,10 +463,4 @@ void SvxSearchCharSet::AppendCharToList(sal_UCS4 sChar)
m_aItemList.insert(std::make_pair(nCount++, sChar));
}
-void SvxSearchCharSet::AppendCharList(std::vector<sal_UCS4> sList)
-{
- for (auto& it : sList)
- AppendCharToList(it);
-}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/source/xoutdev/xattrbmp.cxx b/svx/source/xoutdev/xattrbmp.cxx
index f5a4ef086ccd..0c02ff92896a 100644
--- a/svx/source/xoutdev/xattrbmp.cxx
+++ b/svx/source/xoutdev/xattrbmp.cxx
@@ -213,63 +213,6 @@ bool isHistorical8x8(const BitmapEx& rBitmapEx, BitmapColor& o_rBack, BitmapColo
return bRet;
}
-GraphicObject XFillBitmapItem::makeGraphicObject(SvStream& rIn, sal_uInt16 nVer) const
-{
- if (!IsIndex())
- {
- if(0 == nVer)
- {
- // work with the old bitmap
- Bitmap aBmp;
-
- ReadDIB(aBmp, rIn, true);
- return Graphic(aBmp);
- }
- else if(1 == nVer)
- {
- sal_Int16 iTmp;
-
- rIn.ReadInt16( iTmp ); // former XBitmapStyle
- rIn.ReadInt16( iTmp ); // XBitmapType
-
- if(XBitmapType::Import == (XBitmapType)iTmp)
- {
- Bitmap aBmp;
-
- ReadDIB(aBmp, rIn, true);
- return Graphic(aBmp);
- }
- else if(XBitmapType::N8x8 == (XBitmapType)iTmp)
- {
- sal_uInt16 aArray[64];
-
- for(sal_uInt16 & i : aArray)
- {
- rIn.ReadUInt16( i );
- }
-
- Color aColorPix;
- Color aColorBack;
-
- ReadColor( rIn, aColorPix );
- ReadColor( rIn, aColorBack );
-
- const Bitmap aBitmap(createHistorical8x8FromArray(aArray, aColorPix, aColorBack));
-
- return Graphic(aBitmap);
- }
- }
- else if(2 == nVer)
- {
- BitmapEx aBmpEx;
-
- ReadDIBBitmapEx(aBmpEx, rIn);
- return Graphic(aBmpEx);
- }
- }
- return GraphicObject();
-}
-
XFillBitmapItem::XFillBitmapItem(const GraphicObject& rGraphicObject)
: NameOrIndex(XATTR_FILLBITMAP, -1)
, maGraphicObject(rGraphicObject)