diff options
author | Matteo Casalin <matteo.casalin@yahoo.com> | 2013-08-17 11:47:04 +0200 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-08-19 14:03:48 +0000 |
commit | 83d874ec13f6bf260f3f4093fd1613bea23bf27c (patch) | |
tree | ea89fa29d75ef058a2c90529cb76cbabce42adb9 /sw/inc/ndole.hxx | |
parent | 33b631c483e017e9ba9430034eb659f085093944 (diff) |
String to OUString, some small cleanup
Change-Id: I2cb6b2c2169e5ba72ac8866f4a797421bd779a8b
Reviewed-on: https://gerrit.libreoffice.org/5473
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/inc/ndole.hxx')
-rw-r--r-- | sw/inc/ndole.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/inc/ndole.hxx b/sw/inc/ndole.hxx index 3a80cea9c51f..8c65ae435800 100644 --- a/sw/inc/ndole.hxx +++ b/sw/inc/ndole.hxx @@ -39,7 +39,7 @@ class SW_DLLPUBLIC SwOLEObj /** Either ref or name are known. If only name is known, ref is obtained on demand by GetOleRef() from Sfx. */ svt::EmbeddedObjectRef xOLERef; - String aName; + OUString aName; SwOLEObj( const SwOLEObj& rObj ); /// Not allowed. SwOLEObj(); @@ -48,7 +48,7 @@ class SW_DLLPUBLIC SwOLEObj public: SwOLEObj( const svt::EmbeddedObjectRef& pObj ); - SwOLEObj( const String &rName, sal_Int64 nAspect ); + SwOLEObj( const OUString &rName, sal_Int64 nAspect ); ~SwOLEObj(); sal_Bool UnloadObject(); @@ -56,11 +56,11 @@ public: const SwDoc* pDoc, sal_Int64 nAspect ); - String GetDescription(); + OUString GetDescription(); const com::sun::star::uno::Reference < com::sun::star::embed::XEmbeddedObject > GetOleRef(); svt::EmbeddedObjectRef& GetObject(); - const String& GetCurrentPersistName() const { return aName; } + OUString GetCurrentPersistName() const { return aName; } sal_Bool IsOleRef() const; ///< To avoid unneccessary loading of object. }; |