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

Lionel Elie Mamane lionel at mamane.lu
Wed Jul 10 09:15:39 PDT 2013


 connectivity/source/parse/sqlbison.y |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 86ffbdcd402f965d57092528263673378af0fab8
Author: Lionel Elie Mamane <lionel at mamane.lu>
Date:   Wed Jul 10 18:15:14 2013 +0200

    make aEmptyString const
    
    ensures nobody mistakenly modifies it, and makes other code get
    a non-empty string where empty string is expected.
    
    Change-Id: I477edd0e589444da19b68381234eb5e85ecd54cc

diff --git a/connectivity/source/parse/sqlbison.y b/connectivity/source/parse/sqlbison.y
index 160852f..b7fac32 100644
--- a/connectivity/source/parse/sqlbison.y
+++ b/connectivity/source/parse/sqlbison.y
@@ -53,7 +53,7 @@
 #pragma warning(disable:4273 4701 4706)
 #endif
 
-static ::rtl::OUString aEmptyString;
+static const ::rtl::OUString aEmptyString;
 
 static connectivity::OSQLInternalNode* newNode(const sal_Char* pNewValue,
 							     const connectivity::SQLNodeType eNodeType,


More information about the Libreoffice-commits mailing list