summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2014-02-20 11:51:43 +0100
committerMichael Stahl <mstahl@redhat.com>2014-02-20 12:52:07 +0100
commit474b2ff232591442fb22363c82abc66e7e2101a0 (patch)
treecb157313acfd67551125a1366e33bd5847548baf /include
parent55112988e67d627dc807fd30478c1c3f952c75f2 (diff)
svx: these Style members are floats
Change-Id: Id1a5e363c8c39b3ad9e61f9b914461d15f5c3028
Diffstat (limited to 'include')
-rw-r--r--include/svx/framelink.hxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/include/svx/framelink.hxx b/include/svx/framelink.hxx
index afae83e428e7..b8f2bfcd0b18 100644
--- a/include/svx/framelink.hxx
+++ b/include/svx/framelink.hxx
@@ -124,14 +124,14 @@ public:
inline const Color& GetColorSecn() const { return maColorSecn; }
inline const Color& GetColorGap() const { return maColorGap; }
inline bool UseGapColor() const { return mbUseGapColor; }
- inline double Prim() const { return mnPrim; }
- inline double Dist() const { return mnDist; }
- inline double Secn() const { return mnSecn; }
+ inline double Prim() const { return mfPrim; }
+ inline double Dist() const { return mfDist; }
+ inline double Secn() const { return mfSecn; }
double Scale() const;
inline editeng::SvxBorderStyle Type() const { return mnType; }
/** Returns the total width of this frame style. */
- inline double GetWidth() const { return mnPrim + mnDist + mnSecn; }
+ inline double GetWidth() const { return mfPrim + mfDist + mfSecn; }
/** Sets the frame style to invisible state. */
void Clear();
@@ -165,9 +165,9 @@ private:
Color maColorGap;
bool mbUseGapColor;
RefMode meRefMode; /// Reference point handling for this frame border.
- double mnPrim; /// Width of primary (single, left, or top) line.
- double mnDist; /// Distance between primary and secondary line.
- double mnSecn; /// Width of secondary (right or bottom) line.
+ double mfPrim; /// Width of primary (single, left, or top) line.
+ double mfDist; /// Distance between primary and secondary line.
+ double mfSecn; /// Width of secondary (right or bottom) line.
double mfScale;
editeng::SvxBorderStyle mnType;
};