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
2ce2fafa
Kaydet (Commit)
2ce2fafa
authored
Şub 12, 2013
tarafından
Julien Nabet
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Some cppcheck cleaning
Change-Id: Idb380dbb7470dbdb371778ba0c486392cc55380e
üst
2bfccd14
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
13 deletions
+10
-13
dim.cxx
basic/source/comp/dim.cxx
+1
-2
border.cxx
cui/source/tabpages/border.cxx
+3
-5
galbrws2.cxx
svx/source/gallery2/galbrws2.cxx
+4
-3
javatypemaker.cxx
unodevtools/source/skeletonmaker/javatypemaker.cxx
+1
-1
salobj.cxx
vcl/win/source/window/salobj.cxx
+1
-2
No files found.
basic/source/comp/dim.cxx
Dosyayı görüntüle @
2ce2fafa
...
...
@@ -615,10 +615,9 @@ void SbiParser::DefType( bool bPrivate )
for
(
short
i
=
0
;
i
<
pDim
->
GetSize
();
++
i
)
{
sal_Int32
ub
=
-
1
;
sal_Int32
lb
=
nBase
;
SbiExprNode
*
pNode
=
pDim
->
Get
(
i
)
->
GetExprNode
();
ub
=
pNode
->
GetNumber
();
sal_Int32
ub
=
pNode
->
GetNumber
();
if
(
!
pDim
->
Get
(
i
)
->
IsBased
()
)
// each dim is low/up
{
if
(
++
i
>=
pDim
->
GetSize
()
)
// trouble
...
...
cui/source/tabpages/border.cxx
Dosyayı görüntüle @
2ce2fafa
...
...
@@ -246,14 +246,13 @@ SvxBorderTabPage::SvxBorderTabPage(Window* pParent, const SfxItemSet& rCoreAttrs
// fill ColorBox out of the XColorList
SfxObjectShell
*
pDocSh
=
SfxObjectShell
::
Current
();
const
SfxPoolItem
*
pItem
=
NULL
;
XColorListRef
pColorTable
;
DBG_ASSERT
(
pDocSh
,
"DocShell not found!"
);
if
(
pDocSh
)
{
pItem
=
pDocSh
->
GetItem
(
SID_COLOR_TABLE
);
const
SfxPoolItem
*
pItem
=
pDocSh
->
GetItem
(
SID_COLOR_TABLE
);
if
(
pItem
!=
NULL
)
pColorTable
=
(
(
SvxColorListItem
*
)
pItem
)
->
GetColorList
();
}
...
...
@@ -562,7 +561,6 @@ sal_Bool SvxBorderTabPage::FillItemSet( SfxItemSet& rCoreAttrs )
SvxBoxItem
*
pOldBoxItem
=
(
SvxBoxItem
*
)
GetOldItem
(
rCoreAttrs
,
SID_ATTR_BORDER_OUTER
);
SfxMapUnit
eCoreUnit
=
rOldSet
.
GetPool
()
->
GetMetric
(
nBoxWhich
);
const
SfxPoolItem
*
pOld
=
0
;
//------------------
// outer border:
...
...
@@ -684,7 +682,7 @@ sal_Bool SvxBorderTabPage::FillItemSet( SfxItemSet& rCoreAttrs )
rCoreAttrs
.
Put
(
aBoxItem
);
bAttrsChanged
|=
sal_True
;
}
pOld
=
GetOldItem
(
rCoreAttrs
,
SID_ATTR_BORDER_INNER
,
sal_False
);
const
SfxPoolItem
*
pOld
=
GetOldItem
(
rCoreAttrs
,
SID_ATTR_BORDER_INNER
,
sal_False
);
if
(
!
pOld
||
!
(
*
(
const
SvxBoxInfoItem
*
)
pOld
==
aBoxInfoItem
)
)
{
...
...
@@ -796,7 +794,7 @@ IMPL_LINK_NOARG(SvxBorderTabPage, SelSdwHdl_Impl)
IMPL_LINK
(
SvxBorderTabPage
,
SelColHdl_Impl
,
ListBox
*
,
pLb
)
{
ColorListBox
*
pColLb
=
(
ColorListBox
*
)
pLb
;
ColorListBox
*
pColLb
=
(
ColorListBox
*
)
(
pLb
)
;
if
(
pLb
==
m_pLbLineColor
)
{
...
...
svx/source/gallery2/galbrws2.cxx
Dosyayı görüntüle @
2ce2fafa
...
...
@@ -107,18 +107,19 @@ void GalleryBackgroundPopup::StateChanged( sal_uInt16 nSID, SfxItemState eState,
if
(
(
nSID
==
SID_GALLERY_BG_BRUSH
)
&&
pItem
&&
(
eState
!=
SFX_ITEM_DISABLED
)
)
{
SfxStringListItem
*
pStrLstItem
;
SfxStringItem
*
pStrItem
;
PopupMenu
::
Clear
();
if
(
(
pStrLstItem
=
PTR_CAST
(
SfxStringListItem
,
pItem
)
)
!=
NULL
)
if
(
(
pStrLstItem
=
PTR_CAST
(
SfxStringListItem
,
pItem
)
)
!=
NULL
)
{
const
std
::
vector
<
String
>
&
aList
=
pStrLstItem
->
GetList
();
for
(
sal_uIntPtr
i
=
0
,
nCount
=
aList
.
size
();
i
<
nCount
;
i
++
)
InsertItem
(
(
sal_uInt16
)
i
+
1
,
aList
[
i
]);
return
;
}
else
if
(
(
pStrItem
=
PTR_CAST
(
SfxStringItem
,
pItem
)
)
!=
NULL
)
SfxStringItem
*
pStrItem
=
PTR_CAST
(
SfxStringItem
,
pItem
);
if
(
pStrItem
)
InsertItem
(
1
,
pStrItem
->
GetValue
()
);
else
{
...
...
unodevtools/source/skeletonmaker/javatypemaker.cxx
Dosyayı görüntüle @
2ce2fafa
...
...
@@ -460,8 +460,8 @@ void printMethods(std::ostream & o,
// REMOVE next line
OUString
tmp
=
reader
.
getFieldName
(
i
);
bool
setAttrMethod
=
false
;
if
(
(
reader
.
getFieldFlags
(
i
)
&
RT_ACCESS_READONLY
)
==
0
)
{
bool
setAttrMethod
=
false
;
o
<<
indentation
<<
"public void set"
<<
(
codemaker
::
convertString
(
reader
.
getFieldName
(
i
)).
getStr
())
...
...
vcl/win/source/window/salobj.cxx
Dosyayı görüntüle @
2ce2fafa
...
...
@@ -243,7 +243,6 @@ void ImplSalPostDispatchMsg( MSG* pMsg, LRESULT /* nDispatchResult */ )
{
// Used for Unicode and none Unicode
SalData
*
pSalData
=
GetSalData
();
WinSalFrame
*
pFrame
;
if
(
(
pMsg
->
message
==
WM_KEYDOWN
)
||
(
pMsg
->
message
==
WM_KEYUP
)
)
{
...
...
@@ -253,7 +252,7 @@ void ImplSalPostDispatchMsg( MSG* pMsg, LRESULT /* nDispatchResult */ )
if
(
pMsg
->
hwnd
==
::
GetFocus
()
)
{
ImplSalYieldMutexAcquireWithWait
();
pFrame
=
ImplFindSalObjectFrame
(
pMsg
->
hwnd
);
WinSalFrame
*
pFrame
=
ImplFindSalObjectFrame
(
pMsg
->
hwnd
);
if
(
pFrame
)
ImplHandleSalObjKeyMsg
(
pFrame
->
mhWnd
,
pMsg
->
message
,
pMsg
->
wParam
,
pMsg
->
lParam
);
ImplSalYieldMutexRelease
();
...
...
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