summaryrefslogtreecommitdiff
path: root/drawinglayer/source/attribute
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-08-21 13:18:34 +0200
committerNoel Grandin <noel@peralex.com>2013-08-22 10:49:33 +0200
commit5527d5c4e064f417c4cd5f868e9fafffaa5aab41 (patch)
treeb9bea6678c5fff5e9244de84d82921d8ad2fe580 /drawinglayer/source/attribute
parent3728952b56e0690f09ed375e683ff09bc3fbff71 (diff)
convert drawinglayer module from String to OUString
Change-Id: I115dfd5ca7d343b220b2a3e8aa0565f9e4689042
Diffstat (limited to 'drawinglayer/source/attribute')
-rw-r--r--drawinglayer/source/attribute/fontattribute.cxx20
1 files changed, 10 insertions, 10 deletions
diff --git a/drawinglayer/source/attribute/fontattribute.cxx b/drawinglayer/source/attribute/fontattribute.cxx
index 7f4316f00794..9f824ed7ade7 100644
--- a/drawinglayer/source/attribute/fontattribute.cxx
+++ b/drawinglayer/source/attribute/fontattribute.cxx
@@ -31,8 +31,8 @@ namespace drawinglayer
{
public:
/// core data
- String maFamilyName; // Font Family Name
- String maStyleName; // Font Style Name
+ OUString maFamilyName; // Font Family Name
+ OUString maStyleName; // Font Style Name
sal_uInt16 mnWeight; // Font weight
/// bitfield
@@ -45,8 +45,8 @@ namespace drawinglayer
unsigned mbMonospaced : 1;
ImpFontAttribute(
- const String& rFamilyName,
- const String& rStyleName,
+ const OUString& rFamilyName,
+ const OUString& rStyleName,
sal_uInt16 nWeight,
bool bSymbol,
bool bVertical,
@@ -83,8 +83,8 @@ namespace drawinglayer
}
// data read access
- const String& getFamilyName() const { return maFamilyName; }
- const String& getStyleName() const { return maStyleName; }
+ const OUString& getFamilyName() const { return maFamilyName; }
+ const OUString& getStyleName() const { return maStyleName; }
sal_uInt16 getWeight() const { return mnWeight; }
bool getSymbol() const { return mbSymbol; }
bool getVertical() const { return mbVertical; }
@@ -116,8 +116,8 @@ namespace drawinglayer
}
FontAttribute::FontAttribute(
- const String& rFamilyName,
- const String& rStyleName,
+ const OUString& rFamilyName,
+ const OUString& rStyleName,
sal_uInt16 nWeight,
bool bSymbol,
bool bVertical,
@@ -161,12 +161,12 @@ namespace drawinglayer
return rCandidate.mpFontAttribute == mpFontAttribute;
}
- const String& FontAttribute::getFamilyName() const
+ const OUString& FontAttribute::getFamilyName() const
{
return mpFontAttribute->getFamilyName();
}
- const String& FontAttribute::getStyleName() const
+ const OUString& FontAttribute::getStyleName() const
{
return mpFontAttribute->getStyleName();
}