Kaydet (Commit) 226b81d0 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

returning reference to temporary [-Werror]

Change-Id: Ib37f1fc9658cb50227463cf2aa1421ba47b2ec9f
üst 70eb7af6
...@@ -594,7 +594,7 @@ SvtDocInfoTable_Impl::SvtDocInfoTable_Impl() : ...@@ -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 ) ); sal_uInt32 nPos( FindIndex( nId ) );
......
...@@ -173,7 +173,7 @@ private: ...@@ -173,7 +173,7 @@ private:
public: public:
SvtDocInfoTable_Impl(); SvtDocInfoTable_Impl();
const String& GetString( long nId ) const; rtl::OUString GetString( long nId ) const;
}; };
class SvtFrameWindow_Impl : public Window class SvtFrameWindow_Impl : public Window
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment