Kaydet (Commit) ddab2056 authored tarafından Noel Grandin's avatar Noel Grandin

convert include/svx/svdetc.hxx from String to OUString

Change-Id: Ic739dc4749afa1476c87d3e2d35eb31d7e888932
üst aa1ccde1
...@@ -58,7 +58,7 @@ SVX_DLLPUBLIC SdrOutliner* SdrMakeOutliner( sal_uInt16 nOutlinerMode, SdrModel* ...@@ -58,7 +58,7 @@ SVX_DLLPUBLIC SdrOutliner* SdrMakeOutliner( sal_uInt16 nOutlinerMode, SdrModel*
class SVX_DLLPUBLIC SdrEngineDefaults class SVX_DLLPUBLIC SdrEngineDefaults
{ {
friend class SdrAttrObj; friend class SdrAttrObj;
String aFontName; OUString aFontName;
FontFamily eFontFamily; FontFamily eFontFamily;
Color aFontColor; Color aFontColor;
sal_uIntPtr nFontHeight; sal_uIntPtr nFontHeight;
...@@ -71,8 +71,8 @@ private: ...@@ -71,8 +71,8 @@ private:
public: public:
SdrEngineDefaults(); SdrEngineDefaults();
// Default Fontname ist "Times New Roman" // Default Fontname ist "Times New Roman"
static void SetFontName(const String& rFontName) { GetDefaults().aFontName=rFontName; } static void SetFontName(const OUString& rFontName) { GetDefaults().aFontName=rFontName; }
static String GetFontName() { return GetDefaults().aFontName; } static OUString GetFontName() { return GetDefaults().aFontName; }
// Default FontFamily ist FAMILY_ROMAN // Default FontFamily ist FAMILY_ROMAN
static void SetFontFamily(FontFamily eFam) { GetDefaults().eFontFamily=eFam; } static void SetFontFamily(FontFamily eFam) { GetDefaults().eFontFamily=eFam; }
static FontFamily GetFontFamily() { return GetDefaults().eFontFamily; } static FontFamily GetFontFamily() { return GetDefaults().eFontFamily; }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment