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>
This commit is contained in:
committed by
Noel Grandin
parent
d69d4f7174
commit
060e39716d
@@ -98,9 +98,6 @@ public:
|
||||
pGraph = NULL;
|
||||
}
|
||||
|
||||
/** Gets the anchor */
|
||||
SmCaretPos GetAnchor(){ return anchor->CaretPos; }
|
||||
|
||||
/** Get position */
|
||||
SmCaretPos GetPosition() const { return position->CaretPos; }
|
||||
|
||||
|
@@ -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;
|
||||
|
@@ -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;
|
||||
|
@@ -130,10 +130,6 @@ public:
|
||||
virtual css::uno::Reference<css::accessibility::XAccessible> CreateAccessible() SAL_OVERRIDE;
|
||||
|
||||
using Window::GetAccessible;
|
||||
SmEditAccessible* GetAccessible()
|
||||
{
|
||||
return mxAccessible.get();
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
|
@@ -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)
|
||||
|
@@ -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; }
|
||||
};
|
||||
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -83,7 +83,6 @@ public:
|
||||
explicit SmGraphicAccessible( SmGraphicWindow *pGraphicWin );
|
||||
virtual ~SmGraphicAccessible();
|
||||
|
||||
SmGraphicWindow * GetWin() { return pWin; }
|
||||
void ClearWin(); // to be called when view is destroyed
|
||||
void LaunchEvent(
|
||||
const sal_Int16 nAccesibleEventId,
|
||||
@@ -328,7 +327,6 @@ public:
|
||||
::accessibility::AccessibleTextHelper * GetTextHelper() { return pTextHelper; }
|
||||
|
||||
void Init();
|
||||
SmEditWindow * GetWin() { return pWin; }
|
||||
void ClearWin(); // to be called when view is destroyed
|
||||
|
||||
//! access EditEngine and EditView via the functions in the respective window
|
||||
|
@@ -132,7 +132,6 @@ protected:
|
||||
void SetFormatModified( bool bVal );
|
||||
inline bool IsFormatModified() const { return bIsFormatModified; }
|
||||
void SetFontFormatListModified( bool bVal );
|
||||
inline bool IsFontFormatListModified() const { return pFontFormatList && pFontFormatList->IsModified(); }
|
||||
|
||||
SmFontFormatList & GetFontFormatList();
|
||||
const SmFontFormatList & GetFontFormatList() const
|
||||
|
@@ -88,7 +88,6 @@ protected:
|
||||
bool bNoMrowContainer = false);
|
||||
void ExportText(const SmNode *pNode, int nLevel);
|
||||
void ExportMath(const SmNode *pNode, int nLevel);
|
||||
void ExportPolygon(const SmNode *pNode, int nLevel);
|
||||
void ExportBinaryHorizontal(const SmNode *pNode, int nLevel);
|
||||
void ExportUnaryHorizontal(const SmNode *pNode, int nLevel);
|
||||
void ExportBrace(const SmNode *pNode, int nLevel);
|
||||
|
@@ -105,10 +105,6 @@ public:
|
||||
const OUString &rLocalName,
|
||||
const com::sun::star::uno::Reference <
|
||||
com::sun::star::xml::sax::XAttributeList> &xAttrList) SAL_OVERRIDE;
|
||||
SvXMLImportContext *CreateMathContext(sal_uInt16 nPrefix,
|
||||
const OUString &rLocalName,
|
||||
const com::sun::star::uno::Reference <
|
||||
com::sun::star::xml::sax::XAttributeList> &xAttrList);
|
||||
SvXMLImportContext *CreateRowContext(sal_uInt16 nPrefix,
|
||||
const OUString &rLocalName,
|
||||
const com::sun::star::uno::Reference <
|
||||
|
@@ -145,8 +145,6 @@ private:
|
||||
static int xfAUTO(sal_uInt8 nTest) {return nTest&0x10;}
|
||||
static int xfEMBELL(sal_uInt8 nTest) {return nTest&0x20;}
|
||||
static int xfNULL(sal_uInt8 nTest) {return nTest&0x10;}
|
||||
static int xfLSPACE(sal_uInt8 nTest) {return nTest&0x40;}
|
||||
static int xfRULER(sal_uInt8 nTest) {return nTest&0x20;}
|
||||
|
||||
void HandleNodes(SmNode *pNode,int nLevel=0);
|
||||
int StartTemplate(sal_uInt16 nSelector,sal_uInt16 nVariation=0);
|
||||
|
Reference in New Issue
Block a user