reportdesign/source/ui/inspection/GeometryHandler.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 211a4d041933a85364c4693cc741fc3a601f821c
Author: Lionel Elie Mamane <lio...@mamane.lu>
Date:   Fri Feb 22 16:30:03 2013 +0100

    Compare strings with proper length
    
    Change-Id: If88f79a7f63edb254ad5356e9a0fccc5573af106
    Reviewed-on: https://gerrit.libreoffice.org/2338
    Reviewed-by: Michael Stahl <mst...@redhat.com>
    Tested-by: Michael Stahl <mst...@redhat.com>

diff --git a/reportdesign/source/ui/inspection/GeometryHandler.cxx 
b/reportdesign/source/ui/inspection/GeometryHandler.cxx
index cfb5cba..923bf49 100644
--- a/reportdesign/source/ui/inspection/GeometryHandler.cxx
+++ b/reportdesign/source/ui/inspection/GeometryHandler.cxx
@@ -1430,7 +1430,7 @@ inspection::InteractiveSelectionResult SAL_CALL 
GeometryHandler::onInteractivePr
     }
     else if (      PropertyName.equalsAsciiL(PROPERTY_FORMULA.ascii, 
PROPERTY_FORMULA.length)
                 || PropertyName.equalsAsciiL(PROPERTY_INITIALFORMULA.ascii, 
PROPERTY_INITIALFORMULA.length)
-                || PropertyName.equalsAsciiL(PROPERTY_DATAFIELD.ascii, 
PROPERTY_INITIALFORMULA.length)
+                || PropertyName.equalsAsciiL(PROPERTY_DATAFIELD.ascii, 
PROPERTY_DATAFIELD.length)
                 || 
PropertyName.equalsAsciiL(PROPERTY_CONDITIONALPRINTEXPRESSION.ascii, 
PROPERTY_CONDITIONALPRINTEXPRESSION.length))
     {
         ::osl::ClearableMutexGuard aGuard( m_aMutex );
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to