summaryrefslogtreecommitdiffstats
path: root/sw/inc/tblafmt.hxx
diff options
context:
space:
mode:
authorMatteo Casalin <matteo.casalin@yahoo.com>2013-08-13 20:22:13 +0200
committerTor Lillqvist <tml@iki.fi>2013-08-14 05:53:28 +0000
commite32a74ca1ba5c89f97b5741f376ae6a2c2ee32d4 (patch)
tree71e5bae2fb66d4cf387e82b3add21e6e13f92a96 /sw/inc/tblafmt.hxx
parentfdo#67584 - Incorrect Flip Labels (diff)
downloadcore-e32a74ca1ba5c89f97b5741f376ae6a2c2ee32d4.tar.gz
core-e32a74ca1ba5c89f97b5741f376ae6a2c2ee32d4.zip
String to OUString
Change-Id: Ib185c067c52bb8c65441c30d4c61be24b0950afd Reviewed-on: https://gerrit.libreoffice.org/5394 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi>
Diffstat (limited to 'sw/inc/tblafmt.hxx')
-rw-r--r--sw/inc/tblafmt.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/inc/tblafmt.hxx b/sw/inc/tblafmt.hxx
index 404aaf6e3af2..8bb36f90b876 100644
--- a/sw/inc/tblafmt.hxx
+++ b/sw/inc/tblafmt.hxx
@@ -233,7 +233,7 @@ class SW_DLLPUBLIC SwTableAutoFmt
friend void _FinitCore(); // To destroy dflt. pointer.
static SwBoxAutoFmt* pDfltBoxAutoFmt;
- String aName;
+ OUString m_aName;
sal_uInt16 nStrResId;
// Common flags of Calc and Writer.
@@ -259,7 +259,7 @@ class SW_DLLPUBLIC SwTableAutoFmt
SvxShadowItem m_aShadow;
public:
- SwTableAutoFmt( const String& rName );
+ SwTableAutoFmt( const OUString& rName );
SwTableAutoFmt( const SwTableAutoFmt& rNew );
~SwTableAutoFmt();
@@ -268,8 +268,8 @@ public:
void SetBoxFmt( const SwBoxAutoFmt& rNew, sal_uInt8 nPos );
const SwBoxAutoFmt& GetBoxFmt( sal_uInt8 nPos ) const;
- void SetName( const String& rNew ) { aName = rNew; nStrResId = USHRT_MAX; }
- const String& GetName() const { return aName; }
+ void SetName( const OUString& rNew ) { m_aName = rNew; nStrResId = USHRT_MAX; }
+ OUString GetName() const { return m_aName; }
enum UpdateFlags { UPDATE_CHAR = 1, UPDATE_BOX = 2, UPDATE_ALL = 3 };
void UpdateFromSet( sal_uInt8 nPos, const SfxItemSet& rSet,