summaryrefslogtreecommitdiff
path: root/sw/inc/ndole.hxx
diff options
context:
space:
mode:
authorMatteo Casalin <matteo.casalin@yahoo.com>2013-08-17 11:47:04 +0200
committerCaolán McNamara <caolanm@redhat.com>2013-08-19 14:03:48 +0000
commit83d874ec13f6bf260f3f4093fd1613bea23bf27c (patch)
treeea89fa29d75ef058a2c90529cb76cbabce42adb9 /sw/inc/ndole.hxx
parent33b631c483e017e9ba9430034eb659f085093944 (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.hxx8
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.
};