summaryrefslogtreecommitdiff
path: root/starmath/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-07-20 16:22:00 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-07-21 06:54:12 +0000
commit060e39716dba27ecf585cec33a2de9a865980a42 (patch)
treed271d025fe13212d38af6839dbafbed242e187fc /starmath/inc
parentd69d4f7174ffae502c4aa9cc69786c897662dddc (diff)
loplugin:unusedmethods starmath
Change-Id: I543a914bb7cdfdc498cf8d9f885316fbe3e1543b Reviewed-on: https://gerrit.libreoffice.org/17237 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'starmath/inc')
-rw-r--r--starmath/inc/cursor.hxx3
-rw-r--r--starmath/inc/dialog.hxx2
-rw-r--r--starmath/inc/document.hxx1
-rw-r--r--starmath/inc/edit.hxx4
-rw-r--r--starmath/inc/node.hxx6
-rw-r--r--starmath/inc/parse.hxx2
-rw-r--r--starmath/inc/rect.hxx10
-rw-r--r--starmath/inc/symbol.hxx5
8 files changed, 0 insertions, 33 deletions
diff --git a/starmath/inc/cursor.hxx b/starmath/inc/cursor.hxx
index 188c09843249..07f62a035afd 100644
--- a/starmath/inc/cursor.hxx
+++ b/starmath/inc/cursor.hxx
@@ -98,9 +98,6 @@ public:
pGraph = NULL;
}
- /** Gets the anchor */
- SmCaretPos GetAnchor(){ return anchor->CaretPos; }
-
/** Get position */
SmCaretPos GetPosition() const { return position->CaretPos; }
diff --git a/starmath/inc/dialog.hxx b/starmath/inc/dialog.hxx
index 4a64ca557f4f..a34e5057b353 100644
--- a/starmath/inc/dialog.hxx
+++ b/starmath/inc/dialog.hxx
@@ -161,7 +161,6 @@ class SmFontTypeDialog : public ModalDialog
DECL_LINK(MenuSelectHdl, Menu *);
DECL_LINK(DefaultButtonClickHdl, Button *);
- DECL_LINK(HelpButtonClickHdl, Button *);
public:
SmFontTypeDialog(vcl::Window *pParent, OutputDevice *pFntListDevice);
@@ -371,7 +370,6 @@ class SmSymbolDialog : public ModalDialog
DECL_LINK(GetClickHdl, void*);
void FillSymbolSets(bool bDeleteText = true);
- void SetSymbolSetManager(SmSymbolManager &rMgr);
const SmSym *GetSymbol() const;
virtual void DataChanged( const DataChangedEvent& rDCEvt ) SAL_OVERRIDE;
diff --git a/starmath/inc/document.hxx b/starmath/inc/document.hxx
index 93dbf26797fd..24c10c950a20 100644
--- a/starmath/inc/document.hxx
+++ b/starmath/inc/document.hxx
@@ -127,7 +127,6 @@ class SM_DLLPUBLIC SmDocShell : public SfxObjectShell, public SfxListener
virtual void OnDocumentPrinterChanged( Printer * ) SAL_OVERRIDE;
virtual bool InitNew( const ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage >& xStorage ) SAL_OVERRIDE;
virtual bool Load( SfxMedium& rMedium ) SAL_OVERRIDE;
- void ImplSave( tools::SvRef<SotStorageStream> xStrm );
virtual bool Save() SAL_OVERRIDE;
virtual bool SaveAs( SfxMedium& rMedium ) SAL_OVERRIDE;
virtual bool ConvertTo( SfxMedium &rMedium ) SAL_OVERRIDE;
diff --git a/starmath/inc/edit.hxx b/starmath/inc/edit.hxx
index ca3f95cc22da..75d1d34826d8 100644
--- a/starmath/inc/edit.hxx
+++ b/starmath/inc/edit.hxx
@@ -130,10 +130,6 @@ public:
virtual css::uno::Reference<css::accessibility::XAccessible> CreateAccessible() SAL_OVERRIDE;
using Window::GetAccessible;
- SmEditAccessible* GetAccessible()
- {
- return mxAccessible.get();
- }
};
diff --git a/starmath/inc/node.hxx b/starmath/inc/node.hxx
index 9b0045b5c863..91912bb920ce 100644
--- a/starmath/inc/node.hxx
+++ b/starmath/inc/node.hxx
@@ -228,7 +228,6 @@ protected:
inline void ClaimPaternity();
private:
SmStructureNode* aParentNode;
- void DumpAsDot(std::ostream &out, OUString* label, int number, int& id, int parent) const;
};
@@ -426,7 +425,6 @@ public:
SmPolyLineNode(const SmToken &rNodeToken);
long GetWidth() const { return nWidth; }
- Size GetToSize() const { return aToSize; }
Polygon &GetPolygon() { return aPoly; }
virtual void AdaptToX(const OutputDevice &rDev, sal_uLong nWidth) SAL_OVERRIDE;
@@ -845,10 +843,6 @@ public:
*/
class SmDynIntegralNode : public SmStructureNode
{
-protected:
- void GetHeightVerOffset(const SmRect &rRect,
- long &rHeight, long &rVerOffset) const;
-
public:
SmDynIntegralNode(const SmToken &rNodeToken)
: SmStructureNode(NDYNINT, rNodeToken)
diff --git a/starmath/inc/parse.hxx b/starmath/inc/parse.hxx
index 4c04e80ba8bc..d9ce5a5f7755 100644
--- a/starmath/inc/parse.hxx
+++ b/starmath/inc/parse.hxx
@@ -93,7 +93,6 @@ class SmParser
void DoGlyphSpecial();
// end of grammar
- LanguageType GetLanguage() const { return m_nLang; }
void SetLanguage( LanguageType nNewLang ) { m_nLang = nNewLang; }
void Error(SmParseError Error);
@@ -121,7 +120,6 @@ public:
const SmErrorDesc* PrevError();
const SmErrorDesc* GetError(size_t i);
static const SmTokenTableEntry* GetTokenTableEntry( const OUString &rName );
- bool IsUsedSymbol( const OUString &rSymbolName ) const { return m_aUsedSymbols.find( rSymbolName ) != m_aUsedSymbols.end(); }
std::set< OUString > GetUsedSymbols() const { return m_aUsedSymbols; }
};
diff --git a/starmath/inc/rect.hxx b/starmath/inc/rect.hxx
index 074ae4cb36fc..d590e3e23d7a 100644
--- a/starmath/inc/rect.hxx
+++ b/starmath/inc/rect.hxx
@@ -119,7 +119,6 @@ public:
void SetItalicSpaces(long nLeftSpace, long nRightSpace);
void SetWidth(sal_uLong nWidth) { aSize.Width() = nWidth; }
- void SetHeight(sal_uLong nHeight) { aSize.Height() = nHeight; }
void SetLeft(long nLeft);
void SetRight(long nRight);
@@ -140,8 +139,6 @@ public:
long GetItalicLeftSpace() const { return nItalicLeftSpace; }
long GetItalicRightSpace() const { return nItalicRightSpace; }
- void SetHiAttrFence(long nVal) { nHiAttrFence = nVal; }
- void SetLoAttrFence(long nVal) { nLoAttrFence = nVal; }
long GetHiAttrFence() const { return nHiAttrFence; }
long GetLoAttrFence() const { return nLoAttrFence; }
@@ -154,17 +151,10 @@ public:
inline long GetBaseline() const;
long GetBaselineOffset() const { return GetBaseline() - GetTop(); }
- void SetAlignTop(long nVal) { nAlignT = nVal; }
-
long GetAlignT() const { return nAlignT; }
long GetAlignM() const { return nAlignM; }
long GetAlignB() const { return nAlignB; }
- void SetAlignT(long nVal) { nAlignT = nVal; }
-
- const Point GetCenter() const
- { return Point(GetCenterX(), GetCenterY()); }
-
const Size & GetSize() const { return aSize; }
const Size GetItalicSize() const
diff --git a/starmath/inc/symbol.hxx b/starmath/inc/symbol.hxx
index 1f56595302da..da477ff1aa5b 100644
--- a/starmath/inc/symbol.hxx
+++ b/starmath/inc/symbol.hxx
@@ -86,16 +86,11 @@ public:
sal_UCS4 GetCharacter() const { return m_cChar; }
const OUString& GetName() const { return m_aName; }
- void SetFace( const vcl::Font& rFont ) { m_aFace = rFont; }
- void SetCharacter( sal_UCS4 cChar ) { m_cChar = cChar; }
-
bool IsPredefined() const { return m_bPredefined; }
const OUString& GetSymbolSetName() const { return m_aSetName; }
- void SetSymbolSetName( const OUString &rName ) { m_aSetName = rName; }
const OUString& GetExportName() const { return m_aExportName; }
void SetExportName( const OUString &rName ) { m_aExportName = rName; }
- bool IsDocSymbol() const { return m_bDocSymbol; }
void SetDocSymbol( bool bVal ) { m_bDocSymbol = bVal; }
// true if rSymbol has the same name, font and character