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
d20232a7
Kaydet (Commit)
d20232a7
authored
Ara 06, 2012
tarafından
Lionel Elie Mamane
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Don't force refresh when higher up code did not request it
Change-Id: I0f415c96fc05c1d776d14885751aef020c42f4ae
üst
59375da7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
11 deletions
+5
-11
RowSetBase.cxx
dbaccess/source/core/api/RowSetBase.cxx
+5
-11
No files found.
dbaccess/source/core/api/RowSetBase.cxx
Dosyayı görüntüle @
d20232a7
...
@@ -713,7 +713,6 @@ sal_Bool SAL_CALL ORowSetBase::isFirst( ) throw(SQLException, RuntimeException)
...
@@ -713,7 +713,6 @@ sal_Bool SAL_CALL ORowSetBase::isFirst( ) throw(SQLException, RuntimeException)
if
(
impl_rowDeleted
()
)
if
(
impl_rowDeleted
()
)
return
(
m_nDeletedPosition
==
1
);
return
(
m_nDeletedPosition
==
1
);
positionCache
(
MOVE_NONE_REFRESH_ONLY
);
sal_Bool
bIsFirst
=
m_pCache
->
isFirst
();
sal_Bool
bIsFirst
=
m_pCache
->
isFirst
();
OSL_TRACE
(
"DBACCESS ORowSetBase::isFirst() = %i Clone = %i"
,
bIsFirst
,
m_bClone
);
OSL_TRACE
(
"DBACCESS ORowSetBase::isFirst() = %i Clone = %i"
,
bIsFirst
,
m_bClone
);
...
@@ -745,7 +744,6 @@ sal_Bool SAL_CALL ORowSetBase::isLast( ) throw(SQLException, RuntimeException)
...
@@ -745,7 +744,6 @@ sal_Bool SAL_CALL ORowSetBase::isLast( ) throw(SQLException, RuntimeException)
return
(
m_nDeletedPosition
==
impl_getRowCount
()
);
return
(
m_nDeletedPosition
==
impl_getRowCount
()
);
}
}
positionCache
(
MOVE_NONE_REFRESH_ONLY
);
sal_Bool
bIsLast
=
m_pCache
->
isLast
();
sal_Bool
bIsLast
=
m_pCache
->
isLast
();
OSL_TRACE
(
"DBACCESS ORowSetBase::isLast() = %i Clone = %i"
,
bIsLast
,
m_bClone
);
OSL_TRACE
(
"DBACCESS ORowSetBase::isLast() = %i Clone = %i"
,
bIsLast
,
m_bClone
);
...
@@ -1111,14 +1109,6 @@ void ORowSetBase::setCurrentRow( sal_Bool _bMoved, sal_Bool _bDoNotify, const OR
...
@@ -1111,14 +1109,6 @@ void ORowSetBase::setCurrentRow( sal_Bool _bMoved, sal_Bool _bDoNotify, const OR
OSL_ENSURE
(
m_aCurrentRow
->
is
(),
"Currentrow isn't valid"
);
OSL_ENSURE
(
m_aCurrentRow
->
is
(),
"Currentrow isn't valid"
);
OSL_ENSURE
(
m_aBookmark
.
hasValue
(),
"Bookmark has no value!"
);
OSL_ENSURE
(
m_aBookmark
.
hasValue
(),
"Bookmark has no value!"
);
#if OSL_DEBUG_LEVEL > 0
sal_Int32
nOldRow
=
m_pCache
->
getRow
();
#endif
positionCache
(
MOVE_NONE_REFRESH_ONLY
);
#if OSL_DEBUG_LEVEL > 0
sal_Int32
nNewRow
=
m_pCache
->
getRow
();
OSL_ENSURE
(
nOldRow
==
nNewRow
,
"Old position is not equal to new postion"
);
#endif
m_aCurrentRow
=
m_pCache
->
m_aMatrixIter
;
m_aCurrentRow
=
m_pCache
->
m_aMatrixIter
;
m_bIsInsertRow
=
sal_False
;
m_bIsInsertRow
=
sal_False
;
OSL_ENSURE
(
!
m_aCurrentRow
.
isNull
(),
"CurrentRow is nul after positionCache!"
);
OSL_ENSURE
(
!
m_aCurrentRow
.
isNull
(),
"CurrentRow is nul after positionCache!"
);
...
@@ -1328,7 +1318,11 @@ void ORowSetBase::positionCache( CursorMoveDirection _ePrepareForDirection )
...
@@ -1328,7 +1318,11 @@ void ORowSetBase::positionCache( CursorMoveDirection _ePrepareForDirection )
sal_Bool
bSuccess
=
sal_False
;
sal_Bool
bSuccess
=
sal_False
;
if
(
m_aBookmark
.
hasValue
()
)
if
(
m_aBookmark
.
hasValue
()
)
{
{
bSuccess
=
m_pCache
->
moveToBookmark
(
m_aBookmark
);
if
(
_ePrepareForDirection
==
MOVE_NONE_REFRESH_ONLY
||
m_pCache
->
compareBookmarks
(
m_aBookmark
,
m_pCache
->
getBookmark
()
)
!=
CompareBookmark
::
EQUAL
)
bSuccess
=
m_pCache
->
moveToBookmark
(
m_aBookmark
);
else
bSuccess
=
sal_True
;
}
}
else
else
{
{
...
...
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