summaryrefslogtreecommitdiff
path: root/include/drawinglayer/attribute/fontattribute.hxx
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 /include/drawinglayer/attribute/fontattribute.hxx
parent3728952b56e0690f09ed375e683ff09bc3fbff71 (diff)
convert drawinglayer module from String to OUString
Change-Id: I115dfd5ca7d343b220b2a3e8aa0565f9e4689042
Diffstat (limited to 'include/drawinglayer/attribute/fontattribute.hxx')
-rw-r--r--include/drawinglayer/attribute/fontattribute.hxx12
1 files changed, 7 insertions, 5 deletions
diff --git a/include/drawinglayer/attribute/fontattribute.hxx b/include/drawinglayer/attribute/fontattribute.hxx
index b49ab83b300e..dda163f61519 100644
--- a/include/drawinglayer/attribute/fontattribute.hxx
+++ b/include/drawinglayer/attribute/fontattribute.hxx
@@ -26,7 +26,9 @@
//////////////////////////////////////////////////////////////////////////////
// predefines
-class String;
+namespace rtl {
+ class OUString;
+}
namespace drawinglayer { namespace attribute {
class ImpFontAttribute;
@@ -55,8 +57,8 @@ namespace drawinglayer
/// constructors/assignmentoperator/destructor
/// TODO: pair kerning and CJK kerning
FontAttribute(
- const String& rFamilyName,
- const String& rStyleName,
+ const rtl::OUString& rFamilyName,
+ const rtl::OUString& rStyleName,
sal_uInt16 nWeight,
bool bSymbol = false,
bool bVertical = false,
@@ -77,8 +79,8 @@ namespace drawinglayer
bool operator==(const FontAttribute& rCandidate) const;
/// data read access
- const String& getFamilyName() const;
- const String& getStyleName() const;
+ const rtl::OUString& getFamilyName() const;
+ const rtl::OUString& getStyleName() const;
sal_uInt16 getWeight() const;
bool getSymbol() const;
bool getVertical() const;