summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-06-30 08:13:11 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-07-02 08:48:10 +0200
commitf54143088a867c59be144f1d4d7cd6d9fe1c18f5 (patch)
treee9bc8ff4e94f8fe95e62ed6f0ede84371f449f9d /include
parentpass OutlinerParaObject around by std::unique_ptr (diff)
downloadcore-f54143088a867c59be144f1d4d7cd6d9fe1c18f5.tar.gz
core-f54143088a867c59be144f1d4d7cd6d9fe1c18f5.zip
loplugin:unusedmethods
Change-Id: I92665f577bfe39497905063da517a05b8008c3cc Reviewed-on: https://gerrit.libreoffice.org/56743 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r--include/svx/colorbox.hxx15
-rw-r--r--include/svx/colorwindow.hxx2
-rw-r--r--include/svx/fntctrl.hxx5
-rw-r--r--include/svx/frmdirlbox.hxx2
-rw-r--r--include/svx/pagectrl.hxx16
-rw-r--r--include/svx/pagenumberlistbox.hxx1
-rw-r--r--include/svx/paraprev.hxx44
-rw-r--r--include/svx/relfld.hxx3
-rw-r--r--include/svx/scene3d.hxx3
-rw-r--r--include/vcl/field.hxx2
10 files changed, 0 insertions, 93 deletions
diff --git a/include/svx/colorbox.hxx b/include/svx/colorbox.hxx
index 6915f851e0a5..b257bc833ce9 100644
--- a/include/svx/colorbox.hxx
+++ b/include/svx/colorbox.hxx
@@ -85,7 +85,6 @@ class ListBoxColorWrapper
public:
ListBoxColorWrapper(ColorListBox* pControl);
void operator()(const OUString& rCommand, const NamedColor& rColor);
- void dispose();
private:
ColorListBox* mpControl;
};
@@ -113,28 +112,14 @@ public:
ColorListBox(weld::MenuButton* pControl, weld::Window* pWindow);
~ColorListBox();
- void SetSelectHdl(const Link<ColorListBox&, void>& rLink)
- {
- m_aSelectedLink = rLink;
- }
-
- void SetSlotId(sal_uInt16 nSlotId, bool bShowNoneButton = false);
-
Color const & GetSelectEntryColor() const { return m_aSelectedColor.first; }
- NamedColor const & GetSelectedEntry() const { return m_aSelectedColor; }
- void SelectEntry(const NamedColor& rColor);
void SelectEntry(const Color& rColor);
void SetNoSelection() { getColorWindow()->SetNoSelection(); }
- bool IsNoSelection() const { return getColorWindow()->IsNoSelection(); }
- void SetAutoDisplayColor(const Color &rColor) { m_aAutoDisplayColor = rColor; }
void ShowPreview(const NamedColor &rColor);
void EnsurePaletteManager();
-
- void SaveValue() { m_aSaveColor = GetSelectEntryColor(); }
- bool IsValueChangedFromSaved() const { return m_aSaveColor != GetSelectEntryColor(); }
};
/** A wrapper for SvxColorListBox. */
diff --git a/include/svx/colorwindow.hxx b/include/svx/colorwindow.hxx
index 118c69217aa8..57db20691369 100644
--- a/include/svx/colorwindow.hxx
+++ b/include/svx/colorwindow.hxx
@@ -154,7 +154,6 @@ public:
weld::Container* GetWidget() { return mxTopLevel.get(); }
virtual ~ColorWindow() override;
void ShowNoneButton();
- void StartSelection();
void SetNoSelection();
bool IsNoSelection() const;
void SelectEntry(const NamedColor& rColor);
@@ -163,7 +162,6 @@ public:
virtual void statusChanged( const css::frame::FeatureStateEvent& rEvent ) override;
- void SetSelectedHdl( const Link<const NamedColor&, void>& rLink ) { maSelectedLink = rLink; }
};
#endif
diff --git a/include/svx/fntctrl.hxx b/include/svx/fntctrl.hxx
index e3c6b47276f5..0cdfe25a9216 100644
--- a/include/svx/fntctrl.hxx
+++ b/include/svx/fntctrl.hxx
@@ -125,11 +125,6 @@ public:
void SetPreviewText( const OUString& rString );
void SetFontNameAsPreviewText();
- static void SetFont( const SfxItemSet& rSet, sal_uInt16 nSlot, SvxFont& rFont );
- static void SetFontStyle( const SfxItemSet& rSet, sal_uInt16 nSlotPosture, sal_uInt16 nSlotWeight, SvxFont& rFont ); // posture/weight
- void SetFontWidthScale( const SfxItemSet& rSet );
- void SetFontEscapement( sal_uInt8 nProp, sal_uInt8 nEscProp, short nEsc );
-
void SetFromItemSet( const SfxItemSet &rSet,
bool bPreviewBackgroundToCharacter );
};
diff --git a/include/svx/frmdirlbox.hxx b/include/svx/frmdirlbox.hxx
index 148ae7010d71..600a3240863e 100644
--- a/include/svx/frmdirlbox.hxx
+++ b/include/svx/frmdirlbox.hxx
@@ -45,8 +45,6 @@ public:
void InsertEntryValue(
const OUString& rString,
SvxFrameDirection eDirection );
- /** Removes the entry, that represents the specified frame direction. */
- void RemoveEntryValue( SvxFrameDirection eDirection );
/** Selects the specified frame direction. */
void SelectEntryValue( SvxFrameDirection eDirection );
diff --git a/include/svx/pagectrl.hxx b/include/svx/pagectrl.hxx
index 8f1dc24192e8..4bd401049762 100644
--- a/include/svx/pagectrl.hxx
+++ b/include/svx/pagectrl.hxx
@@ -121,8 +121,6 @@ public:
void SetHdDist(long nNew) { nHdDist = nNew; }
void SetHdHeight(long nNew) { nHdHeight = nNew; }
- long GetHdLeft() const { return nHdLeft; }
- long GetHdRight() const { return nHdRight; }
long GetHdDist() const { return nHdDist; }
long GetHdHeight() const { return nHdHeight; }
@@ -131,8 +129,6 @@ public:
void SetFtDist(long nNew) { nFtDist = nNew; }
void SetFtHeight(long nNew) { nFtHeight = nNew; }
- long GetFtLeft() const { return nFtLeft; }
- long GetFtRight() const { return nFtRight; }
long GetFtDist() const { return nFtDist; }
long GetFtHeight() const { return nFtHeight; }
@@ -141,14 +137,6 @@ public:
void SetHeader( bool bNew ) { bHeader = bNew; }
void SetFooter( bool bNew ) { bFooter = bNew; }
- void SetTable( bool bNew ) { bTable = bNew; }
- void SetHorz( bool bNew ) { bHorz = bNew; }
- void SetVert( bool bNew ) { bVert = bNew; }
-
- void EnableFrameDirection(bool bEnable);
- void SetFrameDirection(SvxFrameDirection nDirection);
-
- void ResetBackground();
virtual Size GetOptimalSize() const override;
};
@@ -217,10 +205,6 @@ public:
{
maPageFillAttributes = rFillAttributes;
}
- const drawinglayer::attribute::SdrAllFillAttributesHelperPtr& getPageFillAttributes() const
- {
- return maPageFillAttributes;
- }
void SetSize(const Size& rSize)
{
aSize = rSize;
diff --git a/include/svx/pagenumberlistbox.hxx b/include/svx/pagenumberlistbox.hxx
index 221ac9b57458..4d15369b0545 100644
--- a/include/svx/pagenumberlistbox.hxx
+++ b/include/svx/pagenumberlistbox.hxx
@@ -40,7 +40,6 @@ private:
std::unique_ptr<weld::ComboBoxText> m_xControl;
public:
SvxPageNumberListBox(weld::ComboBoxText* pControl);
- void SetSelection( sal_uInt16 );
int get_count() const { return m_xControl->get_count(); }
OUString get_id(int pos) const { return m_xControl->get_id(pos); }
int get_active() const { return m_xControl->get_active(); }
diff --git a/include/svx/paraprev.hxx b/include/svx/paraprev.hxx
index 59c07e5eacfd..dbac8a6b82b4 100644
--- a/include/svx/paraprev.hxx
+++ b/include/svx/paraprev.hxx
@@ -66,46 +66,10 @@ class SVX_DLLPUBLIC SvxParaPrevWindow final : public vcl::Window
public:
SvxParaPrevWindow( vcl::Window* pParent, WinBits nBits);
- void SetFirstLineOfst( short nNew )
- {
- nFirstLineOfst = nNew;
- }
- void SetLeftMargin( long nNew )
- {
- nLeftMargin = nNew;
- }
- void SetRightMargin( long nNew )
- {
- nRightMargin = nNew;
- }
- void SetUpper( sal_uInt16 nNew )
- {
- nUpper = nNew;
- }
- void SetLower( sal_uInt16 nNew )
- {
- nLower = nNew;
- }
- void SetAdjust( SvxAdjust eNew )
- {
- eAdjust = eNew;
- }
- void SetLastLine( SvxAdjust eNew )
- {
- eLastLine = eNew;
- }
- void SetLineSpace( SvxPrevLineSpace eNew )
- {
- eLine = eNew;
- }
void SetText( const OUString& rStr ) override
{
aText = rStr;
}
- void SetSize( Size aNew )
- {
- aSize = aNew;
- }
OUString GetText() const override
{
return aText;
@@ -172,18 +136,10 @@ public:
{
eLine = eNew;
}
- void SetText( const OUString& rStr )
- {
- aText = rStr;
- }
void SetSize( Size aNew )
{
aSize = aNew;
}
- OUString GetText() const
- {
- return aText;
- }
};
diff --git a/include/svx/relfld.hxx b/include/svx/relfld.hxx
index f5206a534c74..715f7e2c5287 100644
--- a/include/svx/relfld.hxx
+++ b/include/svx/relfld.hxx
@@ -40,10 +40,7 @@ protected:
public:
SvxRelativeField(vcl::Window* pParent, WinBits nBits, FieldUnit eUnit);
- void EnableRelativeMode( sal_uInt16 nMin, sal_uInt16 nMax );
void SetRelative( bool bRelative );
- bool IsRelative() const { return bRelative; }
- void EnableNegativeMode() {bNegativeEnabled = true;}
};
class SVX_DLLPUBLIC RelativeField
diff --git a/include/svx/scene3d.hxx b/include/svx/scene3d.hxx
index 13286caa6210..bc65f352f741 100644
--- a/include/svx/scene3d.hxx
+++ b/include/svx/scene3d.hxx
@@ -99,9 +99,6 @@ public:
virtual void SetBoundRectDirty() override;
- // access to cleanup of depth mapper
- void Cleanup3DDepthMapper() { ImpCleanup3DDepthMapper(); }
-
virtual basegfx::B2DPolyPolygon TakeXorPoly() const override;
sal_uInt32 RemapOrdNum(sal_uInt32 nOrdNum) const;
diff --git a/include/vcl/field.hxx b/include/vcl/field.hxx
index 8f4bf5b07219..4b79e4ad8ea9 100644
--- a/include/vcl/field.hxx
+++ b/include/vcl/field.hxx
@@ -493,11 +493,9 @@ public:
void SetFirst( sal_Int64 nNewFirst, FieldUnit eInUnit );
void SetFirst(sal_Int64 first) { SetFirst(first, FUNIT_NONE); }
sal_Int64 GetFirst( FieldUnit eOutUnit ) const;
- sal_Int64 GetFirst() const { return GetFirst(FUNIT_NONE); }
void SetLast( sal_Int64 nNewLast, FieldUnit eInUnit );
void SetLast(sal_Int64 last) { SetLast(last, FUNIT_NONE); }
sal_Int64 GetLast( FieldUnit eOutUnit ) const;
- sal_Int64 GetLast() const { return GetLast(FUNIT_NONE); }
static void SetDefaultUnit( FieldUnit eDefaultUnit );
static FieldUnit GetDefaultUnit();