From 6e88e4edfba146f6163e7a1173dbd4644b21432e Mon Sep 17 00:00:00 2001 From: Luboš Luňák Date: Fri, 11 Mar 2022 08:49:17 +0100 Subject: make svx::frame::Style ctor inline MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- include/svx/framelink.hxx | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'include/svx') 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) +{} + } -- cgit