connectivity/source/drivers/firebird/PreparedStatement.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit be8d620464b9627b6034238270440fcaff0965e0
Author: Stephan Bergmann <sberg...@redhat.com>
Date:   Thu Nov 10 11:48:04 2016 +0100

    loplugin:stringconstant
    
    Change-Id: I0eb2b9986840b1bd5bc892da23c56205047bc120

diff --git a/connectivity/source/drivers/firebird/PreparedStatement.cxx 
b/connectivity/source/drivers/firebird/PreparedStatement.cxx
index f9adc0b..2802be6 100644
--- a/connectivity/source/drivers/firebird/PreparedStatement.cxx
+++ b/connectivity/source/drivers/firebird/PreparedStatement.cxx
@@ -323,7 +323,7 @@ sal_Int64 
OPreparedStatement::toNumericWithoutDecimalPlace(const OUString& sSour
     OUString sNumber(sSource);
 
     // cut off leading 0 eventually ( eg. 0.567 -> .567)
-    sSource.startsWith(OUString("0"), &sNumber);
+    sSource.startsWith("0", &sNumber);
 
     sal_Int32 nDotIndex = sNumber.indexOf((sal_Unicode)'.');
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to