diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2014-05-27 07:39:55 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2014-05-27 14:00:28 +0200 |
commit | e6ff6f9a71ec88747e3cf8165fb72a96b57f2e99 (patch) | |
tree | ce7c487c98d6dec383e84d63b2ea1c4cf61a3a10 /xmlhelp/source/cxxhelp/provider/contentcaps.cxx | |
parent | 3041269ff285685d660a049bfef43f3dab6f8946 (diff) |
use namespace css instead of com::sun
Change-Id: I47582b072bb939cf270a76e430a9f7908b5c1d93
Diffstat (limited to 'xmlhelp/source/cxxhelp/provider/contentcaps.cxx')
-rw-r--r-- | xmlhelp/source/cxxhelp/provider/contentcaps.cxx | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/xmlhelp/source/cxxhelp/provider/contentcaps.cxx b/xmlhelp/source/cxxhelp/provider/contentcaps.cxx index 82a8f152587a..4ae745525212 100644 --- a/xmlhelp/source/cxxhelp/provider/contentcaps.cxx +++ b/xmlhelp/source/cxxhelp/provider/contentcaps.cxx @@ -26,14 +26,13 @@ #include "content.hxx" -using namespace com::sun; using namespace com::sun::star; using namespace chelp; // virtual uno::Sequence< beans::Property > Content::getProperties( - const uno::Reference< star::ucb::XCommandEnvironment > & /*xEnv*/ ) + const uno::Reference< ucb::XCommandEnvironment > & /*xEnv*/ ) { bool withMediaType = m_aURLParameter.isFile() || m_aURLParameter.isRoot(); bool isModule = m_aURLParameter.isModule(); @@ -155,44 +154,44 @@ uno::Sequence< beans::Property > Content::getProperties( } // virtual -uno::Sequence< star::ucb::CommandInfo > Content::getCommands( - const uno::Reference< star::ucb::XCommandEnvironment > & /*xEnv*/ ) +uno::Sequence< ucb::CommandInfo > Content::getCommands( + const uno::Reference< ucb::XCommandEnvironment > & /*xEnv*/ ) { // Supported commands #define COMMAND_COUNT 5 - static const star::ucb::CommandInfo aCommandInfoTable[] = + static const ucb::CommandInfo aCommandInfoTable[] = { // Required commands - star::ucb::CommandInfo( + ucb::CommandInfo( "getCommandInfo", -1, getCppuVoidType() ), - star::ucb::CommandInfo( + ucb::CommandInfo( "getPropertySetInfo", -1, getCppuVoidType() ), - star::ucb::CommandInfo( + ucb::CommandInfo( "getPropertyValues", -1, getCppuType( static_cast< uno::Sequence< beans::Property > * >( 0 ) ) ), - star::ucb::CommandInfo( + ucb::CommandInfo( "setPropertyValues", -1, getCppuType( static_cast< uno::Sequence< beans::PropertyValue > * >( 0 ) ) ), - star::ucb::CommandInfo( + ucb::CommandInfo( "open", -1, - cppu::UnoType<star::ucb::OpenCommandArgument2>::get() + cppu::UnoType<ucb::OpenCommandArgument2>::get() ) }; - return uno::Sequence< star::ucb::CommandInfo >( + return uno::Sequence< ucb::CommandInfo >( aCommandInfoTable, COMMAND_COUNT ); } |