summaryrefslogtreecommitdiff
path: root/UnoControls
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-03-23 09:39:07 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-03-23 13:02:45 +0100
commit604df2f608c03a59be65822d27babf0b00714bd6 (patch)
tree3d559101970e8ac1e3067416259d5d1b03749574 /UnoControls
parent119d8137695e38c16e9fad9f3ce8a774f58e4b9a (diff)
[API CHANGE] Fix typo in prop implemented by stardiv.UnoControls.FrameControl
There is exactly one implementation of css.frame.FrameControl (which demands a property named "ComponentUrl" not "ComponentURL"), and exactly one place where that property is used. So switch those two places to use the spelling of the property name as documented in the UNOIDL service. (Even though that can be considered an incompatible change, in the unlikely case that 3rd party code expects to be able to access the given implementation's property with the mis- spelled name.) Change-Id: I4fa3f21851b61079c09deea1a24aac22bc96f36f Reviewed-on: https://gerrit.libreoffice.org/51766 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'UnoControls')
-rw-r--r--UnoControls/source/controls/framecontrol.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/UnoControls/source/controls/framecontrol.cxx b/UnoControls/source/controls/framecontrol.cxx
index 4c0a2f84864a..69afc639af71 100644
--- a/UnoControls/source/controls/framecontrol.cxx
+++ b/UnoControls/source/controls/framecontrol.cxx
@@ -344,7 +344,7 @@ IPropertyArrayHelper& FrameControl::getInfoHelper()
// attention: properties need to be sorted by name!
static OPropertyArrayHelper ourPropertyInfo(
{
- Property( "ComponentURL", PropertyHandle::Componenturl, cppu::UnoType<OUString>::get(),
+ Property( "ComponentUrl", PropertyHandle::Componenturl, cppu::UnoType<OUString>::get(),
PropertyAttribute::BOUND | PropertyAttribute::CONSTRAINED ),
Property( "Frame", PropertyHandle::Frame, cppu::UnoType<XFrame>::get(),
PropertyAttribute::BOUND | PropertyAttribute::TRANSIENT ),