summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc/undostyl.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-09-20 10:37:02 +0200
committerNoel Grandin <noel@peralex.com>2013-10-04 08:48:51 +0200
commitbe014d6ec43049d8deb1341c16c743fe7bc4c566 (patch)
treefc4985f80140bee82ae4b2b019f78d328391e67a /sc/source/ui/inc/undostyl.hxx
parent7c1c4a8af60349bb15ec0b55dabc5d3d71c7f861 (diff)
convert sc/.../undostyl.hxx from String to OUString
Change-Id: I4e8734e8c2fc56094eeea3155c6dab6858a7b11b
Diffstat (limited to 'sc/source/ui/inc/undostyl.hxx')
-rw-r--r--sc/source/ui/inc/undostyl.hxx20
1 files changed, 10 insertions, 10 deletions
diff --git a/sc/source/ui/inc/undostyl.hxx b/sc/source/ui/inc/undostyl.hxx
index e50ae2dc9014..49e1ab654a44 100644
--- a/sc/source/ui/inc/undostyl.hxx
+++ b/sc/source/ui/inc/undostyl.hxx
@@ -31,8 +31,8 @@ class SfxStyleSheetBase;
class ScStyleSaveData
{
private:
- String aName;
- String aParent;
+ OUString aName;
+ OUString aParent;
SfxItemSet* pItems;
public:
@@ -43,8 +43,8 @@ public:
void InitFromStyle( const SfxStyleSheetBase* pSource );
- const String& GetName() const { return aName; }
- const String& GetParent() const { return aParent; }
+ const OUString& GetName() const { return aName; }
+ const OUString& GetParent() const { return aParent; }
const SfxItemSet* GetItems() const { return pItems; }
};
@@ -56,7 +56,7 @@ private:
ScStyleSaveData aNewData;
static void DoChange( ScDocShell* pDocSh,
- const String& rName, SfxStyleFamily eStyleFamily,
+ const OUString& rName, SfxStyleFamily eStyleFamily,
const ScStyleSaveData& rData );
public:
@@ -79,10 +79,10 @@ class ScUndoApplyPageStyle: public ScSimpleUndo
{
public:
TYPEINFO();
- ScUndoApplyPageStyle( ScDocShell* pDocSh, const String& rNewStyle );
+ ScUndoApplyPageStyle( ScDocShell* pDocSh, const OUString& rNewStyle );
virtual ~ScUndoApplyPageStyle();
- void AddSheetAction( SCTAB nTab, const String& rOld );
+ void AddSheetAction( SCTAB nTab, const OUString& rOld );
virtual void Undo();
virtual void Redo();
@@ -95,13 +95,13 @@ private:
struct ApplyStyleEntry
{
SCTAB mnTab;
- String maOldStyle;
- explicit ApplyStyleEntry( SCTAB nTab, const String& rOldStyle );
+ OUString maOldStyle;
+ explicit ApplyStyleEntry( SCTAB nTab, const OUString& rOldStyle );
};
typedef ::std::vector< ApplyStyleEntry > ApplyStyleVec;
ApplyStyleVec maEntries;
- String maNewStyle;
+ OUString maNewStyle;
};