diff options
Diffstat (limited to 'starmath/inc')
-rw-r--r-- | starmath/inc/cursor.hxx | 2 | ||||
-rw-r--r-- | starmath/inc/document.hxx | 2 | ||||
-rw-r--r-- | starmath/inc/node.hxx | 4 | ||||
-rw-r--r-- | starmath/inc/view.hxx | 4 | ||||
-rw-r--r-- | starmath/inc/visitors.hxx | 2 |
5 files changed, 7 insertions, 7 deletions
diff --git a/starmath/inc/cursor.hxx b/starmath/inc/cursor.hxx index 72de1a1cbadb..476f021670e0 100644 --- a/starmath/inc/cursor.hxx +++ b/starmath/inc/cursor.hxx @@ -208,7 +208,7 @@ private: * * These are SmExpression, SmBinHorNode, SmUnHorNode etc. */ - static bool IsLineCompositionNode(SmNode* pNode); + static bool IsLineCompositionNode(SmNode const * pNode); /** Count number of selected nodes, excluding line composition nodes * diff --git a/starmath/inc/document.hxx b/starmath/inc/document.hxx index e18c674f2a69..04cb436b9d0e 100644 --- a/starmath/inc/document.hxx +++ b/starmath/inc/document.hxx @@ -172,7 +172,7 @@ public: void UpdateText(); void SetText(const OUString& rBuffer); const OUString& GetText() { return maText; } - void SetFormat(SmFormat& rFormat); + void SetFormat(SmFormat const & rFormat); const SmFormat& GetFormat() { return maFormat; } void Parse(); diff --git a/starmath/inc/node.hxx b/starmath/inc/node.hxx index b7a7efe371f4..0abc3736111a 100644 --- a/starmath/inc/node.hxx +++ b/starmath/inc/node.hxx @@ -202,7 +202,7 @@ public: } /** Set the token for this node */ - void SetToken(SmToken& token){ + void SetToken(SmToken const & token){ maNodeToken = token; } @@ -249,7 +249,7 @@ public: * * Returns -1, if pSubNode isn't a subnode of this. */ - int IndexOfSubNode(SmNode* pSubNode) + int IndexOfSubNode(SmNode const * pSubNode) { sal_uInt16 nSize = GetNumSubNodes(); for(sal_uInt16 i = 0; i < nSize; i++) diff --git a/starmath/inc/view.hxx b/starmath/inc/view.hxx index e06f85cde4c8..9667d09e30ef 100644 --- a/starmath/inc/view.hxx +++ b/starmath/inc/view.hxx @@ -236,9 +236,9 @@ class SmViewShell: public SfxViewShell bool mbInsertIntoEditWindow; protected: - static Size GetTextLineSize(OutputDevice& rDevice, + static Size GetTextLineSize(OutputDevice const & rDevice, const OUString& rLine); - static Size GetTextSize(OutputDevice& rDevice, + static Size GetTextSize(OutputDevice const & rDevice, const OUString& rText, long MaxWidth); static void DrawTextLine(OutputDevice& rDevice, diff --git a/starmath/inc/visitors.hxx b/starmath/inc/visitors.hxx index 63271613f10f..6f3b17e733c6 100644 --- a/starmath/inc/visitors.hxx +++ b/starmath/inc/visitors.hxx @@ -372,7 +372,7 @@ private: /** Clone children of pSource and give them to pTarget */ void CloneKids( SmStructureNode* pSource, SmStructureNode* pTarget ); /** Clone attributes on a pNode */ - static void CloneNodeAttr( SmNode* pSource, SmNode* pTarget ); + static void CloneNodeAttr( SmNode const * pSource, SmNode* pTarget ); }; |