diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2017-01-23 12:09:42 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2017-01-24 03:09:37 +0000 |
commit | c2850bab4f7e5700151a18d806268f2b86a25d56 (patch) | |
tree | 01101b1157f547e4f11b464b72d443311def0039 /starmath/inc | |
parent | 4ef8740c98e6db96832191985e5cd49ca94be0bf (diff) |
starmath: Inline and remove SmRect::BuildRect()
because a ctor was its only client.
Change-Id: I31cce925231210930576bf93396f9d7aa44a5a71
Reviewed-on: https://gerrit.libreoffice.org/33414
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Takeshi Abe <tabe@fixedpoint.jp>
Diffstat (limited to 'starmath/inc')
-rw-r--r-- | starmath/inc/rect.hxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/starmath/inc/rect.hxx b/starmath/inc/rect.hxx index 5c58b9d7efee..12cae33ad145 100644 --- a/starmath/inc/rect.hxx +++ b/starmath/inc/rect.hxx @@ -107,9 +107,6 @@ class SmRect bHasAlignInfo; protected: - void BuildRect (const OutputDevice &rDev, const SmFormat *pFormat, - const OUString &rText, sal_uInt16 nBorderWidth); - inline void CopyMBL(const SmRect& rRect); void CopyAlignInfo(const SmRect& rRect); @@ -118,7 +115,7 @@ protected: public: SmRect(); SmRect(const OutputDevice &rDev, const SmFormat *pFormat, - const OUString &rText, long nBorderWidth); + const OUString &rText, sal_uInt16 nBorderWidth); SmRect(long nWidth, long nHeight); |