summaryrefslogtreecommitdiff
path: root/include/sfx2/tabdlg.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-08-27 13:51:50 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-08-27 15:57:17 +0200
commitdf905f41a33d0d7d2cde7fad80c5b3dc3c837c10 (patch)
tree374d73a95196ada089e34dafea9d69746a520a28 /include/sfx2/tabdlg.hxx
parentad4c7b97752b4da73808402604d6f96b39d920f5 (diff)
loplugin:constmethod in sfx2
Change-Id: Ic129a8e136dc3f3b0a36fdb83e7aa71027ada59a Reviewed-on: https://gerrit.libreoffice.org/78190 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/sfx2/tabdlg.hxx')
-rw-r--r--include/sfx2/tabdlg.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sfx2/tabdlg.hxx b/include/sfx2/tabdlg.hxx
index d98af8b09090..791887059189 100644
--- a/include/sfx2/tabdlg.hxx
+++ b/include/sfx2/tabdlg.hxx
@@ -212,7 +212,7 @@ public:
virtual DeactivateRC DeactivatePage( SfxItemSet* pSet );
void SetUserData(const OUString& rString)
{ aUserString = rString; }
- const OUString& GetUserData() { return aUserString; }
+ const OUString& GetUserData() const { return aUserString; }
virtual void FillUserData();
virtual bool IsReadOnly() const;
virtual void PageCreated (const SfxAllItemSet& aSet);
@@ -224,7 +224,7 @@ public:
}
void SetFrame(const css::uno::Reference< css::frame::XFrame >& xFrame);
- css::uno::Reference< css::frame::XFrame > GetFrame();
+ css::uno::Reference< css::frame::XFrame > GetFrame() const;
const SfxItemSet* GetDialogExampleSet() const;