[Libreoffice-commits] core.git: include/cppuhelper

Isamu Mogi saturday6c at gmail.com
Wed Mar 19 03:25:56 PDT 2014


 include/cppuhelper/weak.hxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 38cf887abd4b8a0280917e31aa27632f4f341b9a
Author: Isamu Mogi <saturday6c at gmail.com>
Date:   Mon Mar 17 23:20:01 2014 +0900

    Replace UTF-8 no-break space to ASCII space
    
    UTF-8 no-break space causes C4819 warning in MSVC with CP932.
    
    Change-Id: I83a6ea6d060d132d21d8ea3141051f850d0e6bd2
    Reviewed-on: https://gerrit.libreoffice.org/8628
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/include/cppuhelper/weak.hxx b/include/cppuhelper/weak.hxx
index 47f3d8d..67bc0b7 100644
--- a/include/cppuhelper/weak.hxx
+++ b/include/cppuhelper/weak.hxx
@@ -163,8 +163,8 @@ public:
     To be used like:
 
     css::uno::XInterface * FOO_constructor_function(...) {
-        return cppu::acquire(new FOO(...));
-    }
+        return cppu::acquire(new FOO(...));
+    }
 
     @param instance
     Newly created instance that should be acquired.


More information about the Libreoffice-commits mailing list