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
fe866ade
Kaydet (Commit)
fe866ade
authored
Kas 11, 2009
tarafından
Ocke Janssen
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
Automated merge with
file:///z:\so-cwsserv02\dba33b\DEV300\ooo
üst
b987042c
3191f5ad
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
6 deletions
+12
-6
datman.cxx
extensions/source/bibliography/datman.cxx
+2
-0
FormComponent.cxx
forms/source/component/FormComponent.cxx
+2
-2
ImageControl.cxx
forms/source/component/ImageControl.cxx
+1
-0
owriteablestream.cxx
package/source/xstor/owriteablestream.cxx
+7
-4
No files found.
extensions/source/bibliography/datman.cxx
Dosyayı görüntüle @
fe866ade
...
@@ -894,12 +894,14 @@ void BibDataManager::InsertFields(const Reference< XFormComponent > & _rxGrid)
...
@@ -894,12 +894,14 @@ void BibDataManager::InsertFields(const Reference< XFormComponent > & _rxGrid)
case
DataType
:
:
BINARY
:
case
DataType
:
:
BINARY
:
case
DataType
:
:
VARBINARY
:
case
DataType
:
:
VARBINARY
:
case
DataType
:
:
LONGVARBINARY
:
case
DataType
:
:
LONGVARBINARY
:
case
DataType
:
:
BLOB
:
sCurrentModelType
=
C2U
(
"TextField"
);
sCurrentModelType
=
C2U
(
"TextField"
);
break
;
break
;
case
DataType
:
:
VARCHAR
:
case
DataType
:
:
VARCHAR
:
case
DataType
:
:
LONGVARCHAR
:
case
DataType
:
:
LONGVARCHAR
:
case
DataType
:
:
CHAR
:
case
DataType
:
:
CHAR
:
case
DataType
:
:
CLOB
:
bFormattedIsNumeric
=
sal_False
;
bFormattedIsNumeric
=
sal_False
;
// _NO_ break !
// _NO_ break !
default
:
default
:
...
...
forms/source/component/FormComponent.cxx
Dosyayı görüntüle @
fe866ade
...
@@ -2217,7 +2217,7 @@ sal_Bool OBoundControlModel::approveDbColumnType(sal_Int32 _nColumnType)
...
@@ -2217,7 +2217,7 @@ sal_Bool OBoundControlModel::approveDbColumnType(sal_Int32 _nColumnType)
||
(
_nColumnType
==
DataType
::
LONGVARBINARY
)
||
(
_nColumnType
==
DataType
::
OTHER
)
||
(
_nColumnType
==
DataType
::
LONGVARBINARY
)
||
(
_nColumnType
==
DataType
::
OTHER
)
||
(
_nColumnType
==
DataType
::
OBJECT
)
||
(
_nColumnType
==
DataType
::
DISTINCT
)
||
(
_nColumnType
==
DataType
::
OBJECT
)
||
(
_nColumnType
==
DataType
::
DISTINCT
)
||
(
_nColumnType
==
DataType
::
STRUCT
)
||
(
_nColumnType
==
DataType
::
ARRAY
)
||
(
_nColumnType
==
DataType
::
STRUCT
)
||
(
_nColumnType
==
DataType
::
ARRAY
)
||
(
_nColumnType
==
DataType
::
BLOB
)
||
(
_nColumnType
==
DataType
::
CLOB
)
||
(
_nColumnType
==
DataType
::
BLOB
)
/*|| (_nColumnType == DataType::CLOB)*/
||
(
_nColumnType
==
DataType
::
REF
)
||
(
_nColumnType
==
DataType
::
SQLNULL
))
||
(
_nColumnType
==
DataType
::
REF
)
||
(
_nColumnType
==
DataType
::
SQLNULL
))
return
sal_False
;
return
sal_False
;
...
@@ -2553,7 +2553,7 @@ void OBoundControlModel::reset() throw (RuntimeException)
...
@@ -2553,7 +2553,7 @@ void OBoundControlModel::reset() throw (RuntimeException)
||
(
nFieldType
==
DataType
::
LONGVARBINARY
)
||
(
nFieldType
==
DataType
::
LONGVARBINARY
)
||
(
nFieldType
==
DataType
::
OBJECT
)
||
(
nFieldType
==
DataType
::
OBJECT
)
||
(
nFieldType
==
DataType
::
BLOB
)
||
(
nFieldType
==
DataType
::
BLOB
)
||
(
nFieldType
==
DataType
::
CLOB
)
/*|| ( nFieldType == DataType::CLOB )*/
)
)
m_xColumn
->
getBinaryStream
();
m_xColumn
->
getBinaryStream
();
else
else
...
...
forms/source/component/ImageControl.cxx
Dosyayı görüntüle @
fe866ade
...
@@ -115,6 +115,7 @@ namespace
...
@@ -115,6 +115,7 @@ namespace
||
(
_nFieldType
==
DataType
::
OBJECT
)
||
(
_nFieldType
==
DataType
::
OBJECT
)
||
(
_nFieldType
==
DataType
::
BLOB
)
||
(
_nFieldType
==
DataType
::
BLOB
)
||
(
_nFieldType
==
DataType
::
LONGVARCHAR
)
||
(
_nFieldType
==
DataType
::
LONGVARCHAR
)
||
(
_nFieldType
==
DataType
::
CLOB
)
)
)
return
ImageStoreBinary
;
return
ImageStoreBinary
;
...
...
package/source/xstor/owriteablestream.cxx
Dosyayı görüntüle @
fe866ade
...
@@ -592,18 +592,21 @@ uno::Reference< lang::XMultiServiceFactory > OWriteStream_Impl::GetServiceFactor
...
@@ -592,18 +592,21 @@ uno::Reference< lang::XMultiServiceFactory > OWriteStream_Impl::GetServiceFactor
if
(
aData
.
getLength
()
>
nRead
)
if
(
aData
.
getLength
()
>
nRead
)
aData
.
realloc
(
nRead
);
aData
.
realloc
(
nRead
);
if
(
nRead
&&
nRead
<=
MAX_STORCACHE_SIZE
)
if
(
nRead
<=
MAX_STORCACHE_SIZE
)
{
{
uno
::
Reference
<
io
::
XStream
>
xCacheStream
=
CreateMemoryStream
(
GetServiceFactory
()
);
uno
::
Reference
<
io
::
XStream
>
xCacheStream
=
CreateMemoryStream
(
GetServiceFactory
()
);
OSL_ENSURE
(
xCacheStream
.
is
(),
"If the stream can not be created an exception must be thrown!
\n
"
);
OSL_ENSURE
(
xCacheStream
.
is
(),
"If the stream can not be created an exception must be thrown!
\n
"
);
uno
::
Reference
<
io
::
XOutputStream
>
xOutStream
(
xCacheStream
->
getOutputStream
(),
uno
::
UNO_SET_THROW
);
if
(
nRead
)
xOutStream
->
writeBytes
(
aData
);
{
uno
::
Reference
<
io
::
XOutputStream
>
xOutStream
(
xCacheStream
->
getOutputStream
(),
uno
::
UNO_SET_THROW
);
xOutStream
->
writeBytes
(
aData
);
}
m_xCacheSeek
.
set
(
xCacheStream
,
uno
::
UNO_QUERY_THROW
);
m_xCacheSeek
.
set
(
xCacheStream
,
uno
::
UNO_QUERY_THROW
);
m_xCacheStream
=
xCacheStream
;
m_xCacheStream
=
xCacheStream
;
m_xCacheSeek
->
seek
(
0
);
m_xCacheSeek
->
seek
(
0
);
}
}
else
if
(
nRead
&&
!
m_aTempURL
.
getLength
()
)
else
if
(
!
m_aTempURL
.
getLength
()
)
{
{
m_aTempURL
=
GetNewTempFileURL
(
GetServiceFactory
()
);
m_aTempURL
=
GetNewTempFileURL
(
GetServiceFactory
()
);
...
...
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