diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-07-18 08:20:02 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-07-18 08:23:28 +0200 |
commit | 15fd36440ce049fa7a577ff198649f782dad3c1f (patch) | |
tree | 2c8bb5a15301023df98259e93b251430bfb80edc /toolkit/source/controls/unocontrols.cxx | |
parent | 4dd7c0369d66aa7b30f2b9e547faa5fb2c7cd8dd (diff) |
Un-inline use of szServiceName2_UnoControlEdit
...as it is not marked SAL_DLLPUBLIC_EXPORT unlike the class it is used in
so at least Clang would complain.
Change-Id: I59886caead24bca4cd4c0e47edb0eaac349eb213
Diffstat (limited to 'toolkit/source/controls/unocontrols.cxx')
-rw-r--r-- | toolkit/source/controls/unocontrols.cxx | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/toolkit/source/controls/unocontrols.cxx b/toolkit/source/controls/unocontrols.cxx index 178e5ef3546b..f0aeec8f9129 100644 --- a/toolkit/source/controls/unocontrols.cxx +++ b/toolkit/source/controls/unocontrols.cxx @@ -484,6 +484,18 @@ void UnoEditControl::getColumnsAndLines( sal_Int16& nCols, sal_Int16& nLines ) t Impl_getColumnsAndLines( nCols, nLines ); } +::rtl::OUString UnoEditControl::getImplementationName( ) throw(uno::RuntimeException) +{ + return ::rtl::OUString( "stardiv.Toolkit.UnoEditControl" ); +} + +uno::Sequence< ::rtl::OUString > UnoEditControl::getSupportedServiceNames() throw(uno::RuntimeException) +{ + uno::Sequence< ::rtl::OUString > aNames = UnoControlBase::getSupportedServiceNames( ); + aNames.realloc( aNames.getLength() + 1 ); + aNames[ aNames.getLength() - 1 ] = ::rtl::OUString::createFromAscii( szServiceName2_UnoControlEdit ); + return aNames; +} // ---------------------------------------------------- // class UnoControlFileControlModel |