summaryrefslogtreecommitdiff
path: root/svx/source/dialog/rubydialog.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/dialog/rubydialog.cxx')
-rw-r--r--svx/source/dialog/rubydialog.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/dialog/rubydialog.cxx b/svx/source/dialog/rubydialog.cxx
index 3335316bfa21..c52cdfbbc5a2 100644
--- a/svx/source/dialog/rubydialog.cxx
+++ b/svx/source/dialog/rubydialog.cxx
@@ -99,7 +99,7 @@ public:
virtual ~SvxRubyData_Impl();
void SetController(const Reference<XController>& xCtrl);
- Reference<XModel> GetModel()
+ Reference<XModel> const & GetModel()
{
if (!xController.is())
xModel = nullptr;
@@ -111,7 +111,7 @@ public:
{
return bHasSelectionChanged;
}
- Reference<XRubySelection> GetRubySelection()
+ Reference<XRubySelection> const & GetRubySelection()
{
xSelection.set(xController, UNO_QUERY);
return xSelection;