diff options
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/drawfunc/drawsh2.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/inc/drawsh.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/drawfunc/drawsh2.cxx b/sc/source/ui/drawfunc/drawsh2.cxx index 099ed3d3aee1..676fe57a4cd4 100644 --- a/sc/source/ui/drawfunc/drawsh2.cxx +++ b/sc/source/ui/drawfunc/drawsh2.cxx @@ -412,7 +412,7 @@ void ScDrawShell::Activate (const bool) GetSidebarContextName())); } -::rtl::OUString ScDrawShell::GetSidebarContextName() +const OUString & ScDrawShell::GetSidebarContextName() { return vcl::EnumContext::GetContextName( svx::sidebar::SelectionAnalyzer::GetContextForSelection_SC( diff --git a/sc/source/ui/inc/drawsh.hxx b/sc/source/ui/inc/drawsh.hxx index fcfc4adb9b9a..433c01798640 100644 --- a/sc/source/ui/inc/drawsh.hxx +++ b/sc/source/ui/inc/drawsh.hxx @@ -88,7 +88,7 @@ public: static bool AreAllObjectsOnLayer(SdrLayerID nLayerNo,const SdrMarkList& rMark); void GetDrawAttrStateForIFBX( SfxItemSet& rSet ); - ::rtl::OUString GetSidebarContextName(); + OUString const & GetSidebarContextName(); }; #endif |