summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-10-02 16:25:41 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-10-03 08:28:10 +0200
commitdbeb289888e70038e9fc3c52728f7fe03f1935cb (patch)
tree972db2d8d460c483934c64084a47a1501953c875 /svx
parentc3b7f134b94bf2f0830b16b42bd72d235de377fb (diff)
loplugin:unusedmethods
Change-Id: I7db0c27ff2213210ed4b46ebbadc1a2f74a18257 Reviewed-on: https://gerrit.libreoffice.org/61249 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx')
-rw-r--r--svx/inc/pch/precompiled_svx.hxx1
-rw-r--r--svx/source/dialog/dlgctrl.cxx60
-rw-r--r--svx/source/dialog/fontlb.cxx11
3 files changed, 0 insertions, 72 deletions
diff --git a/svx/inc/pch/precompiled_svx.hxx b/svx/inc/pch/precompiled_svx.hxx
index ec723151fdcc..12b008ad7961 100644
--- a/svx/inc/pch/precompiled_svx.hxx
+++ b/svx/inc/pch/precompiled_svx.hxx
@@ -354,7 +354,6 @@
#include <sfx2/dispatch.hxx>
#include <sfx2/dllapi.h>
#include <sfx2/dockwin.hxx>
-#include <sfx2/itemconnect.hxx>
#include <sfx2/module.hxx>
#include <sfx2/objsh.hxx>
#include <sfx2/request.hxx>
diff --git a/svx/source/dialog/dlgctrl.cxx b/svx/source/dialog/dlgctrl.cxx
index 5cdff4da8a07..37c647280206 100644
--- a/svx/source/dialog/dlgctrl.cxx
+++ b/svx/source/dialog/dlgctrl.cxx
@@ -907,30 +907,6 @@ void SvxPixelCtl::Reset()
Invalidate();
}
-// Fills the listbox (provisional) with strings
-
-HatchingLB::HatchingLB( vcl::Window* pParent, WinBits nWinStyle)
-: ListBox( pParent, nWinStyle )
-{
- SetEdgeBlending(true);
-}
-
-// Fills the listbox (provisional) with strings
-
-GradientLB::GradientLB( vcl::Window* pParent, WinBits aWB)
-: ListBox( pParent, aWB )
-{
- SetEdgeBlending(true);
-}
-
-// BitmapLB Constructor
-
-BitmapLB::BitmapLB( vcl::Window* pParent, WinBits aWB)
-: ListBox( pParent, aWB )
-{
- SetEdgeBlending(true);
-}
-
void FillTypeLB::Fill()
{
SetUpdateMode( false );
@@ -953,14 +929,6 @@ LineLB::LineLB(vcl::Window* pParent, WinBits aWB)
// No EdgeBlending for LineStyle/Dash SetEdgeBlending(true);
}
-void LineLB::setAddStandardFields(bool bNew)
-{
- if(getAddStandardFields() != bNew)
- {
- mbAddStandardFields = bNew;
- }
-}
-
// Fills the listbox (provisional) with strings
void LineLB::Fill( const XDashListRef &pList )
@@ -1001,34 +969,6 @@ void LineLB::Fill( const XDashListRef &pList )
SetUpdateMode( true );
}
-void LineLB::Append( const XDashEntry& rEntry, const BitmapEx& rBitmap )
-{
- if(!rBitmap.IsEmpty())
- {
- InsertEntry(rEntry.GetName(), Image(rBitmap));
- }
- else
- {
- InsertEntry( rEntry.GetName() );
- }
-
- AdaptDropDownLineCountToMaximum();
-}
-
-void LineLB::Modify( const XDashEntry& rEntry, sal_Int32 nPos, const BitmapEx& rBitmap )
-{
- RemoveEntry( nPos );
-
- if(!rBitmap.IsEmpty())
- {
- InsertEntry( rEntry.GetName(), Image(rBitmap), nPos );
- }
- else
- {
- InsertEntry( rEntry.GetName(), nPos );
- }
-}
-
SvxLineLB::SvxLineLB(std::unique_ptr<weld::ComboBox> pControl)
: m_xControl(std::move(pControl))
, mbAddStandardFields(true)
diff --git a/svx/source/dialog/fontlb.cxx b/svx/source/dialog/fontlb.cxx
index 497e2f70f5f4..3aacda90bec2 100644
--- a/svx/source/dialog/fontlb.cxx
+++ b/svx/source/dialog/fontlb.cxx
@@ -31,17 +31,6 @@ SvLBoxFontString::SvLBoxFontString()
{
}
-SvLBoxFontString::SvLBoxFontString( const OUString& rString,
- const vcl::Font& rFont, const Color* pColor ) :
- SvLBoxString( rString ),
- maFont( rFont ),
- mbUseColor( pColor != nullptr )
-{
- SetText(rString);
- if(pColor)
- maFont.SetColor(*pColor);
-}
-
SvLBoxFontString::~SvLBoxFontString()
{
}