diff options
author | Matteo Casalin <matteo.casalin@yahoo.com> | 2013-08-13 20:22:13 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2013-08-14 05:53:28 +0000 |
commit | e32a74ca1ba5c89f97b5741f376ae6a2c2ee32d4 (patch) | |
tree | 71e5bae2fb66d4cf387e82b3add21e6e13f92a96 /sw/inc | |
parent | d9ead65397ea4b6d4bcc66cf304653bb71e14c9c (diff) |
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')
-rw-r--r-- | sw/inc/tblafmt.hxx | 8 |
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, |