summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
Diffstat (limited to 'svl')
-rw-r--r--svl/source/inc/passwordcontainer.hxx2
-rw-r--r--svl/source/items/itemprop.cxx2
-rw-r--r--svl/source/items/style.cxx2
-rw-r--r--svl/source/passwordcontainer/passwordcontainer.cxx2
4 files changed, 4 insertions, 4 deletions
diff --git a/svl/source/inc/passwordcontainer.hxx b/svl/source/inc/passwordcontainer.hxx
index d87d08acecf3..ef637b747d40 100644
--- a/svl/source/inc/passwordcontainer.hxx
+++ b/svl/source/inc/passwordcontainer.hxx
@@ -260,7 +260,7 @@ css::task::UrlRecord find(
css::task::PasswordRequestMode aRMode,
const css::uno::Reference< css::task::XInteractionHandler >& xHandler );
- OUString GetMasterPassword( const css::uno::Reference< css::task::XInteractionHandler >& Handler )
+ OUString const & GetMasterPassword( const css::uno::Reference< css::task::XInteractionHandler >& Handler )
throw(css::uno::RuntimeException, std::exception);
void UpdateVector( const OUString& url, ::std::list< NamePassRecord >& toUpdate, NamePassRecord& rec, bool writeFile )
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() )
{
diff --git a/svl/source/passwordcontainer/passwordcontainer.cxx b/svl/source/passwordcontainer/passwordcontainer.cxx
index 93d627c16177..3971ed06d06d 100644
--- a/svl/source/passwordcontainer/passwordcontainer.cxx
+++ b/svl/source/passwordcontainer/passwordcontainer.cxx
@@ -818,7 +818,7 @@ OUString PasswordContainer::RequestPasswordFromUser( PasswordRequestMode aRMode,
}
-OUString PasswordContainer::GetMasterPassword( const Reference< XInteractionHandler >& aHandler ) throw(RuntimeException, std::exception)
+OUString const & PasswordContainer::GetMasterPassword( const Reference< XInteractionHandler >& aHandler ) throw(RuntimeException, std::exception)
{
PasswordRequestMode aRMode = PasswordRequestMode_PASSWORD_ENTER;
if( !m_pStorageFile || !m_pStorageFile->useStorage() )