summaryrefslogtreecommitdiff
path: root/sdext/source/presenter/PresenterScreen.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sdext/source/presenter/PresenterScreen.cxx')
-rw-r--r--sdext/source/presenter/PresenterScreen.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/sdext/source/presenter/PresenterScreen.cxx b/sdext/source/presenter/PresenterScreen.cxx
index f904ab122fd9..82e3fcd5075a 100644
--- a/sdext/source/presenter/PresenterScreen.cxx
+++ b/sdext/source/presenter/PresenterScreen.cxx
@@ -511,7 +511,7 @@ void PresenterScreen::SwitchMonitors()
uno::Any aDisplay;
aDisplay <<= nNewScreen;
xProperties->setPropertyValue(A2S("Display"), aDisplay);
- } catch (const uno::Exception &e) {
+ } catch (const uno::Exception &) {
}
}
@@ -873,9 +873,8 @@ void PresenterScreen::ProcessComponent (
nY+nHeight);
}
}
- catch (Exception& e)
+ catch (const Exception&)
{
- (void)e;
OSL_ASSERT(false);
}
}