summaryrefslogtreecommitdiff
path: root/svl/source/items
diff options
context:
space:
mode:
Diffstat (limited to 'svl/source/items')
-rw-r--r--svl/source/items/itemprop.cxx2
-rw-r--r--svl/source/items/style.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/svl/source/items/itemprop.cxx b/svl/source/items/itemprop.cxx
index 69f78e5ac19f..5e2a7279e1e4 100644
--- a/svl/source/items/itemprop.cxx
+++ b/svl/source/items/itemprop.cxx
@@ -311,7 +311,7 @@ PropertyState SfxItemPropertySet::getPropertyState(const OUString& rName, cons
return eRet;
}
-Reference<XPropertySetInfo> SfxItemPropertySet::getPropertySetInfo() const
+Reference<XPropertySetInfo> const & SfxItemPropertySet::getPropertySetInfo() const
{
if( !m_xInfo.is() )
m_xInfo = new SfxItemPropertySetInfo( m_aMap );
diff --git a/svl/source/items/style.cxx b/svl/source/items/style.cxx
index aed9c530431d..1c04d7bf4bc8 100644
--- a/svl/source/items/style.cxx
+++ b/svl/source/items/style.cxx
@@ -192,7 +192,7 @@ bool SfxStyleSheetBase::SetName(const OUString& rName, bool bReIndexNow)
return true;
}
-OUString SfxStyleSheetBase::GetDisplayName() const
+OUString const & SfxStyleSheetBase::GetDisplayName() const
{
if( maDisplayName.isEmpty() )
{