summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2014-03-01 23:13:39 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2014-03-04 08:40:26 -0600
commit1609eb8d6e9b8d9b4d82be5c46656d4d43256125 (patch)
tree370d254e183c7c2a4fdc26f02ed5327a6e52e1ed
parent50945ba67bf6dec66b1ed33011316e0fc9197572 (diff)
fdo#47811: fix setPropertyValue("Name") of Database fieldmaster
This one is assigning to the wrong pType variable. (regression from CWS swwarnings) Change-Id: I9a74734d22313f215ed69c9a57edf7eb035736ea (cherry picked from commit c06f686fe001392ceb7f606f5dc3c775997cc7de) Reviewed-on: https://gerrit.libreoffice.org/8441 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
-rw-r--r--sw/source/core/unocore/unofield.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/unocore/unofield.cxx b/sw/source/core/unocore/unofield.cxx
index 11f347f52661..f49595cea806 100644
--- a/sw/source/core/unocore/unofield.cxx
+++ b/sw/source/core/unocore/unofield.cxx
@@ -652,7 +652,7 @@ throw (beans::UnknownPropertyException, beans::PropertyVetoException,
case RES_DBFLD :
{
rValue >>= m_pImpl->m_sParam3;
- pType = GetFldType();
+ pType2 = GetFldType();
}
break;
}