diff options
Diffstat (limited to 'svx/source/gallery2/galobj.cxx')
-rw-r--r-- | svx/source/gallery2/galobj.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/gallery2/galobj.cxx b/svx/source/gallery2/galobj.cxx index f0db928d3824..b2ca47641e6f 100644 --- a/svx/source/gallery2/galobj.cxx +++ b/svx/source/gallery2/galobj.cxx @@ -214,7 +214,7 @@ const String SgaObject::GetTitle() const aResId.SetRT( RSC_STRING ); if ( pResMgr->IsAvailable( aResId ) ) { - aReturnValue = String( aResId ); + aReturnValue = aResId.toString(); } delete pResMgr; } @@ -363,7 +363,7 @@ Bitmap SgaObjectSound::GetThumbBmp() const break; } - const BitmapEx aBmpEx( GAL_RESID( nId ) ); + const BitmapEx aBmpEx( GAL_RES( nId ) ); const Color aTransColor( COL_WHITE ); return aBmpEx.GetBitmap( &aTransColor ); |