Kaydet (Commit) 93b8ccb4 authored tarafından Kohei Yoshida's avatar Kohei Yoshida

String cleanup.

Change-Id: I3ae62993a1b753927af236b3a7923eacbb4c8cc0
üst f4483d31
...@@ -36,7 +36,7 @@ namespace comphelper ...@@ -36,7 +36,7 @@ namespace comphelper
class Rectangle; class Rectangle;
class OutputDevice; class OutputDevice;
class String;
namespace svt namespace svt
{ {
struct EmbeddedObjectRef_Impl; struct EmbeddedObjectRef_Impl;
...@@ -55,7 +55,7 @@ namespace svt ...@@ -55,7 +55,7 @@ namespace svt
const ::com::sun::star::uno::Reference < ::com::sun::star::embed::XEmbeddedObject >& operator ->() const { return mxObj; } const ::com::sun::star::uno::Reference < ::com::sun::star::embed::XEmbeddedObject >& operator ->() const { return mxObj; }
const ::com::sun::star::uno::Reference < ::com::sun::star::embed::XEmbeddedObject >& GetObject() const { return mxObj; } const ::com::sun::star::uno::Reference < ::com::sun::star::embed::XEmbeddedObject >& GetObject() const { return mxObj; }
static void DrawPaintReplacement( const Rectangle &rRect, const String &rText, OutputDevice *pOut ); static void DrawPaintReplacement( const Rectangle &rRect, const OUString &rText, OutputDevice *pOut );
static void DrawShading( const Rectangle &rRect, OutputDevice *pOut ); static void DrawShading( const Rectangle &rRect, OutputDevice *pOut );
static sal_Bool TryRunningState( const ::com::sun::star::uno::Reference < ::com::sun::star::embed::XEmbeddedObject >& ); static sal_Bool TryRunningState( const ::com::sun::star::uno::Reference < ::com::sun::star::embed::XEmbeddedObject >& );
static void SetGraphicToContainer( const Graphic& rGraphic, static void SetGraphicToContainer( const Graphic& rGraphic,
......
...@@ -595,7 +595,7 @@ SvStream* EmbeddedObjectRef::GetGraphicStream( sal_Bool bUpdate ) const ...@@ -595,7 +595,7 @@ SvStream* EmbeddedObjectRef::GetGraphicStream( sal_Bool bUpdate ) const
return NULL; return NULL;
} }
void EmbeddedObjectRef::DrawPaintReplacement( const Rectangle &rRect, const String &rText, OutputDevice *pOut ) void EmbeddedObjectRef::DrawPaintReplacement( const Rectangle &rRect, const OUString &rText, OutputDevice *pOut )
{ {
MapMode aMM( MAP_APPFONT ); MapMode aMM( MAP_APPFONT );
Size aAppFontSz = pOut->LogicToLogic( Size( 0, 8 ), &aMM, NULL ); Size aAppFontSz = pOut->LogicToLogic( Size( 0, 8 ), &aMM, NULL );
......
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