diff options
-rw-r--r-- | include/sal/log-areas.dox | 1 | ||||
-rw-r--r-- | sd/source/ui/remotecontrol/AvahiNetworkService.cxx | 4 | ||||
-rw-r--r-- | sd/source/ui/remotecontrol/Receiver.cxx | 7 |
3 files changed, 7 insertions, 5 deletions
diff --git a/include/sal/log-areas.dox b/include/sal/log-areas.dox index 2041e7e8ab15..0699da69d5c2 100644 --- a/include/sal/log-areas.dox +++ b/include/sal/log-areas.dox @@ -103,6 +103,7 @@ certain functionality. @li @c sd.slideshow @li @c sdremote @li @c sdremote.bluetooth +@li @c sdremote.wifi @section editeng diff --git a/sd/source/ui/remotecontrol/AvahiNetworkService.cxx b/sd/source/ui/remotecontrol/AvahiNetworkService.cxx index 2f44cb1bbe46..68354332df12 100644 --- a/sd/source/ui/remotecontrol/AvahiNetworkService.cxx +++ b/sd/source/ui/remotecontrol/AvahiNetworkService.cxx @@ -41,7 +41,7 @@ static void entry_group_callback(AvahiEntryGroup *g, AvahiEntryGroupState state, switch (state) { case AVAHI_ENTRY_GROUP_ESTABLISHED : /* The entry group has been established successfully */ - std::cerr << "Service " << avahiService->getName().c_str() << " successfully established.\n"; + SAL_INFO( "sdremote.wifi", "Service " << avahiService->getName().c_str() << " successfully established." ); break; case AVAHI_ENTRY_GROUP_COLLISION : { @@ -52,7 +52,7 @@ static void entry_group_callback(AvahiEntryGroup *g, AvahiEntryGroupState state, n = avahi_alternative_service_name(avahiService->getName().c_str()); avahiService->setName(n); - std::cerr << "Service name collision, renaming service to " << avahiService->getName() << std::endl; + SAL_INFO( "sdremote.wifi", "Service name collision, renaming service to " << avahiService->getName() ); /* And recreate the services */ create_services(avahi_entry_group_get_client(g)); diff --git a/sd/source/ui/remotecontrol/Receiver.cxx b/sd/source/ui/remotecontrol/Receiver.cxx index 40fc7342a637..f5a7617acb40 100644 --- a/sd/source/ui/remotecontrol/Receiver.cxx +++ b/sd/source/ui/remotecontrol/Receiver.cxx @@ -122,18 +122,19 @@ void Receiver::executeCommand( const std::vector<OString> &aCommand ) else if (aCommand[0].equals( "pointer_started" )) { // xSlideShowController->setPointerMode(true); - std::cerr << "Pointer started, we display the pointer on screen"<< std::endl; + SAL_INFO( "sdremote", "Pointer started, we display the pointer on screen" ); } else if (aCommand[0].equals( "pointer_dismissed" )) { // xSlideShowController->setPointerMode(false); - std::cerr << "Pointer dismissed, we hide the pointer on screen"<< std::endl; + SAL_INFO( "sdremote", "Pointer dismissed, we hide the pointer on screen" ); } else if (aCommand[0].equals( "pointer_coordination" )) { float x = aCommand[1].toFloat(); float y = aCommand[2].toFloat(); - std::cerr << "("<<x<<","<<y<<")"<< std::endl; + + SAL_INFO( "sdremote", "Pointer at ("<<x<<","<<y<<")" ); const ::com::sun::star::geometry::RealPoint2D pos(x,y); // Same problem here... // xSlideShowController->setPointerPosition(pos); |