summaryrefslogtreecommitdiff
path: root/sdext/source/presenter/PresenterNotesView.cxx
diff options
context:
space:
mode:
authorRich Wareham <rjw57@cam.ac.uk>2012-01-12 12:05:37 +0000
committerMichael Meeks <michael.meeks@suse.com>2012-01-12 14:43:15 +0000
commit15fd86b9753cf201e7893618cb442ecc06c5385d (patch)
tree3f7040d4e176220b3c6ce5e1d73c0f0f04043ed4 /sdext/source/presenter/PresenterNotesView.cxx
parente198eea5a87bff84783bd038cf134e6ea3b764ad (diff)
sdext/source/presenter/*: remove extraneous vertical whitespace
Replace 5 lines of vertical whitespace in sdext/source/presenter/* with a single line so that more can be seen on the screen at once. Fixes bug 44635
Diffstat (limited to 'sdext/source/presenter/PresenterNotesView.cxx')
-rw-r--r--sdext/source/presenter/PresenterNotesView.cxx85
1 files changed, 0 insertions, 85 deletions
diff --git a/sdext/source/presenter/PresenterNotesView.cxx b/sdext/source/presenter/PresenterNotesView.cxx
index 09de8aacb7d5..ccdadf1b15ef 100644
--- a/sdext/source/presenter/PresenterNotesView.cxx
+++ b/sdext/source/presenter/PresenterNotesView.cxx
@@ -26,7 +26,6 @@
*
************************************************************************/
-
#include "PresenterNotesView.hxx"
#include "PresenterButton.hxx"
#include "PresenterCanvasHelper.hxx"
@@ -150,16 +149,10 @@ PresenterNotesView::PresenterNotesView (
}
}
-
-
-
PresenterNotesView::~PresenterNotesView (void)
{
}
-
-
-
void SAL_CALL PresenterNotesView::disposing (void)
{
if (mxParentWindow.is())
@@ -205,9 +198,6 @@ void SAL_CALL PresenterNotesView::disposing (void)
mxViewId = NULL;
}
-
-
-
void PresenterNotesView::CreateToolBar (
const css::uno::Reference<css::uno::XComponentContext>& rxContext,
const ::rtl::Reference<PresenterController>& rpPresenterController)
@@ -245,9 +235,6 @@ void PresenterNotesView::CreateToolBar (
A2S("PresenterScreenSettings/ToolBars/NotesToolBar"));
}
-
-
-
void PresenterNotesView::SetSlide (const Reference<drawing::XDrawPage>& rxNotesPage)
{
static const ::rtl::OUString sNotesShapeName (
@@ -309,9 +296,6 @@ void PresenterNotesView::SetSlide (const Reference<drawing::XDrawPage>& rxNotesP
}
}
-
-
-
//----- lang::XEventListener -------------------------------------------------
void SAL_CALL PresenterNotesView::disposing (const lang::EventObject& rEventObject)
@@ -321,9 +305,6 @@ void SAL_CALL PresenterNotesView::disposing (const lang::EventObject& rEventObje
mxParentWindow = NULL;
}
-
-
-
//----- XWindowListener -------------------------------------------------------
void SAL_CALL PresenterNotesView::windowResized (const awt::WindowEvent& rEvent)
@@ -333,36 +314,24 @@ void SAL_CALL PresenterNotesView::windowResized (const awt::WindowEvent& rEvent)
Layout();
}
-
-
-
void SAL_CALL PresenterNotesView::windowMoved (const awt::WindowEvent& rEvent)
throw (RuntimeException)
{
(void)rEvent;
}
-
-
-
void SAL_CALL PresenterNotesView::windowShown (const lang::EventObject& rEvent)
throw (RuntimeException)
{
(void)rEvent;
}
-
-
-
void SAL_CALL PresenterNotesView::windowHidden (const lang::EventObject& rEvent)
throw (RuntimeException)
{
(void)rEvent;
}
-
-
-
//----- XPaintListener --------------------------------------------------------
void SAL_CALL PresenterNotesView::windowPaint (const awt::PaintEvent& rEvent)
@@ -377,9 +346,6 @@ void SAL_CALL PresenterNotesView::windowPaint (const awt::PaintEvent& rEvent)
Paint(rEvent.UpdateRect);
}
-
-
-
//----- XResourceId -----------------------------------------------------------
Reference<XResourceId> SAL_CALL PresenterNotesView::getResourceId (void)
@@ -388,18 +354,12 @@ Reference<XResourceId> SAL_CALL PresenterNotesView::getResourceId (void)
return mxViewId;
}
-
-
-
sal_Bool SAL_CALL PresenterNotesView::isAnchorOnly (void)
throw (RuntimeException)
{
return false;
}
-
-
-
//----- XDrawView -------------------------------------------------------------
void SAL_CALL PresenterNotesView::setCurrentPage (const Reference<drawing::XDrawPage>& rxSlide)
@@ -420,18 +380,12 @@ void SAL_CALL PresenterNotesView::setCurrentPage (const Reference<drawing::XDraw
SetSlide(mxCurrentNotesPage);
}
-
-
-
Reference<drawing::XDrawPage> SAL_CALL PresenterNotesView::getCurrentPage (void)
throw (RuntimeException)
{
return NULL;
}
-
-
-
//----- XKeyListener ----------------------------------------------------------
void SAL_CALL PresenterNotesView::keyPressed (const awt::KeyEvent& rEvent)
@@ -476,18 +430,12 @@ void SAL_CALL PresenterNotesView::keyPressed (const awt::KeyEvent& rEvent)
}
}
-
-
-
void SAL_CALL PresenterNotesView::keyReleased (const awt::KeyEvent& rEvent)
throw (RuntimeException)
{
(void)rEvent;
}
-
-
-
//-----------------------------------------------------------------------------
void PresenterNotesView::Layout (void)
@@ -570,9 +518,6 @@ void PresenterNotesView::Layout (void)
}
}
-
-
-
void PresenterNotesView::Paint (const awt::Rectangle& rUpdateBox)
{
if ( ! mxParentWindow.is())
@@ -597,9 +542,6 @@ void PresenterNotesView::Paint (const awt::Rectangle& rUpdateBox)
}
}
-
-
-
void PresenterNotesView::PaintToolBar (const awt::Rectangle& rUpdateBox)
{
awt::Rectangle aWindowBox (mxParentWindow->getPosSize());
@@ -635,9 +577,6 @@ void PresenterNotesView::PaintToolBar (const awt::Rectangle& rUpdateBox)
aRenderState);
}
-
-
-
void PresenterNotesView::PaintText (const awt::Rectangle& rUpdateBox)
{
const awt::Rectangle aBox (PresenterGeometryHelper::Intersection(rUpdateBox,
@@ -671,9 +610,6 @@ void PresenterNotesView::PaintText (const awt::Rectangle& rUpdateBox)
xSpriteCanvas->updateScreen(sal_False);
}
-
-
-
void PresenterNotesView::Invalidate (void)
{
mpPresenterController->GetPaintManager()->Invalidate(
@@ -681,9 +617,6 @@ void PresenterNotesView::Invalidate (void)
PresenterGeometryHelper::ConvertRectangle(maTextBoundingBox));
}
-
-
-
void PresenterNotesView::Scroll (const double rnDistance)
{
try
@@ -698,9 +631,6 @@ void PresenterNotesView::Scroll (const double rnDistance)
{}
}
-
-
-
void PresenterNotesView::SetTop (const double nTop)
{
try
@@ -715,9 +645,6 @@ void PresenterNotesView::SetTop (const double nTop)
{}
}
-
-
-
void PresenterNotesView::ChangeFontSize (const sal_Int32 nSizeChange)
{
const sal_Int32 nNewSize (mpFont->mnSize + nSizeChange);
@@ -754,17 +681,11 @@ void PresenterNotesView::ChangeFontSize (const sal_Int32 nSizeChange)
}
}
-
-
-
::boost::shared_ptr<PresenterTextView> PresenterNotesView::GetTextView (void) const
{
return mpTextView;
}
-
-
-
void PresenterNotesView::UpdateScrollBar (void)
{
if (mpScrollBar.get() != NULL)
@@ -786,9 +707,6 @@ void PresenterNotesView::UpdateScrollBar (void)
}
}
-
-
-
void PresenterNotesView::ThrowIfDisposed (void)
throw (::com::sun::star::lang::DisposedException)
{
@@ -800,9 +718,6 @@ void PresenterNotesView::ThrowIfDisposed (void)
}
}
-
-
-
} } // end of namespace ::sdext::presenter
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */