summaryrefslogtreecommitdiff
path: root/sdext
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2011-02-13 18:42:06 +0100
committerJulien Nabet <serval2412@yahoo.fr>2011-02-13 18:42:06 +0100
commit269e7e15a484fb6a2b9dc52bad59f19d71bf8cab (patch)
treec1a4c08e12bc3afe2035d5deb364ac6ac258f170 /sdext
parent39ec189d250aec2b1dfdc8cd6be3dac222a613e1 (diff)
Some cppcheck cleaning
Diffstat (limited to 'sdext')
-rw-r--r--sdext/source/minimizer/pppoptimizerdialog.cxx3
-rw-r--r--sdext/source/presenter/PresenterPaneAnimator.cxx5
2 files changed, 3 insertions, 5 deletions
diff --git a/sdext/source/minimizer/pppoptimizerdialog.cxx b/sdext/source/minimizer/pppoptimizerdialog.cxx
index 2ca0296b999c..5decfc85234e 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 ecf7989bf5b2..f3864045b768 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;
}