[Libreoffice-commits] .: dbaccess/source
Caolán McNamara
caolan at kemper.freedesktop.org
Mon Jan 24 06:46:30 PST 2011
dbaccess/source/core/api/FilteredContainer.cxx | 3 +--
dbaccess/source/core/dataaccess/documentdefinition.hxx | 2 +-
2 files changed, 2 insertions(+), 3 deletions(-)
New commits:
commit 6e2243eb77b39c3e8d2ce03f00f06943000d4a3f
Author: Caolán McNamara <caolanm at redhat.com>
Date: Mon Jan 24 14:46:09 2011 +0000
WaE: gcc 4.6.0 various warnings
diff --git a/dbaccess/source/core/api/FilteredContainer.cxx b/dbaccess/source/core/api/FilteredContainer.cxx
index 01b132b..677d9e3 100644
--- a/dbaccess/source/core/api/FilteredContainer.cxx
+++ b/dbaccess/source/core/api/FilteredContainer.cxx
@@ -311,12 +311,11 @@ sal_Int32 createWildCardVector(Sequence< ::rtl::OUString >& _rTableFilter, ::std
{
// build sorted versions of the filter sequences, so the visibility decision is faster
Sequence< ::rtl::OUString > aTableFilter(_rTableFilter);
- sal_Int32 nTableFilterLen = aTableFilter.getLength();
// for wildcard search : remove all table filters which are a wildcard expression and build a WildCard
// for them
::std::vector< WildCard > aWCSearch;
- nTableFilterLen = createWildCardVector(aTableFilter,aWCSearch);
+ createWildCardVector(aTableFilter,aWCSearch);
try
{
diff --git a/dbaccess/source/core/dataaccess/documentdefinition.hxx b/dbaccess/source/core/dataaccess/documentdefinition.hxx
index f74b6ac..e51b959 100644
--- a/dbaccess/source/core/dataaccess/documentdefinition.hxx
+++ b/dbaccess/source/core/dataaccess/documentdefinition.hxx
@@ -374,7 +374,7 @@ private:
ODocumentDefinition& m_rDocumentDefinition;
const ::com::sun::star::uno::Any m_aOldValue;
const ::com::sun::star::uno::Any m_aNewValue;
- mutable ::osl::ResettableMutexGuard& m_rClearForNotify;
+ ::osl::ResettableMutexGuard& m_rClearForNotify;
void impl_fireEvent_throw( const sal_Bool i_bVetoable );
};
More information about the Libreoffice-commits
mailing list