[Libreoffice-commits] .: svtools/source

Lionel Elie Mamane lmamane at kemper.freedesktop.org
Tue Jul 24 09:01:34 PDT 2012


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

New commits:
commit 6faebe5fb2d57110feabecb5202bcb993c92f4bd
Author: Lionel Elie Mamane <lionel at 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 3560f2d..598c8a5 100644
--- a/svtools/source/brwbox/editbrowsebox.cxx
+++ b/svtools/source/brwbox/editbrowsebox.cxx
@@ -898,7 +898,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


More information about the Libreoffice-commits mailing list