summaryrefslogtreecommitdiff
path: root/dbaccess
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
commit98993835c63f781674aa7a6946c73ddcf84c0ed9 (patch)
treef3e15027741c31ee3d73497298dc08a0e688d1a6 /dbaccess
parent2a18f6592a7294f9c3e1a9609b9ca20e3d896423 (diff)
CWS-TOOLING: integrate CWS cmcfixes49
Diffstat (limited to 'dbaccess')
-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 d8a25504bb24..23b4f3bb68ba 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 6097ceb87a5d..409c00f13222 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);