summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@collabora.com>2022-03-11 08:49:17 +0100
committerLuboš Luňák <l.lunak@collabora.com>2022-03-11 15:37:13 +0100
commit6e88e4edfba146f6163e7a1173dbd4644b21432e (patch)
tree6a29ac94ba346adca83036e5a1383b9967cc1ac8 /include
parent916421d72528f99d48af29eeaf92a5a6bb33bfd9 (diff)
make svx::frame::Style ctor inline
ScDocument: :FillInfo() may result in calling it often. Change-Id: I05d0582befc57c4959c33fae6dec3d340b8a49ba Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131338 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'include')
-rw-r--r--include/svx/framelink.hxx11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/svx/framelink.hxx b/include/svx/framelink.hxx
index 2ee2a6f556e0..ae35185a4eb6 100644
--- a/include/svx/framelink.hxx
+++ b/include/svx/framelink.hxx
@@ -167,6 +167,17 @@ public:
inline bool operator>( const Style& rL, const Style& rR ) { return rR.operator<(rL); }
+inline Style::Style()
+ : mfPrim(0)
+ , mfDist(0)
+ , mfSecn(0)
+ , mfPatternScale(1.0)
+ , meRefMode(RefMode::Centered)
+ , mnType(SvxBorderLineStyle::SOLID)
+ , mbWordTableCell(false)
+ , mbUseGapColor(false)
+{}
+
}