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
f52a86b4
Kaydet (Commit)
f52a86b4
authored
Haz 13, 2013
tarafından
Julien Nabet
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
cppcheck: fix several Prefer prefix ++/-- operators
Change-Id: Ie8ce0ebb9ec979575657a89ebbfe4d01142b04e5
üst
1ff3ab92
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
15 additions
and
15 deletions
+15
-15
Trie.cxx
editeng/source/lookuptree/Trie.cxx
+3
-3
eps.cxx
filter/source/graphicfilter/eps/eps.cxx
+2
-2
SlsLayeredDevice.cxx
sd/source/ui/slidesorter/view/SlsLayeredDevice.cxx
+1
-1
overlaymanagerbuffered.cxx
svx/source/sdr/overlay/overlaymanagerbuffered.cxx
+2
-2
sdrpaintwindow.cxx
svx/source/svdraw/sdrpaintwindow.cxx
+1
-1
svdpntv.cxx
svx/source/svdraw/svdpntv.cxx
+1
-1
viewsh.cxx
sw/source/core/view/viewsh.cxx
+1
-1
vclxregion.cxx
toolkit/source/awt/vclxregion.cxx
+1
-1
genpspgraphics.cxx
vcl/generic/print/genpspgraphics.cxx
+1
-1
svpgdi.cxx
vcl/headless/svpgdi.cxx
+2
-2
No files found.
editeng/source/lookuptree/Trie.cxx
Dosyayı görüntüle @
f52a86b4
...
...
@@ -29,7 +29,7 @@ TrieNode::TrieNode(sal_Unicode aCharacter) :
TrieNode
::~
TrieNode
()
{
vector
<
TrieNode
*>::
iterator
iNode
;
for
(
iNode
=
mChildren
.
begin
();
iNode
!=
mChildren
.
end
();
iNode
++
)
for
(
iNode
=
mChildren
.
begin
();
iNode
!=
mChildren
.
end
();
++
iNode
)
{
delete
*
iNode
;
}
...
...
@@ -68,7 +68,7 @@ TrieNode* TrieNode::findChild(sal_Unicode aInputCharacter)
vector
<
TrieNode
*>::
iterator
iNode
;
for
(
iNode
=
mChildren
.
begin
();
iNode
!=
mChildren
.
end
();
iNode
++
)
for
(
iNode
=
mChildren
.
begin
();
iNode
!=
mChildren
.
end
();
++
iNode
)
{
TrieNode
*
pCurrent
=
*
iNode
;
if
(
pCurrent
->
mCharacter
==
aInputCharacter
)
...
...
@@ -96,7 +96,7 @@ void TrieNode::collectSuggestions(OUString sPath, vector<OUString>& rSuggestionL
// traverse nodes for other characters
vector
<
TrieNode
*>::
iterator
iNode
;
for
(
iNode
=
mChildren
.
begin
();
iNode
!=
mChildren
.
end
();
iNode
++
)
for
(
iNode
=
mChildren
.
begin
();
iNode
!=
mChildren
.
end
();
++
iNode
)
{
TrieNode
*
pCurrent
=
*
iNode
;
if
(
pCurrent
!=
NULL
)
...
...
filter/source/graphicfilter/eps/eps.cxx
Dosyayı görüntüle @
f52a86b4
...
...
@@ -1652,7 +1652,7 @@ void PSWriter::ImplSetClipRegion( Region& rClipRegion )
RectangleVector
aRectangles
;
rClipRegion
.
GetRegionRectangles
(
aRectangles
);
for
(
RectangleVector
::
const_iterator
aRectIter
(
aRectangles
.
begin
());
aRectIter
!=
aRectangles
.
end
();
aRectIter
++
)
for
(
RectangleVector
::
const_iterator
aRectIter
(
aRectangles
.
begin
());
aRectIter
!=
aRectangles
.
end
();
++
aRectIter
)
{
double
nX1
(
aRectIter
->
Left
());
double
nY1
(
aRectIter
->
Top
());
...
...
@@ -1781,7 +1781,7 @@ void PSWriter::ImplBmp( Bitmap* pBitmap, Bitmap* pMaskBitmap, const Point & rPoi
aRegion
.
GetRegionRectangles
(
aRectangles
);
const
long
nMoveVertical
(
nHeightLeft
-
nHeightOrg
);
for
(
RectangleVector
::
iterator
aRectIter
(
aRectangles
.
begin
());
aRectIter
!=
aRectangles
.
end
();
aRectIter
++
)
for
(
RectangleVector
::
iterator
aRectIter
(
aRectangles
.
begin
());
aRectIter
!=
aRectangles
.
end
();
++
aRectIter
)
{
aRectIter
->
Move
(
0
,
nMoveVertical
);
...
...
sd/source/ui/slidesorter/view/SlsLayeredDevice.cxx
Dosyayı görüntüle @
f52a86b4
...
...
@@ -88,7 +88,7 @@ void ForAllRectangles (const Region& rRegion, ::boost::function<void(const Recta
}
else
{
for
(
RectangleVector
::
const_iterator
aRectIter
(
aRectangles
.
begin
());
aRectIter
!=
aRectangles
.
end
();
aRectIter
++
)
for
(
RectangleVector
::
const_iterator
aRectIter
(
aRectangles
.
begin
());
aRectIter
!=
aRectangles
.
end
();
++
aRectIter
)
{
aFunction
(
*
aRectIter
);
}
...
...
svx/source/sdr/overlay/overlaymanagerbuffered.cxx
Dosyayı görüntüle @
f52a86b4
...
...
@@ -120,7 +120,7 @@ namespace sdr
RectangleVector
aRectangles
;
rRegionPixel
.
GetRegionRectangles
(
aRectangles
);
for
(
RectangleVector
::
const_iterator
aRectIter
(
aRectangles
.
begin
());
aRectIter
!=
aRectangles
.
end
();
aRectIter
++
)
for
(
RectangleVector
::
const_iterator
aRectIter
(
aRectangles
.
begin
());
aRectIter
!=
aRectangles
.
end
();
++
aRectIter
)
{
#ifdef DBG_UTIL
// #i72754# possible graphical region test only with non-pro
...
...
@@ -215,7 +215,7 @@ namespace sdr
RectangleVector
aRectangles
;
aRegion
.
GetRegionRectangles
(
aRectangles
);
for
(
RectangleVector
::
const_iterator
aRectIter
(
aRectangles
.
begin
());
aRectIter
!=
aRectangles
.
end
();
aRectIter
++
)
for
(
RectangleVector
::
const_iterator
aRectIter
(
aRectangles
.
begin
());
aRectIter
!=
aRectangles
.
end
();
++
aRectIter
)
{
// for each rectangle, save the area
const
Point
aTopLeft
(
aRectIter
->
TopLeft
());
...
...
svx/source/svdraw/sdrpaintwindow.cxx
Dosyayı görüntüle @
f52a86b4
...
...
@@ -69,7 +69,7 @@ void SdrPreRenderDevice::OutputPreRenderDevice(const Region& rExpandedRegion)
RectangleVector
aRectangles
;
aRegionPixel
.
GetRegionRectangles
(
aRectangles
);
for
(
RectangleVector
::
const_iterator
aRectIter
(
aRectangles
.
begin
());
aRectIter
!=
aRectangles
.
end
();
aRectIter
++
)
for
(
RectangleVector
::
const_iterator
aRectIter
(
aRectangles
.
begin
());
aRectIter
!=
aRectangles
.
end
();
++
aRectIter
)
{
// for each rectangle, copy the area
const
Point
aTopLeft
(
aRectIter
->
TopLeft
());
...
...
svx/source/svdraw/svdpntv.cxx
Dosyayı görüntüle @
f52a86b4
...
...
@@ -626,7 +626,7 @@ void SdrPaintView::CompleteRedraw(OutputDevice* pOut, const Region& rReg, sdr::c
pWindow
->
SetLineColor
(
COL_LIGHTGREEN
);
pWindow
->
SetFillColor
();
for
(
RectangleVector
::
const_iterator
aRectIter
(
aRectangles
.
begin
());
aRectIter
!=
aRectangles
.
end
();
aRectIter
++
)
for
(
RectangleVector
::
const_iterator
aRectIter
(
aRectangles
.
begin
());
aRectIter
!=
aRectangles
.
end
();
++
aRectIter
)
{
pWindow
->
DrawRect
(
*
aRectIter
);
}
...
...
sw/source/core/view/viewsh.cxx
Dosyayı görüntüle @
f52a86b4
...
...
@@ -1731,7 +1731,7 @@ void ViewShell::Paint(const Rectangle &rRect)
RectangleVector
aRectangles
;
aRegion
.
GetRegionRectangles
(
aRectangles
);
for
(
RectangleVector
::
const_iterator
aRectIter
(
aRectangles
.
begin
());
aRectIter
!=
aRectangles
.
end
();
aRectIter
++
)
for
(
RectangleVector
::
const_iterator
aRectIter
(
aRectangles
.
begin
());
aRectIter
!=
aRectangles
.
end
();
++
aRectIter
)
{
Imp
()
->
AddPaintRect
(
*
aRectIter
);
}
...
...
toolkit/source/awt/vclxregion.cxx
Dosyayı görüntüle @
f52a86b4
...
...
@@ -148,7 +148,7 @@ void VCLXRegion::xOrRegion( const ::com::sun::star::uno::Reference< ::com::sun::
::
com
::
sun
::
star
::
uno
::
Sequence
<
::
com
::
sun
::
star
::
awt
::
Rectangle
>
aRects
(
aRectangles
.
size
());
sal_uInt32
a
(
0
);
for
(
RectangleVector
::
const_iterator
aRectIter
(
aRectangles
.
begin
());
aRectIter
!=
aRectangles
.
end
();
aRectIter
++
)
for
(
RectangleVector
::
const_iterator
aRectIter
(
aRectangles
.
begin
());
aRectIter
!=
aRectangles
.
end
();
++
aRectIter
)
{
aRects
.
getArray
()[
a
++
]
=
AWTRectangle
(
*
aRectIter
);
}
...
...
vcl/generic/print/genpspgraphics.cxx
Dosyayı görüntüle @
f52a86b4
...
...
@@ -325,7 +325,7 @@ bool GenPspGraphics::setClipRegion( const Region& i_rClip )
i_rClip
.
GetRegionRectangles
(
aRectangles
);
m_pPrinterGfx
->
BeginSetClipRegion
(
aRectangles
.
size
());
for
(
RectangleVector
::
const_iterator
aRectIter
(
aRectangles
.
begin
());
aRectIter
!=
aRectangles
.
end
();
aRectIter
++
)
for
(
RectangleVector
::
const_iterator
aRectIter
(
aRectangles
.
begin
());
aRectIter
!=
aRectangles
.
end
();
++
aRectIter
)
{
const
long
nW
(
aRectIter
->
GetWidth
());
...
...
vcl/headless/svpgdi.cxx
Dosyayı görüntüle @
f52a86b4
...
...
@@ -167,7 +167,7 @@ void SvpSalGraphics::ensureClip()
RectangleVector
aRectangles
;
m_aClipRegion
.
GetRegionRectangles
(
aRectangles
);
for
(
RectangleVector
::
const_iterator
aRectIter
(
aRectangles
.
begin
());
aRectIter
!=
aRectangles
.
end
();
aRectIter
++
)
for
(
RectangleVector
::
const_iterator
aRectIter
(
aRectangles
.
begin
());
aRectIter
!=
aRectangles
.
end
();
++
aRectIter
)
{
const
long
nW
(
aRectIter
->
GetWidth
());
if
(
nW
)
...
...
@@ -224,7 +224,7 @@ bool SvpSalGraphics::isClippedSetup( const basegfx::B2IBox &aRange, SvpSalGraphi
Rectangle
aHitRect
;
RectangleVector
aRectangles
;
m_aClipRegion
.
GetRegionRectangles
(
aRectangles
);
for
(
RectangleVector
::
const_iterator
aRectIter
(
aRectangles
.
begin
());
aRectIter
!=
aRectangles
.
end
();
aRectIter
++
)
for
(
RectangleVector
::
const_iterator
aRectIter
(
aRectangles
.
begin
());
aRectIter
!=
aRectangles
.
end
();
++
aRectIter
)
{
if
(
aRectIter
->
IsOver
(
aRect
)
)
{
...
...
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