Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
4cadbf6c
Kaydet (Commit)
4cadbf6c
authored
Eki 27, 2000
tarafından
Ocke Janssen
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
remove some classes
üst
4ebcf087
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
66 deletions
+4
-66
apitools.cxx
dbaccess/source/shared/apitools.cxx
+4
-66
No files found.
dbaccess/source/shared/apitools.cxx
Dosyayı görüntüle @
4cadbf6c
...
...
@@ -2,9 +2,9 @@
*
* $RCSfile: apitools.cxx,v $
*
* $Revision: 1.
2
$
* $Revision: 1.
3
$
*
* last change: $Author:
fs $ $Date: 2000-10-11 11:21:40
$
* last change: $Author:
oj $ $Date: 2000-10-27 07:34:13
$
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
...
...
@@ -62,8 +62,8 @@
#ifndef _DBASHARED_APITOOLS_HXX_
#include "apitools.hxx"
#endif
#ifndef
_DBASHARED_STRINGCONSTANTS_HRC_
#include "
stringconstant
s.hrc"
#ifndef
DBACCESS_SHARED_DBASTRINGS_HRC
#include "
dbastring
s.hrc"
#endif
#ifndef _CPPUHELPER_TYPEPROVIDER_HXX_
#include <cppuhelper/typeprovider.hxx>
...
...
@@ -74,75 +74,13 @@
using
namespace
::
com
::
sun
::
star
::
uno
;
using
namespace
::
com
::
sun
::
star
::
lang
;
using
namespace
::
com
::
sun
::
star
::
sdbc
;
using
namespace
cppu
;
using
namespace
osl
;
using
namespace
dbaccess
;
//============================================================
//= FunctionSequenceException
//============================================================
FunctionSequenceException
::
FunctionSequenceException
(
const
Reference
<
XInterface
>&
_Context
,
const
Any
&
_Next
)
:
SQLException
(
ERRORMSG_SEQUENCE
,
_Context
,
SQLSTATE_SEQUENCE
,
0
,
_Next
){};
//==================================================================================
//= various helper functions
//==================================================================================
//--------------------------------------------------------------------------
void
composeTableName
(
const
Reference
<
XDatabaseMetaData
>&
_rxMetaData
,
const
::
rtl
::
OUString
&
_rCatalog
,
const
::
rtl
::
OUString
&
_rSchema
,
const
::
rtl
::
OUString
&
_rName
,
::
rtl
::
OUString
&
_rComposedName
,
sal_Bool
_bQuote
)
{
OSL_ENSHURE
(
_rxMetaData
.
is
(),
"composeTableName : invalid meta data !"
);
OSL_ENSHURE
(
_rName
.
getLength
(),
"composeTableName : at least the name should be non-empty !"
);
::
rtl
::
OUString
sQuoteString
=
_rxMetaData
->
getIdentifierQuoteString
();
#define QUOTE(s) if (_bQuote) s += sQuoteString
static
::
rtl
::
OUString
sEmpty
;
static
::
rtl
::
OUString
sSeparator
=
::
rtl
::
OUString
::
createFromAscii
(
"."
);
_rComposedName
=
sEmpty
;
if
(
_rCatalog
.
getLength
()
&&
_rxMetaData
->
isCatalogAtStart
()
&&
!
_rxMetaData
->
usesLocalFiles
())
{
QUOTE
(
_rComposedName
);
_rComposedName
+=
_rCatalog
;
QUOTE
(
_rComposedName
);
_rComposedName
+=
_rxMetaData
->
getCatalogSeparator
();
}
if
(
_rSchema
.
getLength
())
{
QUOTE
(
_rComposedName
);
_rComposedName
+=
_rSchema
;
QUOTE
(
_rComposedName
);
_rComposedName
+=
sSeparator
;
QUOTE
(
_rComposedName
);
_rComposedName
+=
_rName
;
QUOTE
(
_rComposedName
);
}
else
{
QUOTE
(
_rComposedName
);
_rComposedName
+=
_rName
;
QUOTE
(
_rComposedName
);
}
if
(
_rCatalog
.
getLength
()
&&
!
_rxMetaData
->
isCatalogAtStart
()
&&
!
_rxMetaData
->
usesLocalFiles
())
{
_rComposedName
+=
_rxMetaData
->
getCatalogSeparator
();
QUOTE
(
_rComposedName
);
_rComposedName
+=
_rCatalog
;
QUOTE
(
_rComposedName
);
}
}
//============================================================
//= OSubComponent
//============================================================
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment