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
aecb484c
Kaydet (Commit)
aecb484c
authored
Ara 04, 2009
tarafından
Kurt Zenker
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
CWS-TOOLING: integrate CWS dba32j_DEV300
üst
b71ce2d5
c9e236cc
Hide whitespace changes
Inline
Side-by-side
Showing
19 changed files
with
78 additions
and
10 deletions
+78
-10
ComboBox.cxx
forms/source/component/ComboBox.cxx
+7
-0
ComboBox.hxx
forms/source/component/ComboBox.hxx
+2
-0
Currency.cxx
forms/source/component/Currency.cxx
+7
-0
Currency.hxx
forms/source/component/Currency.hxx
+2
-0
Date.cxx
forms/source/component/Date.cxx
+7
-0
Date.hxx
forms/source/component/Date.hxx
+2
-0
Edit.cxx
forms/source/component/Edit.cxx
+7
-0
Edit.hxx
forms/source/component/Edit.hxx
+2
-0
FormComponent.cxx
forms/source/component/FormComponent.cxx
+0
-8
FormattedField.cxx
forms/source/component/FormattedField.cxx
+7
-0
FormattedField.hxx
forms/source/component/FormattedField.hxx
+1
-0
ListBox.cxx
forms/source/component/ListBox.cxx
+9
-2
ListBox.hxx
forms/source/component/ListBox.hxx
+1
-0
Numeric.cxx
forms/source/component/Numeric.cxx
+7
-0
Numeric.hxx
forms/source/component/Numeric.hxx
+1
-0
Pattern.cxx
forms/source/component/Pattern.cxx
+7
-0
Pattern.hxx
forms/source/component/Pattern.hxx
+1
-0
Time.cxx
forms/source/component/Time.cxx
+7
-0
Time.hxx
forms/source/component/Time.hxx
+1
-0
No files found.
forms/source/component/ComboBox.cxx
Dosyayı görüntüle @
aecb484c
...
@@ -747,6 +747,13 @@ void SAL_CALL OComboBoxModel::reloaded( const EventObject& aEvent ) throw(Runtim
...
@@ -747,6 +747,13 @@ void SAL_CALL OComboBoxModel::reloaded( const EventObject& aEvent ) throw(Runtim
loadData
(
false
);
loadData
(
false
);
}
}
//------------------------------------------------------------------------------
void
OComboBoxModel
::
resetNoBroadcast
()
{
OBoundControlModel
::
resetNoBroadcast
();
m_aLastKnownValue
.
clear
();
}
//-----------------------------------------------------------------------------
//-----------------------------------------------------------------------------
sal_Bool
OComboBoxModel
::
commitControlValueToDbColumn
(
bool
_bPostReset
)
sal_Bool
OComboBoxModel
::
commitControlValueToDbColumn
(
bool
_bPostReset
)
{
{
...
...
forms/source/component/ComboBox.hxx
Dosyayı görüntüle @
aecb484c
...
@@ -145,6 +145,8 @@ protected:
...
@@ -145,6 +145,8 @@ protected:
virtual
::
com
::
sun
::
star
::
uno
::
Any
virtual
::
com
::
sun
::
star
::
uno
::
Any
getDefaultForReset
()
const
;
getDefaultForReset
()
const
;
virtual
void
resetNoBroadcast
();
// OEntryListHelper overriables
// OEntryListHelper overriables
virtual
void
stringItemListChanged
(
ControlModelLock
&
_rInstanceLock
);
virtual
void
stringItemListChanged
(
ControlModelLock
&
_rInstanceLock
);
virtual
void
connectedExternalListSource
(
);
virtual
void
connectedExternalListSource
(
);
...
...
forms/source/component/Currency.cxx
Dosyayı görüntüle @
aecb484c
...
@@ -257,6 +257,13 @@ Any OCurrencyModel::getDefaultForReset() const
...
@@ -257,6 +257,13 @@ Any OCurrencyModel::getDefaultForReset() const
return
aValue
;
return
aValue
;
}
}
//------------------------------------------------------------------------------
void
OCurrencyModel
::
resetNoBroadcast
()
{
OEditBaseModel
::
resetNoBroadcast
();
m_aSaveValue
.
clear
();
}
//.........................................................................
//.........................................................................
}
// namespace frm
}
// namespace frm
//.........................................................................
//.........................................................................
...
...
forms/source/component/Currency.hxx
Dosyayı görüntüle @
aecb484c
...
@@ -73,6 +73,8 @@ protected:
...
@@ -73,6 +73,8 @@ protected:
virtual
::
com
::
sun
::
star
::
uno
::
Any
virtual
::
com
::
sun
::
star
::
uno
::
Any
getDefaultForReset
()
const
;
getDefaultForReset
()
const
;
virtual
void
resetNoBroadcast
();
protected
:
protected
:
DECLARE_XCLONEABLE
();
DECLARE_XCLONEABLE
();
...
...
forms/source/component/Date.cxx
Dosyayı görüntüle @
aecb484c
...
@@ -347,6 +347,13 @@ Any ODateModel::getDefaultForReset() const
...
@@ -347,6 +347,13 @@ Any ODateModel::getDefaultForReset() const
return
m_aDefault
;
return
m_aDefault
;
}
}
//------------------------------------------------------------------------------
void
ODateModel
::
resetNoBroadcast
()
{
OEditBaseModel
::
resetNoBroadcast
();
m_aSaveValue
.
clear
();
}
//------------------------------------------------------------------------------
//------------------------------------------------------------------------------
Sequence
<
Type
>
ODateModel
::
getSupportedBindingTypes
()
Sequence
<
Type
>
ODateModel
::
getSupportedBindingTypes
()
{
{
...
...
forms/source/component/Date.hxx
Dosyayı görüntüle @
aecb484c
...
@@ -96,6 +96,8 @@ protected:
...
@@ -96,6 +96,8 @@ protected:
virtual
::
com
::
sun
::
star
::
uno
::
Any
virtual
::
com
::
sun
::
star
::
uno
::
Any
getDefaultForReset
()
const
;
getDefaultForReset
()
const
;
virtual
void
resetNoBroadcast
();
virtual
void
onConnectedDbColumn
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
uno
::
XInterface
>&
_rxForm
);
virtual
void
onConnectedDbColumn
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
uno
::
XInterface
>&
_rxForm
);
protected
:
protected
:
...
...
forms/source/component/Edit.cxx
Dosyayı görüntüle @
aecb484c
...
@@ -674,6 +674,13 @@ sal_Bool OEditModel::approveDbColumnType( sal_Int32 _nColumnType )
...
@@ -674,6 +674,13 @@ sal_Bool OEditModel::approveDbColumnType( sal_Int32 _nColumnType )
return
OEditBaseModel
::
approveDbColumnType
(
_nColumnType
);
return
OEditBaseModel
::
approveDbColumnType
(
_nColumnType
);
}
}
//------------------------------------------------------------------------------
void
OEditModel
::
resetNoBroadcast
()
{
OEditBaseModel
::
resetNoBroadcast
();
m_aLastKnownValue
.
clear
();
}
//------------------------------------------------------------------------------
//------------------------------------------------------------------------------
sal_Bool
OEditModel
::
commitControlValueToDbColumn
(
bool
/*_bPostReset*/
)
sal_Bool
OEditModel
::
commitControlValueToDbColumn
(
bool
/*_bPostReset*/
)
{
{
...
...
forms/source/component/Edit.hxx
Dosyayı görüntüle @
aecb484c
...
@@ -118,6 +118,8 @@ protected:
...
@@ -118,6 +118,8 @@ protected:
virtual
sal_Bool
approveDbColumnType
(
sal_Int32
_nColumnType
);
virtual
sal_Bool
approveDbColumnType
(
sal_Int32
_nColumnType
);
virtual
void
resetNoBroadcast
();
protected
:
protected
:
virtual
sal_uInt16
getPersistenceFlags
()
const
;
virtual
sal_uInt16
getPersistenceFlags
()
const
;
...
...
forms/source/component/FormComponent.cxx
Dosyayı görüntüle @
aecb484c
...
@@ -2266,14 +2266,6 @@ void OBoundControlModel::impl_connectDatabaseColumn_noNotify( bool _bFromReload
...
@@ -2266,14 +2266,6 @@ void OBoundControlModel::impl_connectDatabaseColumn_noNotify( bool _bFromReload
m_bLoaded
=
sal_True
;
m_bLoaded
=
sal_True
;
onConnectedDbColumn
(
xRowSet
);
onConnectedDbColumn
(
xRowSet
);
// Some derived classes decide to cache the "current" (resp. "last known") control value, so operations like
// commitControlValueToDbColumn can be made a no-op when nothing actually changed.
// Normally, this cache is kept in sync with the column value, but during a reload, this synchronization is
// temporarily disable. To allow the derived classes to update their cache from the current column value,
// we call translateDbColumnToControlValue.
if
(
_bFromReload
&&
hasField
()
)
translateDbColumnToControlValue
();
// initially transfer the db column value to the control, if we successfully connected to a database column
// initially transfer the db column value to the control, if we successfully connected to a database column
if
(
hasField
()
)
if
(
hasField
()
)
initFromField
(
xRowSet
);
initFromField
(
xRowSet
);
...
...
forms/source/component/FormattedField.cxx
Dosyayı görüntüle @
aecb484c
...
@@ -1248,6 +1248,13 @@ Any OFormattedModel::getDefaultForReset() const
...
@@ -1248,6 +1248,13 @@ Any OFormattedModel::getDefaultForReset() const
return
m_xAggregateSet
->
getPropertyValue
(
PROPERTY_EFFECTIVE_DEFAULT
);
return
m_xAggregateSet
->
getPropertyValue
(
PROPERTY_EFFECTIVE_DEFAULT
);
}
}
//------------------------------------------------------------------------------
void
OFormattedModel
::
resetNoBroadcast
()
{
OEditBaseModel
::
resetNoBroadcast
();
m_aSaveValue
.
clear
();
}
//.........................................................................
//.........................................................................
}
}
//.........................................................................
//.........................................................................
forms/source/component/FormattedField.hxx
Dosyayı görüntüle @
aecb484c
...
@@ -141,6 +141,7 @@ namespace frm
...
@@ -141,6 +141,7 @@ namespace frm
virtual
::
com
::
sun
::
star
::
uno
::
Any
virtual
::
com
::
sun
::
star
::
uno
::
Any
getDefaultForReset
()
const
;
getDefaultForReset
()
const
;
virtual
void
resetNoBroadcast
();
virtual
void
onConnectedDbColumn
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
uno
::
XInterface
>&
_rxForm
);
virtual
void
onConnectedDbColumn
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
uno
::
XInterface
>&
_rxForm
);
virtual
void
onDisconnectedDbColumn
();
virtual
void
onDisconnectedDbColumn
();
...
...
forms/source/component/ListBox.cxx
Dosyayı görüntüle @
aecb484c
...
@@ -1037,10 +1037,10 @@ namespace frm
...
@@ -1037,10 +1037,10 @@ namespace frm
Sequence
<
sal_Int16
>
aSelectionIndicies
;
Sequence
<
sal_Int16
>
aSelectionIndicies
;
// Bei NULL-Eintraegen Selektion aufheben!
ORowSetValue
aCurrentValue
;
ORowSetValue
aCurrentValue
;
aCurrentValue
.
fill
(
xBoundField
->
getPropertyValue
(
PROPERTY_VALUE
)
);
aCurrentValue
.
fill
(
getFieldType
(),
m_xColumn
);
// reset selection for NULL values
if
(
aCurrentValue
.
isNull
()
)
if
(
aCurrentValue
.
isNull
()
)
{
{
if
(
m_nNULLPos
!=
-
1
)
if
(
m_nNULLPos
!=
-
1
)
...
@@ -1087,6 +1087,13 @@ namespace frm
...
@@ -1087,6 +1087,13 @@ namespace frm
return
aValue
;
return
aValue
;
}
}
//--------------------------------------------------------------------
void
OListBoxModel
::
resetNoBroadcast
()
{
OBoundControlModel
::
resetNoBroadcast
();
m_aSaveValue
.
setNull
();
}
//--------------------------------------------------------------------
//--------------------------------------------------------------------
void
SAL_CALL
OListBoxModel
::
disposing
(
const
EventObject
&
_rSource
)
throw
(
RuntimeException
)
void
SAL_CALL
OListBoxModel
::
disposing
(
const
EventObject
&
_rSource
)
throw
(
RuntimeException
)
{
{
...
...
forms/source/component/ListBox.hxx
Dosyayı görüntüle @
aecb484c
...
@@ -157,6 +157,7 @@ protected:
...
@@ -157,6 +157,7 @@ protected:
virtual
::
com
::
sun
::
star
::
uno
::
Any
virtual
::
com
::
sun
::
star
::
uno
::
Any
getDefaultForReset
()
const
;
getDefaultForReset
()
const
;
virtual
void
resetNoBroadcast
();
virtual
::
com
::
sun
::
star
::
uno
::
Any
virtual
::
com
::
sun
::
star
::
uno
::
Any
getCurrentFormComponentValue
()
const
;
getCurrentFormComponentValue
()
const
;
...
...
forms/source/component/Numeric.cxx
Dosyayı görüntüle @
aecb484c
...
@@ -212,6 +212,13 @@ Any ONumericModel::getDefaultForReset() const
...
@@ -212,6 +212,13 @@ Any ONumericModel::getDefaultForReset() const
return
aValue
;
return
aValue
;
}
}
//------------------------------------------------------------------------------
void
ONumericModel
::
resetNoBroadcast
()
{
OEditBaseModel
::
resetNoBroadcast
();
m_aSaveValue
.
clear
();
}
//.........................................................................
//.........................................................................
}
// namespace frm
}
// namespace frm
//.........................................................................
//.........................................................................
...
...
forms/source/component/Numeric.hxx
Dosyayı görüntüle @
aecb484c
...
@@ -72,6 +72,7 @@ protected:
...
@@ -72,6 +72,7 @@ protected:
virtual
::
com
::
sun
::
star
::
uno
::
Any
virtual
::
com
::
sun
::
star
::
uno
::
Any
getDefaultForReset
()
const
;
getDefaultForReset
()
const
;
virtual
void
resetNoBroadcast
();
protected
:
protected
:
DECLARE_XCLONEABLE
();
DECLARE_XCLONEABLE
();
...
...
forms/source/component/Pattern.cxx
Dosyayı görüntüle @
aecb484c
...
@@ -252,6 +252,13 @@ Any OPatternModel::getDefaultForReset() const
...
@@ -252,6 +252,13 @@ Any OPatternModel::getDefaultForReset() const
return
makeAny
(
m_aDefaultText
);
return
makeAny
(
m_aDefaultText
);
}
}
//------------------------------------------------------------------------------
void
OPatternModel
::
resetNoBroadcast
()
{
OEditBaseModel
::
resetNoBroadcast
();
m_aLastKnownValue
.
clear
();
}
//.........................................................................
//.........................................................................
}
// namespace frm
}
// namespace frm
//.........................................................................
//.........................................................................
...
...
forms/source/component/Pattern.hxx
Dosyayı görüntüle @
aecb484c
...
@@ -81,6 +81,7 @@ protected:
...
@@ -81,6 +81,7 @@ protected:
virtual
::
com
::
sun
::
star
::
uno
::
Any
virtual
::
com
::
sun
::
star
::
uno
::
Any
getDefaultForReset
()
const
;
getDefaultForReset
()
const
;
virtual
void
resetNoBroadcast
();
protected
:
protected
:
DECLARE_XCLONEABLE
();
DECLARE_XCLONEABLE
();
...
...
forms/source/component/Time.cxx
Dosyayı görüntüle @
aecb484c
...
@@ -349,6 +349,13 @@ Any OTimeModel::getDefaultForReset() const
...
@@ -349,6 +349,13 @@ Any OTimeModel::getDefaultForReset() const
return
m_aDefault
;
return
m_aDefault
;
}
}
//------------------------------------------------------------------------------
void
OTimeModel
::
resetNoBroadcast
()
{
OEditBaseModel
::
resetNoBroadcast
();
m_aSaveValue
.
clear
();
}
//------------------------------------------------------------------------------
//------------------------------------------------------------------------------
Sequence
<
Type
>
OTimeModel
::
getSupportedBindingTypes
()
Sequence
<
Type
>
OTimeModel
::
getSupportedBindingTypes
()
{
{
...
...
forms/source/component/Time.hxx
Dosyayı görüntüle @
aecb484c
...
@@ -96,6 +96,7 @@ protected:
...
@@ -96,6 +96,7 @@ protected:
virtual
::
com
::
sun
::
star
::
uno
::
Any
virtual
::
com
::
sun
::
star
::
uno
::
Any
getDefaultForReset
()
const
;
getDefaultForReset
()
const
;
virtual
void
resetNoBroadcast
();
virtual
void
onConnectedDbColumn
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
uno
::
XInterface
>&
_rxForm
);
virtual
void
onConnectedDbColumn
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
uno
::
XInterface
>&
_rxForm
);
...
...
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