diff options
author | Philipp Hofer <philipp.hofer@protonmail.com> | 2020-11-12 13:17:39 +0100 |
---|---|---|
committer | Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> | 2020-11-21 13:18:54 +0100 |
commit | 0108cd51faf942b3fc3a292522d4b2f421f1cf45 (patch) | |
tree | 21ae8a784a759acd24f985d8544f54d28ef6f054 /starmath/source/tmpdevice.hxx | |
parent | 2184efed3943fe9634e6e361e8b0306a374cbf59 (diff) |
tdf#123936 Formatting files in module starmath with clang-format
Change-Id: I2b9e466d18ffd8033e5225d698b2dd0055e6fab7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105711
Tested-by: Jenkins
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Diffstat (limited to 'starmath/source/tmpdevice.hxx')
-rw-r--r-- | starmath/source/tmpdevice.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/starmath/source/tmpdevice.hxx b/starmath/source/tmpdevice.hxx index e7c812cd69f4..8fa3557cd89d 100644 --- a/starmath/source/tmpdevice.hxx +++ b/starmath/source/tmpdevice.hxx @@ -25,7 +25,7 @@ class SmTmpDevice { - OutputDevice &rOutDev; + OutputDevice& rOutDev; SmTmpDevice(const SmTmpDevice&) = delete; SmTmpDevice& operator=(const SmTmpDevice&) = delete; @@ -33,15 +33,15 @@ class SmTmpDevice Color GetTextColor(const Color& rTextColor); public: - SmTmpDevice(OutputDevice &rTheDev, bool bUseMap100th_mm); + SmTmpDevice(OutputDevice& rTheDev, bool bUseMap100th_mm); ~SmTmpDevice() COVERITY_NOEXCEPT_FALSE { rOutDev.Pop(); } - void SetFont(const vcl::Font &rNewFont); + void SetFont(const vcl::Font& rNewFont); void SetLineColor(const Color& rColor) { rOutDev.SetLineColor(GetTextColor(rColor)); } void SetFillColor(const Color& rColor) { rOutDev.SetFillColor(GetTextColor(rColor)); } - operator OutputDevice & () { return rOutDev; } + operator OutputDevice&() { return rOutDev; } }; #endif |