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
66c11b52
Kaydet (Commit)
66c11b52
authored
Nis 22, 2011
tarafından
Julien Nabet
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Some cppcheck cleaning
üst
147824a9
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
15 additions
and
16 deletions
+15
-16
mgrtest.cxx
basic/workben/mgrtest.cxx
+0
-1
dp_gui_updatedialog.cxx
desktop/source/deployment/gui/dp_gui_updatedialog.cxx
+1
-1
dp_extensionmanager.cxx
desktop/source/deployment/manager/dp_extensionmanager.cxx
+4
-4
dp_backenddb.cxx
desktop/source/deployment/registry/dp_backenddb.cxx
+1
-1
unopkg_misc.cxx
desktop/source/pkgchk/unopkg/unopkg_misc.cxx
+1
-1
metafileprimitive2d.cxx
drawinglayer/source/primitive2d/metafileprimitive2d.cxx
+8
-8
No files found.
basic/workben/mgrtest.cxx
Dosyayı görüntüle @
66c11b52
...
@@ -526,7 +526,6 @@ void __EXPORT TestWindow::Resize()
...
@@ -526,7 +526,6 @@ void __EXPORT TestWindow::Resize()
void
__EXPORT
TestWindow
::
KeyInput
(
const
KeyEvent
&
rKEvt
)
void
__EXPORT
TestWindow
::
KeyInput
(
const
KeyEvent
&
rKEvt
)
{
{
char
nCharCode
=
rKEvt
.
GetCharCode
();
sal_uInt16
nCode
=
rKEvt
.
GetKeyCode
().
GetCode
();
sal_uInt16
nCode
=
rKEvt
.
GetKeyCode
().
GetCode
();
// Nur bei Alt-Return
// Nur bei Alt-Return
...
...
desktop/source/deployment/gui/dp_gui_updatedialog.cxx
Dosyayı görüntüle @
66c11b52
...
@@ -1381,7 +1381,7 @@ IMPL_LINK(UpdateDialog, okHandler, void *, EMPTYARG)
...
@@ -1381,7 +1381,7 @@ IMPL_LINK(UpdateDialog, okHandler, void *, EMPTYARG)
//If users are going to update a shared extension then we need
//If users are going to update a shared extension then we need
//to warn them
//to warn them
typedef
::
std
::
vector
<
UpdateData
>::
const_iterator
CIT
;
typedef
::
std
::
vector
<
UpdateData
>::
const_iterator
CIT
;
for
(
CIT
i
=
m_enabledUpdates
.
begin
();
i
<
m_enabledUpdates
.
end
();
i
++
)
for
(
CIT
i
=
m_enabledUpdates
.
begin
();
i
<
m_enabledUpdates
.
end
();
++
i
)
{
{
OSL_ASSERT
(
i
->
aInstalledPackage
.
is
());
OSL_ASSERT
(
i
->
aInstalledPackage
.
is
());
//If the user has no write access to the shared folder then the update
//If the user has no write access to the shared folder then the update
...
...
desktop/source/deployment/manager/dp_extensionmanager.cxx
Dosyayı görüntüle @
66c11b52
...
@@ -102,7 +102,7 @@ OUString CompIdentifiers::getName(::std::vector<Reference<deploy::XPackage> > co
...
@@ -102,7 +102,7 @@ OUString CompIdentifiers::getName(::std::vector<Reference<deploy::XPackage> > co
//get the first non-null reference
//get the first non-null reference
Reference
<
deploy
::
XPackage
>
extension
;
Reference
<
deploy
::
XPackage
>
extension
;
::
std
::
vector
<
Reference
<
deploy
::
XPackage
>
>::
const_iterator
it
=
a
.
begin
();
::
std
::
vector
<
Reference
<
deploy
::
XPackage
>
>::
const_iterator
it
=
a
.
begin
();
for
(;
it
!=
a
.
end
();
it
++
)
for
(;
it
!=
a
.
end
();
++
it
)
{
{
if
(
it
->
is
())
if
(
it
->
is
())
{
{
...
@@ -250,13 +250,13 @@ void ExtensionManager::addExtensionsToMap(
...
@@ -250,13 +250,13 @@ void ExtensionManager::addExtensionsToMap(
::
std
::
list
<
OUString
>::
const_iterator
citNames
=
::
std
::
list
<
OUString
>::
const_iterator
citNames
=
m_repositoryNames
.
begin
();
m_repositoryNames
.
begin
();
int
index
=
0
;
int
index
=
0
;
for
(;
citNames
!=
m_repositoryNames
.
end
();
citNames
++
,
index
++
)
for
(;
citNames
!=
m_repositoryNames
.
end
();
++
citNames
,
++
index
)
{
{
if
(
citNames
->
equals
(
repository
))
if
(
citNames
->
equals
(
repository
))
break
;
break
;
}
}
for
(
int
i
=
0
;
i
<
seqExt
.
getLength
();
i
++
)
for
(
int
i
=
0
;
i
<
seqExt
.
getLength
();
++
i
)
{
{
Reference
<
deploy
::
XPackage
>
const
&
xExtension
=
seqExt
[
i
];
Reference
<
deploy
::
XPackage
>
const
&
xExtension
=
seqExt
[
i
];
OUString
id
=
dp_misc
::
getIdentifier
(
xExtension
);
OUString
id
=
dp_misc
::
getIdentifier
(
xExtension
);
...
@@ -333,7 +333,7 @@ ExtensionManager::getExtensionsWithSameIdentifier(
...
@@ -333,7 +333,7 @@ ExtensionManager::getExtensionsWithSameIdentifier(
//throw an IllegalArgumentException if there is no extension at all.
//throw an IllegalArgumentException if there is no extension at all.
typedef
::
std
::
list
<
Reference
<
deploy
::
XPackage
>
>::
const_iterator
CIT
;
typedef
::
std
::
list
<
Reference
<
deploy
::
XPackage
>
>::
const_iterator
CIT
;
for
(
CIT
i
=
listExtensions
.
begin
();
i
!=
listExtensions
.
end
();
i
++
)
for
(
CIT
i
=
listExtensions
.
begin
();
i
!=
listExtensions
.
end
();
++
i
)
bHasExtension
|=
i
->
is
();
bHasExtension
|=
i
->
is
();
if
(
!
bHasExtension
)
if
(
!
bHasExtension
)
throw
lang
::
IllegalArgumentException
(
throw
lang
::
IllegalArgumentException
(
...
...
desktop/source/deployment/registry/dp_backenddb.cxx
Dosyayı görüntüle @
66c11b52
...
@@ -429,7 +429,7 @@ void BackendDb::writeSimpleList(
...
@@ -429,7 +429,7 @@ void BackendDb::writeSimpleList(
listNode
,
css
::
uno
::
UNO_QUERY_THROW
));
listNode
,
css
::
uno
::
UNO_QUERY_THROW
));
typedef
::
std
::
list
<
OUString
>::
const_iterator
ITC_ITEMS
;
typedef
::
std
::
list
<
OUString
>::
const_iterator
ITC_ITEMS
;
for
(
ITC_ITEMS
i
=
list
.
begin
();
i
!=
list
.
end
();
i
++
)
for
(
ITC_ITEMS
i
=
list
.
begin
();
i
!=
list
.
end
();
++
i
)
{
{
const
Reference
<
css
::
xml
::
dom
::
XNode
>
memberNode
(
const
Reference
<
css
::
xml
::
dom
::
XNode
>
memberNode
(
doc
->
createElementNS
(
sNameSpace
,
sPrefix
+
sMemberTagName
),
css
::
uno
::
UNO_QUERY_THROW
);
doc
->
createElementNS
(
sNameSpace
,
sPrefix
+
sMemberTagName
),
css
::
uno
::
UNO_QUERY_THROW
);
...
...
desktop/source/pkgchk/unopkg/unopkg_misc.cxx
Dosyayı görüntüle @
66c11b52
...
@@ -355,7 +355,7 @@ void printf_packages(
...
@@ -355,7 +355,7 @@ void printf_packages(
{
{
typedef
::
std
::
vector
<
Reference
<
deployment
::
XPackage
>
>::
const_iterator
I_EXT
;
typedef
::
std
::
vector
<
Reference
<
deployment
::
XPackage
>
>::
const_iterator
I_EXT
;
int
index
=
0
;
int
index
=
0
;
for
(
I_EXT
i
=
allExtensions
.
begin
();
i
!=
allExtensions
.
end
();
i
++
,
index
++
)
for
(
I_EXT
i
=
allExtensions
.
begin
();
i
!=
allExtensions
.
end
();
++
i
,
++
index
)
{
{
if
(
vecUnaccepted
[
index
])
if
(
vecUnaccepted
[
index
])
printf_unaccepted_licenses
(
*
i
);
printf_unaccepted_licenses
(
*
i
);
...
...
drawinglayer/source/primitive2d/metafileprimitive2d.cxx
Dosyayı görüntüle @
66c11b52
...
@@ -365,7 +365,7 @@ namespace
...
@@ -365,7 +365,7 @@ namespace
~
PropertyHolders
()
~
PropertyHolders
()
{
{
while
(
maPropertyHolders
.
size
())
while
(
!
maPropertyHolders
.
empty
())
{
{
delete
maPropertyHolders
.
back
();
delete
maPropertyHolders
.
back
();
maPropertyHolders
.
pop_back
();
maPropertyHolders
.
pop_back
();
...
@@ -527,7 +527,7 @@ namespace
...
@@ -527,7 +527,7 @@ namespace
void
Pop
()
void
Pop
()
{
{
OSL_ENSURE
(
maTargetHolders
.
size
(),
"TargetHolders: POP with no property holders (!)"
);
OSL_ENSURE
(
maTargetHolders
.
size
(),
"TargetHolders: POP with no property holders (!)"
);
if
(
maTargetHolders
.
size
())
if
(
!
maTargetHolders
.
empty
())
{
{
delete
maTargetHolders
.
back
();
delete
maTargetHolders
.
back
();
maTargetHolders
.
pop_back
();
maTargetHolders
.
pop_back
();
...
@@ -542,7 +542,7 @@ namespace
...
@@ -542,7 +542,7 @@ namespace
~
TargetHolders
()
~
TargetHolders
()
{
{
while
(
maTargetHolders
.
size
())
while
(
!
maTargetHolders
.
empty
())
{
{
delete
maTargetHolders
.
back
();
delete
maTargetHolders
.
back
();
maTargetHolders
.
pop_back
();
maTargetHolders
.
pop_back
();
...
@@ -632,7 +632,7 @@ namespace
...
@@ -632,7 +632,7 @@ namespace
PropertyHolder
&
rProperties
,
PropertyHolder
&
rProperties
,
basegfx
::
BColor
aBColor
)
basegfx
::
BColor
aBColor
)
{
{
if
(
rPositions
.
size
())
if
(
!
rPositions
.
empty
())
{
{
if
(
rProperties
.
getTransformation
().
isIdentity
())
if
(
rProperties
.
getTransformation
().
isIdentity
())
{
{
...
@@ -1589,7 +1589,7 @@ namespace
...
@@ -1589,7 +1589,7 @@ namespace
}
}
}
}
if
(
aTargetVector
.
size
())
if
(
!
aTargetVector
.
empty
())
{
{
// add created text primitive to target
// add created text primitive to target
if
(
rProperty
.
getTransformation
().
isIdentity
())
if
(
rProperty
.
getTransformation
().
isIdentity
())
...
@@ -1687,7 +1687,7 @@ namespace
...
@@ -1687,7 +1687,7 @@ namespace
if
(
pA
->
GetColor
()
!=
aLastColor
)
if
(
pA
->
GetColor
()
!=
aLastColor
)
{
{
if
(
aPositions
.
size
())
if
(
!
aPositions
.
empty
())
{
{
createPointArrayPrimitive
(
aPositions
,
rTargetHolders
.
Current
(),
rPropertyHolders
.
Current
(),
aLastColor
.
getBColor
());
createPointArrayPrimitive
(
aPositions
,
rTargetHolders
.
Current
(),
rPropertyHolders
.
Current
(),
aLastColor
.
getBColor
());
aPositions
.
clear
();
aPositions
.
clear
();
...
@@ -1703,7 +1703,7 @@ namespace
...
@@ -1703,7 +1703,7 @@ namespace
nAction
--
;
nAction
--
;
if
(
aPositions
.
size
())
if
(
!
aPositions
.
empty
())
{
{
createPointArrayPrimitive
(
aPositions
,
rTargetHolders
.
Current
(),
rPropertyHolders
.
Current
(),
aLastColor
.
getBColor
());
createPointArrayPrimitive
(
aPositions
,
rTargetHolders
.
Current
(),
rPropertyHolders
.
Current
(),
aLastColor
.
getBColor
());
}
}
...
@@ -1727,7 +1727,7 @@ namespace
...
@@ -1727,7 +1727,7 @@ namespace
nAction
--
;
nAction
--
;
if
(
aPositions
.
size
())
if
(
!
aPositions
.
empty
())
{
{
createPointArrayPrimitive
(
aPositions
,
rTargetHolders
.
Current
(),
rPropertyHolders
.
Current
(),
rPropertyHolders
.
Current
().
getLineColor
());
createPointArrayPrimitive
(
aPositions
,
rTargetHolders
.
Current
(),
rPropertyHolders
.
Current
(),
rPropertyHolders
.
Current
().
getLineColor
());
}
}
...
...
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