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
9600746f
Kaydet (Commit)
9600746f
authored
Tem 08, 2016
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
loplugin:redundantcast: redundant static_casts in dbaccess
Change-Id: Ia959a92044ba2fb7fef1938bd236e4a3a9f55908
üst
45755853
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
11 deletions
+9
-11
SingleSelectQueryComposer.cxx
dbaccess/source/core/api/SingleSelectQueryComposer.cxx
+1
-1
dbtreelistbox.cxx
dbaccess/source/ui/control/dbtreelistbox.cxx
+5
-7
TableWindowTitle.cxx
dbaccess/source/ui/querydesign/TableWindowTitle.cxx
+2
-2
querydlg.cxx
dbaccess/source/ui/querydesign/querydlg.cxx
+1
-1
No files found.
dbaccess/source/core/api/SingleSelectQueryComposer.cxx
Dosyayı görüntüle @
9600746f
...
...
@@ -1312,7 +1312,7 @@ OUString OSingleSelectQueryComposer::getTableAlias(const Reference< XPropertySet
if
(
!
m_pTables
->
hasByName
(
aComposedName
))
{
::
comphelper
::
UStringMixLess
aTmp
(
m_aAdditiveIterator
.
getTables
().
key_comp
());
::
comphelper
::
UStringMixEqual
aComp
(
static_cast
<
::
comphelper
::
UStringMixLess
*>
(
&
aTmp
)
->
isCaseSensitive
());
::
comphelper
::
UStringMixEqual
aComp
(
aTmp
.
isCaseSensitive
());
for
(;
pBegin
!=
pEnd
;
++
pBegin
)
{
Reference
<
XPropertySet
>
xTableProp
;
...
...
dbaccess/source/ui/control/dbtreelistbox.cxx
Dosyayı görüntüle @
9600746f
...
...
@@ -189,14 +189,13 @@ void DBTreeListBox::ModelHasEntryInvalidated( SvTreeListEntry* _pEntry )
{
SvTreeListBox
::
ModelHasEntryInvalidated
(
_pEntry
);
SvTreeListEntry
*
pLBEntry
=
static_cast
<
SvTreeListEntry
*>
(
_pEntry
);
if
(
m_aSelectedEntries
.
find
(
pLBEntry
)
!=
m_aSelectedEntries
.
end
())
if
(
m_aSelectedEntries
.
find
(
_pEntry
)
!=
m_aSelectedEntries
.
end
())
{
SvLBoxItem
*
pTextItem
=
pLB
Entry
->
GetFirstItem
(
SV_ITEM_ID_BOLDLBSTRING
);
SvLBoxItem
*
pTextItem
=
_p
Entry
->
GetFirstItem
(
SV_ITEM_ID_BOLDLBSTRING
);
if
(
pTextItem
&&
!
static_cast
<
OBoldListboxString
*
>
(
pTextItem
)
->
isEmphasized
()
)
{
implStopSelectionTimer
();
m_aSelectedEntries
.
erase
(
pLB
Entry
);
m_aSelectedEntries
.
erase
(
_p
Entry
);
// ehm - why?
}
}
...
...
@@ -205,11 +204,10 @@ void DBTreeListBox::ModelHasEntryInvalidated( SvTreeListEntry* _pEntry )
void
DBTreeListBox
::
ModelHasRemoved
(
SvTreeListEntry
*
_pEntry
)
{
SvTreeListBox
::
ModelHasRemoved
(
_pEntry
);
SvTreeListEntry
*
pLBEntry
=
static_cast
<
SvTreeListEntry
*>
(
_pEntry
);
if
(
m_aSelectedEntries
.
find
(
pLBEntry
)
!=
m_aSelectedEntries
.
end
())
if
(
m_aSelectedEntries
.
find
(
_pEntry
)
!=
m_aSelectedEntries
.
end
())
{
implStopSelectionTimer
();
m_aSelectedEntries
.
erase
(
pLB
Entry
);
m_aSelectedEntries
.
erase
(
_p
Entry
);
}
}
...
...
dbaccess/source/ui/querydesign/TableWindowTitle.cxx
Dosyayı görüntüle @
9600746f
...
...
@@ -140,7 +140,7 @@ void OTableWindowTitle::MouseButtonDown( const MouseEvent& rEvt )
{
m_pTabWin
->
SetSizePixel
(
aSize
);
OJoinTableView
*
pView
=
static_cast
<
OJoinTableView
*>
(
m_pTabWin
->
getTableView
()
);
OJoinTableView
*
pView
=
m_pTabWin
->
getTableView
(
);
OSL_ENSURE
(
pView
,
"No OJoinTableView!"
);
for
(
auto
&
conn
:
pView
->
getTableConnections
())
conn
->
RecalcLines
();
...
...
@@ -154,7 +154,7 @@ void OTableWindowTitle::MouseButtonDown( const MouseEvent& rEvt )
{
Point
aPos
=
rEvt
.
GetPosPixel
();
aPos
=
OutputToScreenPixel
(
aPos
);
OJoinTableView
*
pView
=
static_cast
<
OJoinTableView
*>
(
m_pTabWin
->
getTableView
()
);
OJoinTableView
*
pView
=
m_pTabWin
->
getTableView
(
);
OSL_ENSURE
(
pView
,
"No OJoinTableView!"
);
pView
->
NotifyTitleClicked
(
static_cast
<
OTableWindow
*>
(
GetParent
()),
aPos
);
}
...
...
dbaccess/source/ui/querydesign/querydlg.cxx
Dosyayı görüntüle @
9600746f
...
...
@@ -114,7 +114,7 @@ DlgQryJoin::DlgQryJoin( OQueryTableView * pParent,
m_pLB_JoinType
->
SetSelectHdl
(
LINK
(
this
,
DlgQryJoin
,
LBChangeHdl
));
m_pCBNatural
->
SetToggleHdl
(
LINK
(
this
,
DlgQryJoin
,
NaturalToggleHdl
));
if
(
static_cast
<
OQueryTableView
*>
(
pParent
)
->
getDesignView
()
->
getController
().
isReadOnly
()
)
if
(
pParent
->
getDesignView
()
->
getController
().
isReadOnly
()
)
{
m_pLB_JoinType
->
Disable
();
m_pCBNatural
->
Disable
();
...
...
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