summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2008-10-10 13:02:43 +0000
committerOliver Bolte <obo@openoffice.org>2008-10-10 13:02:43 +0000
commitf56058657facb7e5e8f3fe13ffef5d9ea158b79e (patch)
tree03d949b7a569196dd1702c5dbe8467c97e937445
parent868d82eb38ae9a4fd3f95a0f17c92ca7d94210ad (diff)
CWS-TOOLING: integrate CWS cmcfixes49
-rw-r--r--dbaccess/source/filter/migration/cfgimport.cxx4
-rw-r--r--dbaccess/source/ui/dlg/queryfilter.cxx10
2 files changed, 7 insertions, 7 deletions
diff --git a/dbaccess/source/filter/migration/cfgimport.cxx b/dbaccess/source/filter/migration/cfgimport.cxx
index 3ca29ba73..60c861912 100644
--- a/dbaccess/source/filter/migration/cfgimport.cxx
+++ b/dbaccess/source/filter/migration/cfgimport.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: cfgimport.cxx,v $
- * $Revision: 1.16 $
+ * $Revision: 1.16.82.1 $
*
* This file is part of OpenOffice.org.
*
@@ -588,7 +588,7 @@ void OCfgImport::createDataSource(const ::rtl::OUString& _sName)
if ( pFilter )
{
String aRet = pFilter->GetDefaultExtension();
- while( aRet.SearchAndReplaceAscii( "*.", String() ) != STRING_NOTFOUND );
+ while( aRet.SearchAndReplaceAscii( "*.", String() ) != STRING_NOTFOUND ) ;
sExtension = aRet;
}
// then look for which of them settings are stored in the configuration
diff --git a/dbaccess/source/ui/dlg/queryfilter.cxx b/dbaccess/source/ui/dlg/queryfilter.cxx
index 27924524b..b3c2af69f 100644
--- a/dbaccess/source/ui/dlg/queryfilter.cxx
+++ b/dbaccess/source/ui/dlg/queryfilter.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: queryfilter.cxx,v $
- * $Revision: 1.36 $
+ * $Revision: 1.36.66.1 $
*
* This file is part of OpenOffice.org.
*
@@ -116,15 +116,15 @@ using namespace ::com::sun::star::beans;
//------------------------------------------------------------------------------
void Replace_OS_PlaceHolder(String& aString)
{
- while (aString.SearchAndReplace( '*', '%' ) != STRING_NOTFOUND);
- while (aString.SearchAndReplace( '?', '_' ) != STRING_NOTFOUND);
+ while (aString.SearchAndReplace( '*', '%' ) != STRING_NOTFOUND) ;
+ while (aString.SearchAndReplace( '?', '_' ) != STRING_NOTFOUND) ;
}
//------------------------------------------------------------------------------
void Replace_SQL_PlaceHolder(String& aString)
{
- while (aString.SearchAndReplace( '%', '*' ) != STRING_NOTFOUND);
- while (aString.SearchAndReplace( '_', '?' ) != STRING_NOTFOUND);
+ while (aString.SearchAndReplace( '%', '*' ) != STRING_NOTFOUND) ;
+ while (aString.SearchAndReplace( '_', '?' ) != STRING_NOTFOUND) ;
}
DBG_NAME(DlgFilterCrit);