diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-03-17 10:06:47 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-03-20 12:57:31 +0000 |
commit | 8550b42a1d304054ee878c9c6debae0a10b0bf39 (patch) | |
tree | 849bc47fe7f09ce3191af98919df1adb7f5838be /sw | |
parent | 0a14f36501e2e0ce8373464dc1655fdb1e9550b6 (diff) |
remove extra string casts
Diffstat (limited to 'sw')
-rw-r--r-- | sw/inc/viewopt.hxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sw/inc/viewopt.hxx b/sw/inc/viewopt.hxx index 1d5be794536c..b2af44fcc6fc 100644 --- a/sw/inc/viewopt.hxx +++ b/sw/inc/viewopt.hxx @@ -140,10 +140,10 @@ class SwViewOption protected: static sal_uInt16 nPixelTwips;// 1 Pixel == ? Twips - String sSymbolFont; // Symbolfont. - sal_uInt32 nCoreOptions; // Bits for ViewShell. - sal_uInt32 nCore2Options; // Bits for ViewShell. - sal_uInt32 nUIOptions; // UI-Bits + rtl::OUString sSymbolFont; // Symbolfont. + sal_uInt32 nCoreOptions; // Bits for ViewShell. + sal_uInt32 nCore2Options; // Bits for ViewShell. + sal_uInt32 nUIOptions; // UI-Bits Color aRetoucheColor; // DefaultBackground for BrowseView Size aSnapSize; // Describes horizontal and vertical snap. sal_uInt16 mnViewLayoutColumns;// # columns for edit view @@ -481,8 +481,8 @@ public: void SetZoomType (SvxZoomType eZoom_){ eZoom = eZoom_; } void SetTblDest( sal_uInt8 nNew ) { nTblDest = nNew; } - const String& GetSymbolFont() const {return sSymbolFont;} - void SetSymbolFont(const String& sSet) {sSymbolFont = sSet;} + const rtl::OUString& GetSymbolFont() const {return sSymbolFont;} + void SetSymbolFont(const rtl::OUString& sSet) {sSymbolFont = sSet;} const Color& GetRetoucheColor() const { return aRetoucheColor;} void SetRetoucheColor(const Color&r) { aRetoucheColor = r; } |