diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2012-01-24 01:45:12 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2012-01-24 01:45:34 +0900 |
commit | 0a7126a7673e60490b5da565d1df14248136fcce (patch) | |
tree | 83b45d2fcffc0487a1c092c0ba5ff572789f8e1d /sw/inc/SwAppletImpl.hxx | |
parent | 49e685663146b9ad59a47cfaf9cf499fc6a6b937 (diff) |
Replaced String by rtl::OUString
Diffstat (limited to 'sw/inc/SwAppletImpl.hxx')
-rw-r--r-- | sw/inc/SwAppletImpl.hxx | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/sw/inc/SwAppletImpl.hxx b/sw/inc/SwAppletImpl.hxx index 3c936b3a14f9..b0c9e8a8b74a 100644 --- a/sw/inc/SwAppletImpl.hxx +++ b/sw/inc/SwAppletImpl.hxx @@ -37,7 +37,6 @@ #include <com/sun/star/embed/XEmbeddedObject.hpp> -#include <tools/string.hxx> #include <sfx2/frmhtml.hxx> #include <sfx2/frmhtmlw.hxx> #include <vcl/wrkwin.hxx> @@ -55,25 +54,25 @@ class SwApplet_Impl com::sun::star::uno::Reference < com::sun::star::embed::XEmbeddedObject > xApplet; SvCommandList aCommandList; SfxItemSet aItemSet; - String sAlt; + ::rtl::OUString sAlt; public: - static sal_uInt16 GetOptionType( const String& rName, sal_Bool bApplet ); + static sal_uInt16 GetOptionType( const ::rtl::OUString& rName, sal_Bool bApplet ); SwApplet_Impl( SfxItemPool& rPool, sal_uInt16 nWhich1, sal_uInt16 nWhich2 ); SwApplet_Impl( SfxItemSet& rSet ): aItemSet ( rSet) {} ~SwApplet_Impl(); - void CreateApplet( const String& rCode, const String& rName, - sal_Bool bMayScript, const String& rCodeBase, - const String& rBaseURL ); + void CreateApplet( const ::rtl::OUString& rCode, const ::rtl::OUString& rName, + sal_Bool bMayScript, const ::rtl::OUString& rCodeBase, + const ::rtl::OUString& rBaseURL ); #ifdef SOLAR_JAVA - sal_Bool CreateApplet( const String& rBaseURL ); - void AppendParam( const String& rName, const String& rValue ); + sal_Bool CreateApplet( const ::rtl::OUString& rBaseURL ); + void AppendParam( const ::rtl::OUString& rName, const ::rtl::OUString& rValue ); #endif void FinishApplet(); com::sun::star::uno::Reference < com::sun::star::embed::XEmbeddedObject > GetApplet() { return xApplet; } SfxItemSet& GetItemSet() { return aItemSet; } - const String& GetAltText() { return sAlt; } - void SetAltText( const String& rAlt ) {sAlt = rAlt;} + const ::rtl::OUString& GetAltText() const { return sAlt; } + void SetAltText( const ::rtl::OUString& rAlt ) {sAlt = rAlt;} }; #endif |