svtools/source/brwbox/editbrowsebox.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 6db60dd61764088017381e907bf3e32b02c89feb
Author: Lionel Elie Mamane <lio...@mamane.lu>
Date:   Tue Jul 24 17:59:11 2012 +0200

    janitorial: C++-style cast instead of legacy C-style cast
    
    Change-Id: I86cd5d87751c5a9dd31a392e2b3847e8f5741524

diff --git a/svtools/source/brwbox/editbrowsebox.cxx 
b/svtools/source/brwbox/editbrowsebox.cxx
index 1bf3f97..1625e15 100644
--- a/svtools/source/brwbox/editbrowsebox.cxx
+++ b/svtools/source/brwbox/editbrowsebox.cxx
@@ -900,7 +900,7 @@ namespace svt
             return sal_False;
         }
 
-        EditBrowseBox * pTHIS = (EditBrowseBox *) this;
+        EditBrowseBox * pTHIS = const_cast<EditBrowseBox *> (this);
 
         // save the cell content if
         // a) a selection is beeing made
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to