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

Julien Nabet serval2412 at yahoo.fr
Mon Jan 19 03:11:13 PST 2015


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

New commits:
commit c22dbb2602c9c24eaa248a5a506dcb13ba435e9a
Author: Julien Nabet <serval2412 at 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 <lionel at mamane.lu>
    Tested-by: Lionel Elie Mamane <lionel at 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));


More information about the Libreoffice-commits mailing list