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-04-14 10:16:29 +0200
commitf61c4b9eb55ecf7d354c58d2ca4753ee33d69f77 (patch)
tree2b71b896a98df57082e924158e1141c72939b2bf /include
parent8113cc4aac983d0b04df765efa630d1f8c9dbace (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)
+{}
+
}