[Libreoffice-commits] .: sdext/source
Julien Nabet
serval2412 at kemper.freedesktop.org
Sun Feb 13 09:42:24 PST 2011
sdext/source/minimizer/pppoptimizerdialog.cxx | 3 +--
sdext/source/presenter/PresenterPaneAnimator.cxx | 5 ++---
2 files changed, 3 insertions(+), 5 deletions(-)
New commits:
commit 0b58d1d635b33148e6765eb35016b0fb43f214b3
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Sun Feb 13 18:42:06 2011 +0100
Some cppcheck cleaning
diff --git a/sdext/source/minimizer/pppoptimizerdialog.cxx b/sdext/source/minimizer/pppoptimizerdialog.cxx
index 43b0639..47de0ae 100644
--- a/sdext/source/minimizer/pppoptimizerdialog.cxx
+++ b/sdext/source/minimizer/pppoptimizerdialog.cxx
@@ -132,8 +132,6 @@ void SAL_CALL PPPOptimizerDialog::dispatch( const URL& rURL,
const Sequence< PropertyValue >& rArguments )
throw( RuntimeException )
{
- sal_Int64 nFileSizeSource = 0;
- sal_Int64 nFileSizeDest = 0;
if ( mxController.is() && ( rURL.Protocol.compareToAscii( "vnd.com.sun.star.comp.SunPresentationMinimizer:" ) == 0 ) )
{
@@ -141,6 +139,7 @@ void SAL_CALL PPPOptimizerDialog::dispatch( const URL& rURL,
{
try
{
+ sal_Int64 nFileSizeSource,nFileSizeDest = 0;
mpOptimizerDialog = new OptimizerDialog( mxMSF, mxFrame, this );
mpOptimizerDialog->execute();
diff --git a/sdext/source/presenter/PresenterPaneAnimator.cxx b/sdext/source/presenter/PresenterPaneAnimator.cxx
index fe4ad20..443e73b 100644
--- a/sdext/source/presenter/PresenterPaneAnimator.cxx
+++ b/sdext/source/presenter/PresenterPaneAnimator.cxx
@@ -210,7 +210,7 @@ namespace {
void CreateSubstitution (const Reference<rendering::XSpriteCanvas>& rxCanvas);
void ThawPanes (void);
void Restore (void);
- ::boost::shared_ptr<PresenterSprite> GetSubstitution (void);
+ ::boost::shared_ptr<PresenterSprite> GetSubstitution (void) const;
css::geometry::RealRectangle2D GetOriginalBoundingBox (void) const;
css::geometry::RealRectangle2D GetCurrentBoundingBox (void) const;
void MovePanes (
@@ -1133,8 +1133,7 @@ void PaneGroup::Restore (void)
-
-::boost::shared_ptr<PresenterSprite> PaneGroup::GetSubstitution (void)
+::boost::shared_ptr<PresenterSprite> PaneGroup::GetSubstitution (void) const
{
return mpSubstitution;
}
More information about the Libreoffice-commits
mailing list