[Libreoffice-commits] core.git: Branch 'libreoffice-4-1' - starmath/source

Caolán McNamara caolanm at redhat.com
Fri Jun 28 00:06:46 PDT 2013


 starmath/source/ElementsDockingWindow.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit d9b938dcd40ed665a0b8fb95f6502bfd0b81413e
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu Jun 27 11:37:43 2013 +0100

    must call FreeResource in old-resource-using dialogs/panels
    
    Change-Id: I756ac431dfcd6a4d6a365fc38b465f4b588ddd79
    (cherry picked from commit 23d9f2400bff7a6c1f0c55f9a1158d40a57d6239)
    Reviewed-on: https://gerrit.libreoffice.org/4575
    Reviewed-by: Fridrich Strba <fridrich at documentfoundation.org>
    Tested-by: Fridrich Strba <fridrich at documentfoundation.org>

diff --git a/starmath/source/ElementsDockingWindow.cxx b/starmath/source/ElementsDockingWindow.cxx
index 34427ab..ae1d785 100644
--- a/starmath/source/ElementsDockingWindow.cxx
+++ b/starmath/source/ElementsDockingWindow.cxx
@@ -448,6 +448,8 @@ SmElementsDockingWindow::SmElementsDockingWindow(SfxBindings* pInputBindings, Sf
 
     maElementListBox.SelectEntry(OUString(SmResId(RID_CATEGORY_UNARY_BINARY_OPERATORS)));
     maElementsControl.setElementSetId(RID_CATEGORY_UNARY_BINARY_OPERATORS);
+
+    FreeResource();
 }
 
 SmElementsDockingWindow::~SmElementsDockingWindow ()


More information about the Libreoffice-commits mailing list