svx/source/form/fmpgeimp.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit c22dbb2602c9c24eaa248a5a506dcb13ba435e9a
Author: Julien Nabet <serval2...@yahoo.fr>
Date:   Sun Jan 18 22:34:10 2015 +0100

    Mistake in choice of FM_PROP
    
    Change-Id: Idb23bdefaf4abcbf4f7493c0dfea2abe84948023
    Reviewed-on: https://gerrit.libreoffice.org/13982
    Reviewed-by: Lionel Elie Mamane <lio...@mamane.lu>
    Tested-by: Lionel Elie Mamane <lio...@mamane.lu>

diff --git a/svx/source/form/fmpgeimp.cxx b/svx/source/form/fmpgeimp.cxx
index 90446ea..7c7edd7 100644
--- a/svx/source/form/fmpgeimp.cxx
+++ b/svx/source/form/fmpgeimp.cxx
@@ -511,7 +511,7 @@ Reference< ::com::sun::star::form::XForm >  
FmFormPageImpl::findPlaceInFormCompo
             {
                 Reference< ::com::sun::star::beans::XPropertySet >  
xDatabaseProps(rDatabase, UNO_QUERY);
                 Any aDatabaseUrl = 
xDatabaseProps->getPropertyValue(FM_PROP_URL);
-                xFormProps->setPropertyValue(FM_PROP_DATASOURCE, aDatabaseUrl);
+                xFormProps->setPropertyValue(FM_PROP_URL, aDatabaseUrl);
             }
 
             
xFormProps->setPropertyValue(FM_PROP_COMMAND,makeAny(rCursorSource));
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to