summaryrefslogtreecommitdiff
path: root/include/editeng/editview.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-09-02 15:06:23 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-09-02 20:40:04 +0200
commit8cbafb908d5150aec9d4047ea06c5c5bc1854e8d (patch)
tree78c438ca71326937a3a8374ff74f0959e89af6c9 /include/editeng/editview.hxx
parente015ce45c299bec5d4a571e127ca7422caea523b (diff)
loplugin:constmethod in editeng
Change-Id: I07e22d880940ea6df928565942dac268f4b94fea Reviewed-on: https://gerrit.libreoffice.org/78399 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/editeng/editview.hxx')
-rw-r--r--include/editeng/editview.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/editeng/editview.hxx b/include/editeng/editview.hxx
index a47da81cb8a4..6fb972182357 100644
--- a/include/editeng/editview.hxx
+++ b/include/editeng/editview.hxx
@@ -177,7 +177,7 @@ public:
bool IsInsertMode() const;
void SetInsertMode( bool bInsert );
- OUString GetSelected();
+ OUString GetSelected() const;
void DeleteSelected();
SvtScriptType GetSelectedScriptType() const;
@@ -244,7 +244,7 @@ public:
void InsertText( const EditTextObject& rTextObject );
void InsertText( css::uno::Reference< css::datatransfer::XTransferable > const & xDataObj, const OUString& rBaseURL, bool bUseSpecial );
- css::uno::Reference< css::datatransfer::XTransferable > GetTransferable();
+ css::uno::Reference< css::datatransfer::XTransferable > GetTransferable() const;
// An EditView, so that when TRUE the update will be free from flickering:
void SetEditEngineUpdateMode( bool bUpdate );
@@ -278,7 +278,7 @@ public:
const SvxFieldItem* GetFieldAtSelection() const;
/// Select and return the field at the current cursor position
- const SvxFieldData* GetFieldAtCursor();
+ const SvxFieldData* GetFieldAtCursor() const;
void SelectFieldAtCursor();
void SetInvalidateMore( sal_uInt16 nPixel );