summaryrefslogtreecommitdiff
path: root/writerfilter/source/dmapper
diff options
context:
space:
mode:
authorNoel <noelgrandin@gmail.com>2020-10-06 15:32:30 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-10-06 18:37:47 +0200
commit1f8fbff65d91f1d8297b94dd67fffceb7475dce5 (patch)
tree35ecc29ca2734db28e69cfb22c54e0e2d0ad3580 /writerfilter/source/dmapper
parent4bc31abb56f806ee399344160ce0d7c27af48f5e (diff)
loplugin:const* make some params and methods const
Change-Id: I97c5bbb929a2a4a029af4e6cb0fd571bbc2b698b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104030 Tested-by: Noel Grandin <noel.grandin@collabora.co.uk> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'writerfilter/source/dmapper')
-rw-r--r--writerfilter/source/dmapper/GraphicImport.cxx2
-rw-r--r--writerfilter/source/dmapper/GraphicImport.hxx2
-rw-r--r--writerfilter/source/dmapper/TableData.hxx6
3 files changed, 5 insertions, 5 deletions
diff --git a/writerfilter/source/dmapper/GraphicImport.cxx b/writerfilter/source/dmapper/GraphicImport.cxx
index 9853bb48bb1e..ac62a161fe2a 100644
--- a/writerfilter/source/dmapper/GraphicImport.cxx
+++ b/writerfilter/source/dmapper/GraphicImport.cxx
@@ -449,7 +449,7 @@ GraphicImport::~GraphicImport()
{
}
-com::sun::star::awt::Point GraphicImport::GetGraphicObjectPosition()
+com::sun::star::awt::Point GraphicImport::GetGraphicObjectPosition() const
{
return (com::sun::star::awt::Point(m_pImpl->nLeftPosition, m_pImpl->nTopPosition));
}
diff --git a/writerfilter/source/dmapper/GraphicImport.hxx b/writerfilter/source/dmapper/GraphicImport.hxx
index 2f5f6ed970b8..9ea3984db23b 100644
--- a/writerfilter/source/dmapper/GraphicImport.hxx
+++ b/writerfilter/source/dmapper/GraphicImport.hxx
@@ -98,7 +98,7 @@ public:
bool IsGraphic() const;
sal_Int32 GetLeftMarginOrig() const;
- com::sun::star::awt::Point GetGraphicObjectPosition();
+ com::sun::star::awt::Point GetGraphicObjectPosition() const;
private:
// Properties
diff --git a/writerfilter/source/dmapper/TableData.hxx b/writerfilter/source/dmapper/TableData.hxx
index a7b68dfd8130..78ddf86ec049 100644
--- a/writerfilter/source/dmapper/TableData.hxx
+++ b/writerfilter/source/dmapper/TableData.hxx
@@ -99,7 +99,7 @@ public:
bool isOpen() const { return mbOpen; }
- sal_uInt32 getGridSpan() { return m_nGridSpan; }
+ sal_uInt32 getGridSpan() const { return m_nGridSpan; }
void setGridSpan( sal_uInt32 nSpan ) { m_nGridSpan = nSpan; }
};
@@ -241,9 +241,9 @@ public:
return mpProperties;
}
- sal_uInt32 getGridBefore() { return m_nGridBefore; }
+ sal_uInt32 getGridBefore() const { return m_nGridBefore; }
void setGridBefore(sal_uInt32 nSkipGrids) { m_nGridBefore = nSkipGrids; }
- sal_uInt32 getGridAfter() { return m_nGridAfter; }
+ sal_uInt32 getGridAfter() const { return m_nGridAfter; }
void setGridAfter(sal_uInt32 nSkipGrids) { m_nGridAfter = nSkipGrids; }
sal_uInt32 getGridSpan(sal_uInt32 i) { return mCells[i]->getGridSpan(); }
std::vector< sal_uInt32 > getGridSpans()