diff options
author | Tor Lillqvist <tml@collabora.com> | 2016-03-10 12:14:01 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2016-03-10 12:16:48 +0200 |
commit | a076feda8e6541ce611866e3f20f65648ec2b50b (patch) | |
tree | 4151bcb98980db1669174e0628f3395522d9b950 /vcl/win | |
parent | 0cc4e711d3d4dd9cf512ef490fabf8395eb46d3f (diff) |
Follow the coding style of surrounding code
Change-Id: I80a2d935d92c8330f3815b6e79ccc58bc39541b0
Diffstat (limited to 'vcl/win')
-rw-r--r-- | vcl/win/gdi/winlayout.cxx | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/vcl/win/gdi/winlayout.cxx b/vcl/win/gdi/winlayout.cxx index 691901eac2cf..31168bc78909 100644 --- a/vcl/win/gdi/winlayout.cxx +++ b/vcl/win/gdi/winlayout.cxx @@ -3673,8 +3673,10 @@ bool D2DWriteTextOutRenderer::InitModules() void D2DWriteTextOutRenderer::CleanupModules() { - if (mmD2d1) FreeLibrary(mmD2d1); - if (mmDWrite) FreeLibrary(mmDWrite); + if (mmD2d1) + FreeLibrary(mmD2d1); + if (mmDWrite) + FreeLibrary(mmDWrite); mmD2d1 = nullptr; mmDWrite = nullptr; @@ -3741,10 +3743,14 @@ D2DWriteTextOutRenderer::D2DWriteTextOutRenderer() D2DWriteTextOutRenderer::~D2DWriteTextOutRenderer() { - if (mpRT) mpRT->Release(); - if (mpGdiInterop) mpGdiInterop->Release(); - if (mpDWriteFactory) mpDWriteFactory->Release(); - if (mpD2DFactory) mpD2DFactory->Release(); + if (mpRT) + mpRT->Release(); + if (mpGdiInterop) + mpGdiInterop->Release(); + if (mpDWriteFactory) + mpDWriteFactory->Release(); + if (mpD2DFactory) + mpD2DFactory->Release(); CleanupModules(); } |