diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-05-24 10:58:31 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-05-24 10:59:11 +0200 |
commit | 226b81d0f300a62da9351d1fc011b88f93f0b2b0 (patch) | |
tree | 1e83992d30922a9c56cba7daca8524d6cb2da32a /svtools/source/contnr/templwin.cxx | |
parent | Be sure all boost headers are copied to output directory (diff) | |
download | core-226b81d0f300a62da9351d1fc011b88f93f0b2b0.tar.gz core-226b81d0f300a62da9351d1fc011b88f93f0b2b0.zip |
returning reference to temporary [-Werror]
Change-Id: Ib37f1fc9658cb50227463cf2aa1421ba47b2ec9f
Diffstat (limited to 'svtools/source/contnr/templwin.cxx')
-rw-r--r-- | svtools/source/contnr/templwin.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/contnr/templwin.cxx b/svtools/source/contnr/templwin.cxx index b1b85c2677ab..98cf1940a13e 100644 --- a/svtools/source/contnr/templwin.cxx +++ b/svtools/source/contnr/templwin.cxx @@ -594,7 +594,7 @@ SvtDocInfoTable_Impl::SvtDocInfoTable_Impl() : } // ----------------------------------------------------------------------- -const String& SvtDocInfoTable_Impl::GetString( long nId ) const +rtl::OUString SvtDocInfoTable_Impl::GetString( long nId ) const { sal_uInt32 nPos( FindIndex( nId ) ); |