diff options
Diffstat (limited to 'svtools/source/contnr')
-rw-r--r-- | svtools/source/contnr/fileview.cxx | 2 | ||||
-rw-r--r-- | svtools/source/contnr/viewdataentry.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/svtools/source/contnr/fileview.cxx b/svtools/source/contnr/fileview.cxx index 666c2a0044c4..90a604c463e1 100644 --- a/svtools/source/contnr/fileview.cxx +++ b/svtools/source/contnr/fileview.cxx @@ -200,7 +200,7 @@ public: void EnableAutoResize() { mbAutoResize = true; } void EnableDelete( bool bEnable ) { mbEnableDelete = bEnable; } - Reference< XCommandEnvironment > GetCommandEnvironment() const { return mxCmdEnv; } + const Reference< XCommandEnvironment >& GetCommandEnvironment() const { return mxCmdEnv; } DECL_LINK_TYPED(ResetQuickSearch_Impl, Timer *, void); diff --git a/svtools/source/contnr/viewdataentry.cxx b/svtools/source/contnr/viewdataentry.cxx index f7fe1e1abff4..2644ccfedcc7 100644 --- a/svtools/source/contnr/viewdataentry.cxx +++ b/svtools/source/contnr/viewdataentry.cxx @@ -96,7 +96,7 @@ void SvViewDataEntry::SetPaintRectangle(Rectangle aRectangle) maPaintRectangle = aRectangle; } -Rectangle SvViewDataEntry::GetPaintRectangle() const +const Rectangle& SvViewDataEntry::GetPaintRectangle() const { return maPaintRectangle; } |