summaryrefslogtreecommitdiff
path: root/sc/inc/drwlayer.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-10-04 11:11:31 +0200
committerNoel Grandin <noel@peralex.com>2013-10-08 10:03:04 +0200
commit0e9564456c2d670eb16bdd5a268530593dbff2e4 (patch)
treee70af96eb22bb381fad25b8bf9dca2678b1a7b38 /sc/inc/drwlayer.hxx
parent295e40a7dfa0e28efc1879541164301b7dd9eb55 (diff)
convert sc/inc/drwlayer.hxx from String to OUString
Change-Id: I3f661fe6b8c54ab080f10b64295fe64fb548a75d
Diffstat (limited to 'sc/inc/drwlayer.hxx')
-rw-r--r--sc/inc/drwlayer.hxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/sc/inc/drwlayer.hxx b/sc/inc/drwlayer.hxx
index bd4191a9053c..a7cda389b015 100644
--- a/sc/inc/drwlayer.hxx
+++ b/sc/inc/drwlayer.hxx
@@ -81,7 +81,7 @@ public:
class SC_DLLPUBLIC ScDrawLayer : public FmFormModel
{
private:
- String aName;
+ OUString aName;
ScDocument* pDoc;
SdrUndoGroup* pUndoGroup;
sal_Bool bRecording;
@@ -96,7 +96,7 @@ private:
void ResizeLastRectFromAnchor( SdrObject* pObj, ScDrawObjData& rData, bool bUseLogicRect, bool bNegativePage, bool bCanResize, bool bHiddenAsZero = true );
public:
- ScDrawLayer( ScDocument* pDocument, const String& rName );
+ ScDrawLayer( ScDocument* pDocument, const OUString& rName );
virtual ~ScDrawLayer();
virtual SdrPage* AllocPage(bool bMasterPage);
@@ -109,7 +109,7 @@ public:
sal_Bool ScAddPage( SCTAB nTab );
void ScRemovePage( SCTAB nTab );
- void ScRenamePage( SCTAB nTab, const String& rNewName );
+ void ScRenamePage( SCTAB nTab, const OUString& rNewName );
void ScMovePage( sal_uInt16 nOldPos, sal_uInt16 nNewPos );
// incl. content, bAlloc=FALSE -> only content
void ScCopyPage( sal_uInt16 nOldPos, sal_uInt16 nNewPos, sal_Bool bAlloc );
@@ -156,12 +156,12 @@ public:
// GetVisibleName: name for navigator etc: GetPersistName or GetName
// (ChartListenerCollection etc. must use GetPersistName directly)
- static String GetVisibleName( SdrObject* pObj );
+ static OUString GetVisibleName( SdrObject* pObj );
- SdrObject* GetNamedObject( const String& rName, sal_uInt16 nId, SCTAB& rFoundTab ) const;
+ SdrObject* GetNamedObject( const OUString& rName, sal_uInt16 nId, SCTAB& rFoundTab ) const;
// if pnCounter != NULL, the search for a name starts with this index + 1,
// and the index really used is returned.
- String GetNewGraphicName( long* pnCounter = NULL ) const;
+ OUString GetNewGraphicName( long* pnCounter = NULL ) const;
void EnsureGraphicNames();
static bool IsCellAnchored( const SdrObject& rObj );