[Libreoffice-commits] core.git: sc/source

Markus Mohrhard markus.mohrhard at googlemail.com
Sat Sep 7 04:20:23 PDT 2013


 sc/source/core/tool/formularesult.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 15dfb04267015a9dfbc36d79999d51527bc00358
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date:   Sat Sep 7 13:15:27 2013 +0200

    WaE: returning reference to temporary object
    
    Change-Id: Id703a4a058ca31c7bb1e346e5039c0ff52e91bc5

diff --git a/sc/source/core/tool/formularesult.cxx b/sc/source/core/tool/formularesult.cxx
index cf49065..511bfa5 100644
--- a/sc/source/core/tool/formularesult.cxx
+++ b/sc/source/core/tool/formularesult.cxx
@@ -411,7 +411,7 @@ const OUString & ScFormulaResult::GetString() const
                 ;   // nothing
         }
     }
-    return EMPTY_STRING;
+    return EMPTY_OUSTRING;
 }
 
 ScConstMatrixRef ScFormulaResult::GetMatrix() const


More information about the Libreoffice-commits mailing list