diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-02-04 20:46:57 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-02-04 20:49:59 +0000 |
commit | af6cd2356afd1212acc529f796f8043ad7e278e6 (patch) | |
tree | a46e0181a88c4fca8cd6d5a9cb473bbfd2d71d31 /framework/source/fwe/xml/menuconfiguration.cxx | |
parent | 38a65f76bc944ea730ebac7640dc135248ec3da0 (diff) |
rename MenuConfiguration::Attributes->MenuAttributes
Change-Id: I2ada1394c4cbee7c27b02f241ee4a254597a5dd8
Diffstat (limited to 'framework/source/fwe/xml/menuconfiguration.cxx')
-rw-r--r-- | framework/source/fwe/xml/menuconfiguration.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/framework/source/fwe/xml/menuconfiguration.cxx b/framework/source/fwe/xml/menuconfiguration.cxx index aabbc47b9751..1d2a8dd78cac 100644 --- a/framework/source/fwe/xml/menuconfiguration.cxx +++ b/framework/source/fwe/xml/menuconfiguration.cxx @@ -139,25 +139,25 @@ void MenuConfiguration::StoreMenuBarConfigurationToXML( } } -sal_uIntPtr MenuConfiguration::Attributes::CreateAttribute(const OUString& rFrame, const OUString& rImageIdStr) +sal_uIntPtr MenuAttributes::CreateAttribute(const OUString& rFrame, const OUString& rImageIdStr) { - Attributes* pAttributes = new Attributes(rFrame, rImageIdStr); + MenuAttributes* pAttributes = new MenuAttributes(rFrame, rImageIdStr); pAttributes->acquire(); return reinterpret_cast<sal_uIntPtr>(pAttributes); } -sal_uIntPtr MenuConfiguration::Attributes::CreateAttribute(const css::uno::WeakReference<css::frame::XDispatchProvider>& rDispatchProvider) +sal_uIntPtr MenuAttributes::CreateAttribute(const css::uno::WeakReference<css::frame::XDispatchProvider>& rDispatchProvider) { - Attributes* pAttributes = new Attributes(rDispatchProvider); + MenuAttributes* pAttributes = new MenuAttributes(rDispatchProvider); pAttributes->acquire(); return reinterpret_cast<sal_uIntPtr>(pAttributes); } -void MenuConfiguration::Attributes::ReleaseAttribute(sal_uIntPtr nAttributePtr) +void MenuAttributes::ReleaseAttribute(sal_uIntPtr nAttributePtr) { if (!nAttributePtr) return; - Attributes* pAttributes = reinterpret_cast<Attributes*>(nAttributePtr); + MenuAttributes* pAttributes = reinterpret_cast<MenuAttributes*>(nAttributePtr); pAttributes->release(); } |