diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2012-10-06 08:30:33 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2012-10-06 08:30:33 +0200 |
commit | 27fafb78f1d9dd59d0c4615eaf39f5e80db13753 (patch) | |
tree | 917e7b3db340d9123bafa234b1e2d266c0c1728e /sd | |
parent | Remove newly unused methods (diff) | |
download | core-27fafb78f1d9dd59d0c4615eaf39f5e80db13753.tar.gz core-27fafb78f1d9dd59d0c4615eaf39f5e80db13753.zip |
Remove 2 other unused methods
Change-Id: I54b00335020676ada0bcb09c45410e31fe74b59c
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/remotecontrol/Communicator.cxx | 4 | ||||
-rw-r--r-- | sd/source/ui/remotecontrol/Communicator.hxx | 1 | ||||
-rw-r--r-- | sd/source/ui/remotecontrol/ImagePreparer.cxx | 48 | ||||
-rw-r--r-- | sd/source/ui/remotecontrol/ImagePreparer.hxx | 1 |
4 files changed, 0 insertions, 54 deletions
diff --git a/sd/source/ui/remotecontrol/Communicator.cxx b/sd/source/ui/remotecontrol/Communicator.cxx index 02a39d8df7f1..0d1beb62d1f3 100644 --- a/sd/source/ui/remotecontrol/Communicator.cxx +++ b/sd/source/ui/remotecontrol/Communicator.cxx @@ -123,8 +123,4 @@ void Communicator::disposeListener() } } -Transmitter* Communicator::getTransmitter() -{ - return pTransmitter; -} /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sd/source/ui/remotecontrol/Communicator.hxx b/sd/source/ui/remotecontrol/Communicator.hxx index d7ad796aa77a..81b9e673acd4 100644 --- a/sd/source/ui/remotecontrol/Communicator.hxx +++ b/sd/source/ui/remotecontrol/Communicator.hxx @@ -45,7 +45,6 @@ namespace sd Communicator( BufferedStreamSocket *pSocket ); ~Communicator(); - Transmitter* getTransmitter(); void presentationStarted( const css::uno::Reference< css::presentation::XSlideShowController > &rController ); void informListenerDestroyed(); diff --git a/sd/source/ui/remotecontrol/ImagePreparer.cxx b/sd/source/ui/remotecontrol/ImagePreparer.cxx index 0ea63027828d..e5423d392695 100644 --- a/sd/source/ui/remotecontrol/ImagePreparer.cxx +++ b/sd/source/ui/remotecontrol/ImagePreparer.cxx @@ -85,7 +85,6 @@ void ImagePreparer::execute() } sendNotes( i ); } -// notesToHtml( 0 ); mRef.clear(); } @@ -220,53 +219,6 @@ void ImagePreparer::sendNotes( sal_uInt32 aSlideNumber ) } sal_Bool ExportTo( uno::Reference< drawing::XDrawPage>& aNotesPage, String aUrl ); -OString ImagePreparer::notesToHtml( sal_uInt32 aSlideNumber ) -{ - OString aRet(""); - - OUString aFileURL; - FileBase::createTempFile( 0, 0, &aFileURL ); - fprintf( stderr, "%s", OUStringToOString( aFileURL, RTL_TEXTENCODING_UTF8).getStr() ); - - if ( !xController->isRunning() ) - return ""; - - - - - // Get the page - uno::Reference< drawing::XDrawPage > xNotesPage; - uno::Reference< drawing::XDrawPage > xSourceDoc( - xController->getSlideByIndex( aSlideNumber ), - uno::UNO_QUERY_THROW ); - - uno::Reference<presentation::XPresentationPage> xPresentationPage( - xSourceDoc, UNO_QUERY); - if (xPresentationPage.is()) - xNotesPage = uno::Reference< drawing::XDrawPage >( - xPresentationPage->getNotesPage(), uno::UNO_QUERY_THROW ); - else - return ""; - - - ExportTo( xNotesPage, aFileURL ); - - // FIXME: error handling. - -// File aFile( aFileURL ); -// aFile.open(0); -// sal_uInt64 aRead; -// rSize = 0; -// aFile.getSize( rSize ); -// uno::Sequence<sal_Int8> aContents( rSize ); - -// aFile.read( aContents.getArray(), rSize, aRead ); -// aFile.close(); -// File::remove( aFileURL ); -// return aContents; - - return aRet; -} // Code copied from sdremote/source/presenter/PresenterNotesView.cxx OString ImagePreparer::prepareNotes( sal_uInt32 aSlideNumber ) diff --git a/sd/source/ui/remotecontrol/ImagePreparer.hxx b/sd/source/ui/remotecontrol/ImagePreparer.hxx index 2adf22863900..130eeb699041 100644 --- a/sd/source/ui/remotecontrol/ImagePreparer.hxx +++ b/sd/source/ui/remotecontrol/ImagePreparer.hxx @@ -45,7 +45,6 @@ private: void sendNotes( sal_uInt32 aSlideNumber ); rtl::OString prepareNotes( sal_uInt32 aSlideNumber ); - rtl::OString notesToHtml( sal_uInt32 aSlideNumber ); }; } |