summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-01-24 09:29:27 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-01-24 11:01:34 +0100
commit4085f6ca9b345c362bb286e6fb1b17b2fcf2bc4c (patch)
tree89eddf9ce2487d00696639337bc02631b7d9dac1 /starmath
parentfddd956c0cf3b2c22a152bbb30554def1336b466 (diff)
loplugin:constparams in sd..svtools
Change-Id: I50b864ffc4ed13ba801af46815988bf568b83d2e Reviewed-on: https://gerrit.libreoffice.org/66832 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'starmath')
-rw-r--r--starmath/inc/dialog.hxx2
-rw-r--r--starmath/source/dialog.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/starmath/inc/dialog.hxx b/starmath/inc/dialog.hxx
index 63426947f059..6c1ccfb0cb80 100644
--- a/starmath/inc/dialog.hxx
+++ b/starmath/inc/dialog.hxx
@@ -272,7 +272,7 @@ public:
pDrawingArea->get_text_height() * 9);
}
- void calccols(vcl::RenderContext& rRenderContext);
+ void calccols(const vcl::RenderContext& rRenderContext);
void SelectSymbol(sal_uInt16 nSymbol);
sal_uInt16 GetSelectSymbol() const { return nSelectSymbol; }
void SetSymbolSet(const SymbolPtrVec_t& rSymbolSet);
diff --git a/starmath/source/dialog.cxx b/starmath/source/dialog.cxx
index 528983c89e43..973bfc716e28 100644
--- a/starmath/source/dialog.cxx
+++ b/starmath/source/dialog.cxx
@@ -1065,7 +1065,7 @@ bool SmShowSymbolSet::KeyInput(const KeyEvent& rKEvt)
return true;
}
-void SmShowSymbolSet::calccols(vcl::RenderContext& rRenderContext)
+void SmShowSymbolSet::calccols(const vcl::RenderContext& rRenderContext)
{
// Height of 16pt in pixels (matching 'aOutputSize')
nLen = rRenderContext.LogicToPixel(Size(0, 16), MapMode(MapUnit::MapPoint)).Height();