vcl/win/gdi/winlayout.cxx | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-)
New commits: commit a076feda8e6541ce611866e3f20f65648ec2b50b Author: Tor Lillqvist <[email protected]> Date: Thu Mar 10 12:14:01 2016 +0200 Follow the coding style of surrounding code Change-Id: I80a2d935d92c8330f3815b6e79ccc58bc39541b0 diff --git a/vcl/win/gdi/winlayout.cxx b/vcl/win/gdi/winlayout.cxx index 691901e..31168bc 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(); } _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
