summaryrefslogtreecommitdiff
path: root/sdext/source/presenter/PresenterController.cxx
diff options
context:
space:
mode:
authorBjoern Michaelsen <bjoern.michaelsen@canonical.com>2011-08-23 15:07:32 +0200
committerBjoern Michaelsen <bjoern.michaelsen@canonical.com>2011-08-23 15:07:32 +0200
commit99effbc418feee675b6fd54a07c2f68d927de469 (patch)
treeb9a415494780c6cb86d0dfcf2d69a9da9cc436bd /sdext/source/presenter/PresenterController.cxx
parentf76f752dc908cfbab1cade605fe4f742233dfa6d (diff)
recreated tag libreoffice-3.3.0.4 which had these commits:
commit 01c917c0bdbb833cda4a0a77bc10264c4d40fcd5 (tag: refs/tags/libreoffice-3.3.0.4, refs/remotes/origin/libreoffice-3-3-0) Author: Petr Mladek <pmladek@suse.cz> Date: Tue Jan 18 19:01:16 2011 +0100 Version 3.3.0.4, tag libreoffice-3.3.0.4 (3.3-rc4) commit 983cd7d8b4d9c87f872472343f8399cb640cfb9a Author: Rene Engelhard <rene@debian.org> Date: Wed Jan 12 10:03:30 2011 +0100 fix presenter screens description.xml build sdext/source/presenter/makefile.mk | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) commit cb68579984b772fcbccd673f9cf930b4828d6fde Author: Petr Mladek <pmladek@suse.cz> Date: Tue Jan 11 22:59:36 2011 +0100 Branch libreoffice-3-3-0 This is 'libreoffice-3-3-0' - the stable branch for the 3.3.0 release. Only very safe changes, reviewed by three people are allowed. If you want to commit more complicated fix for the next 3.3.x release, please use the 'libreoffice-3-3' branch. If you want to build something cool, unstable, and risky, use master.
Notes
split repo tag: extensions_libreoffice-3.3.0.4
Diffstat (limited to 'sdext/source/presenter/PresenterController.cxx')
-rw-r--r--sdext/source/presenter/PresenterController.cxx26
1 files changed, 13 insertions, 13 deletions
diff --git a/sdext/source/presenter/PresenterController.cxx b/sdext/source/presenter/PresenterController.cxx
index 2dbe9cde966f..f11dba1300b0 100644
--- a/sdext/source/presenter/PresenterController.cxx
+++ b/sdext/source/presenter/PresenterController.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -225,7 +225,7 @@ PresenterController::~PresenterController (void)
void PresenterController::disposing (void)
{
maInstances.erase(mxController->getFrame());
-
+
if (mxMainWindow.is())
{
mxMainWindow->removeKeyListener(this);
@@ -242,7 +242,7 @@ void PresenterController::disposing (void)
mpWindowManager = NULL;
if (xWindowManagerComponent.is())
xWindowManagerComponent->dispose();
-
+
if (mxController.is())
{
Reference<frame::XFrame> xFrame (mxController->getFrame());
@@ -294,7 +294,7 @@ void PresenterController::UpdateCurrentSlide (const sal_Int32 nOffset)
GetSlides(nOffset);
UpdatePaneTitles();
UpdateViews();
-
+
// Update the accessibility object.
if (IsAccessibilityActive())
{
@@ -409,7 +409,7 @@ void PresenterController::UpdatePaneTitles (void)
for (iPane=mpPaneContainer->maPanes.begin(); iPane!=mpPaneContainer->maPanes.end(); ++iPane)
{
OSL_ASSERT((*iPane).get() != NULL);
-
+
OUString sTemplate (IsAccessibilityActive()
? (*iPane)->msAccessibleTitleTemplate
: (*iPane)->msTitleTemplate);
@@ -652,7 +652,7 @@ void PresenterController::DispatchUnoCommand (const OUString& rsCommand) const
util::URL aURL;
aURL.Complete = rsCommand;
- mxUrlTransformer->parseStrict(aURL);
+ mxUrlTransformer->parseStrict(aURL);
Reference<frame::XDispatch> xDispatch (GetDispatch(aURL));
if ( ! xDispatch.is())
@@ -668,7 +668,7 @@ Reference<css::frame::XDispatch> PresenterController::GetDispatch (const util::U
{
if ( ! mxController.is())
return NULL;
-
+
Reference<frame::XDispatchProvider> xDispatchProvider (mxController->getFrame(), UNO_QUERY);
if ( ! xDispatchProvider.is())
return NULL;
@@ -824,7 +824,7 @@ void SAL_CALL PresenterController::notifyConfigurationChange (
sal_Int32 nType (0);
if ( ! (rEvent.UserData >>= nType))
return;
-
+
switch (nType)
{
case ResourceActivationEventType:
@@ -841,7 +841,7 @@ void SAL_CALL PresenterController::notifyConfigurationChange (
{
PresenterPaneContainer::SharedPaneDescriptor pDescriptor (
mpPaneContainer->FindPaneId(xPane->getResourceId()));
-
+
// When there is a call out anchor location set then tell the
// window about it.
if (pDescriptor->mbHasCalloutAnchor)
@@ -1195,7 +1195,7 @@ void SAL_CALL PresenterController::mouseReleased (const css::awt::MouseEvent& rE
{
(void)rEvent;
}
-
+
@@ -1204,7 +1204,7 @@ void SAL_CALL PresenterController::mouseEntered (const css::awt::MouseEvent& rEv
{
(void)rEvent;
}
-
+
@@ -1218,7 +1218,7 @@ void SAL_CALL PresenterController::mouseExited (const css::awt::MouseEvent& rEve
//----- XMouseMotionListener --------------------------------------------------
-
+
void SAL_CALL PresenterController::mouseMoved (const css::awt::MouseEvent& rEvent)
throw (css::uno::RuntimeException)
{
@@ -1298,7 +1298,7 @@ void PresenterController::LoadTheme (const Reference<XPane>& rxPane)
double PresenterController::GetSlideAspectRatio (void) const
{
double nSlideAspectRatio (28.0/21.0);
-
+
try
{
if (mxController.is())