summaryrefslogtreecommitdiff
path: root/include/sfx2/doctempl.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-08-27 13:31:45 +0200
committerNoel Grandin <noel@peralex.com>2013-08-29 09:30:09 +0200
commitfd7ef5f6386d6ba6951c88ebfafb107f1fa63400 (patch)
treea33a3997f30d70f1012e5fcc45eb711e4207be54 /include/sfx2/doctempl.hxx
parente7cd49ebb08a839161429519d6a0e0eda4839d41 (diff)
convert include/sfx2/doctempl.hxx from String to OUString
Change-Id: I0d4232afa37539bafd779b1cc9a323aabb1d6b0e
Diffstat (limited to 'include/sfx2/doctempl.hxx')
-rw-r--r--include/sfx2/doctempl.hxx22
1 files changed, 11 insertions, 11 deletions
diff --git a/include/sfx2/doctempl.hxx b/include/sfx2/doctempl.hxx
index a5b24cf81993..f79a4b5f327b 100644
--- a/include/sfx2/doctempl.hxx
+++ b/include/sfx2/doctempl.hxx
@@ -62,13 +62,13 @@ public:
void ReInitFromComponent();
- sal_uInt16 GetRegionCount() const;
- const String& GetRegionName(sal_uInt16 nIdx) const; //dv!
- String GetFullRegionName(sal_uInt16 nIdx) const;
+ sal_uInt16 GetRegionCount() const;
+ const OUString& GetRegionName(sal_uInt16 nIdx) const; //dv!
+ OUString GetFullRegionName(sal_uInt16 nIdx) const;
- sal_uInt16 GetCount(sal_uInt16 nRegion) const;
- const String& GetName(sal_uInt16 nRegion, sal_uInt16 nIdx) const; //dv!
- String GetPath(sal_uInt16 nRegion, sal_uInt16 nIdx) const;
+ sal_uInt16 GetCount(sal_uInt16 nRegion) const;
+ const OUString& GetName(sal_uInt16 nRegion, sal_uInt16 nIdx) const; //dv!
+ OUString GetPath(sal_uInt16 nRegion, sal_uInt16 nIdx) const;
// Allows to retrieve the target template URL from the UCB
OUString GetTemplateTargetURLFromComponent( const OUString& aGroupName,
@@ -90,7 +90,7 @@ public:
sal_uInt16 nSourceRegion,
sal_uInt16 nSourceIdx);
sal_Bool Delete(sal_uInt16 nRegion, sal_uInt16 nIdx);
- sal_Bool InsertDir(const String &rText, sal_uInt16 nRegion);
+ sal_Bool InsertDir(const OUString &rText, sal_uInt16 nRegion);
sal_Bool InsertTemplate (sal_uInt16 nSourceRegion, sal_uInt16 nIdx, const OUString &rName, const OUString &rPath);
@@ -109,11 +109,11 @@ public:
*/
sal_Bool SetName(const OUString &rName, sal_uInt16 nRegion, sal_uInt16 nIdx);
- sal_Bool CopyTo(sal_uInt16 nRegion, sal_uInt16 nIdx, const String &rName) const;
- sal_Bool CopyFrom(sal_uInt16 nRegion, sal_uInt16 nIdx, String &rName);
+ sal_Bool CopyTo(sal_uInt16 nRegion, sal_uInt16 nIdx, const OUString &rName) const;
+ sal_Bool CopyFrom(sal_uInt16 nRegion, sal_uInt16 nIdx, OUString &rName);
- sal_Bool GetFull( const String& rRegion, const String& rName, String& rPath );
- sal_Bool GetLogicNames( const String& rPath, String& rRegion, String& rName ) const;
+ sal_Bool GetFull( const OUString& rRegion, const OUString& rName, OUString& rPath );
+ sal_Bool GetLogicNames( const OUString& rPath, OUString& rRegion, OUString& rName ) const;
/** updates the configuration where the document templates structure is stored.