[Libreoffice-commits] .: 2 commits - sc/inc sc/source
Caolán McNamara
caolan at kemper.freedesktop.org
Thu Mar 24 08:18:30 PDT 2011
sc/inc/dpobject.hxx | 2 +-
sc/source/ui/vba/vbastyle.cxx | 10 +++++-----
2 files changed, 6 insertions(+), 6 deletions(-)
New commits:
commit c11dea86c2aade0d983e8930d0491a495f92e84e
Author: Caolán McNamara <caolanm at redhat.com>
Date: Thu Mar 24 15:18:15 2011 +0000
WaE: unused variables
diff --git a/sc/source/ui/vba/vbastyle.cxx b/sc/source/ui/vba/vbastyle.cxx
index e9c1488..0e59fbe 100644
--- a/sc/source/ui/vba/vbastyle.cxx
+++ b/sc/source/ui/vba/vbastyle.cxx
@@ -75,7 +75,7 @@ ScVbaStyle::ScVbaStyle( const uno::Reference< ov::XHelperInterface >& xParent, c
{
initialise();
}
- catch (uno::Exception& )
+ catch (const uno::Exception& )
{
DebugHelper::exception(SbERR_METHOD_FAILED, rtl::OUString());
}
@@ -87,7 +87,7 @@ ScVbaStyle::ScVbaStyle( const uno::Reference< XHelperInterface >& xParent, const
{
initialise();
}
- catch (uno::Exception& )
+ catch (const uno::Exception& )
{
DebugHelper::exception(SbERR_METHOD_FAILED, rtl::OUString());
}
@@ -119,7 +119,7 @@ ScVbaStyle::setNameLocal( const ::rtl::OUString& NameLocal ) throw (script::Basi
{
mxPropertySet->setPropertyValue(DISPLAYNAME, uno::makeAny( NameLocal ) );
}
- catch (uno::Exception& e)
+ catch (const uno::Exception& e)
{
DebugHelper::exception(e);
}
@@ -133,7 +133,7 @@ ScVbaStyle::getNameLocal() throw (script::BasicErrorException, uno::RuntimeExcep
{
mxPropertySet->getPropertyValue(DISPLAYNAME) >>= sName;
}
- catch (uno::Exception &e)
+ catch (const uno::Exception& )
{
DebugHelper::exception(SbERR_METHOD_FAILED, rtl::OUString() );
}
@@ -147,7 +147,7 @@ ScVbaStyle::Delete() throw (script::BasicErrorException, uno::RuntimeException)
{
mxStyleFamilyNameContainer->removeByName(mxStyle->getName());
}
- catch (uno::Exception& )
+ catch (const uno::Exception& )
{
DebugHelper::exception(SbERR_METHOD_FAILED, rtl::OUString());
}
commit 8cb0a18f52a78191f377a92bff0923dfa3e618fc
Author: Caolán McNamara <caolanm at redhat.com>
Date: Thu Mar 24 12:36:52 2011 +0000
WaE: consistent struct/class declaration
diff --git a/sc/inc/dpobject.hxx b/sc/inc/dpobject.hxx
index 0cc9f01..7b57348 100644
--- a/sc/inc/dpobject.hxx
+++ b/sc/inc/dpobject.hxx
@@ -60,7 +60,7 @@ class ScPivot;
class ScPivotCollection;
struct ScPivotParam;
struct ScImportSourceDesc;
-struct ScSheetSourceDesc;
+class ScSheetSourceDesc;
class ScStrCollection;
class TypedScStrCollection;
struct PivotField;
More information about the Libreoffice-commits
mailing list