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
299fdae0
Kaydet (Commit)
299fdae0
authored
May 01, 2012
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
SV_DECL_PTRARR_SORT->boost::ptr_set
Change-Id: I770d684a11347593656edc80d173bc7631d58fd8
üst
aa3df611
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
13 deletions
+7
-13
uiregionsw.cxx
sw/source/ui/dialog/uiregionsw.cxx
+4
-7
regionsw.hxx
sw/source/ui/inc/regionsw.hxx
+3
-1
unusedcode.easy
unusedcode.easy
+0
-5
No files found.
sw/source/ui/dialog/uiregionsw.cxx
Dosyayı görüntüle @
299fdae0
...
...
@@ -215,8 +215,6 @@ public:
};
SV_IMPL_OP_PTRARR_SORT
(
SectReprArr
,
SectReprPtr
)
SectRepr
::
SectRepr
(
sal_uInt16
nPos
,
SwSection
&
rSect
)
:
m_SectionData
(
rSect
)
,
m_Brush
(
RES_BACKGROUND
)
...
...
@@ -585,7 +583,6 @@ SwEditRegionDlg::~SwEditRegionDlg( )
pEntry
=
aTree
.
Next
(
pEntry
);
}
aSectReprArr
.
DeleteAndDestroy
(
0
,
aSectReprArr
.
Count
()
);
delete
m_pDocInserter
;
}
...
...
@@ -870,9 +867,9 @@ IMPL_LINK_NOARG(SwEditRegionDlg, OkHdl)
pEntry
=
aTree
.
Next
(
pEntry
);
}
for
(
sal_uInt16
i
=
aSectReprArr
.
Count
();
i
;
)
for
(
SectReprArr
::
reverse_iterator
aI
=
aSectReprArr
.
rbegin
(),
aEnd
=
aSectReprArr
.
rend
();
aI
!=
aEnd
;
++
aI
)
{
SwSectionFmt
*
pFmt
=
aOrigArray
[
a
SectReprArr
[
--
i
]
->
GetArrPos
()
];
SwSectionFmt
*
pFmt
=
aOrigArray
[
a
I
->
GetArrPos
()
];
sal_uInt16
nNewPos
=
rDocFmts
.
GetPos
(
pFmt
);
if
(
USHRT_MAX
!=
nNewPos
)
rSh
.
DelSectionFmt
(
nNewPos
);
...
...
@@ -992,7 +989,7 @@ IMPL_LINK_NOARG(SwEditRegionDlg, ChangeDismissHdl)
sal_Bool
bRestart
=
sal_False
;
if
(
pSectRepr
->
IsSelected
())
{
aSectReprArr
.
I
nsert
(
pSectRepr
);
aSectReprArr
.
i
nsert
(
pSectRepr
);
while
(
(
pChild
=
aTree
.
FirstChild
(
pEntry
)
)
!=
0
)
{
// because of the repositioning we have to start at the beginning again
...
...
@@ -1012,7 +1009,7 @@ IMPL_LINK_NOARG(SwEditRegionDlg, ChangeDismissHdl)
if
(
(
pEntry
=
aTree
.
FirstSelected
())
==
0
)
{
aConditionFT
.
Enable
(
sal_False
);
aConditionFT
.
Enable
(
sal_False
);
aConditionED
.
Enable
(
sal_False
);
aDismiss
.
Enable
(
sal_False
);
aCurName
.
Enable
(
sal_False
);
...
...
sw/source/ui/inc/regionsw.hxx
Dosyayı görüntüle @
299fdae0
...
...
@@ -52,6 +52,8 @@
#include <svx/paraprev.hxx>
#include <editeng/lrspitem.hxx>
#include <boost/ptr_container/ptr_set.hpp>
class
SwWrtShell
;
class
EditRegionDlg
;
...
...
@@ -66,7 +68,7 @@ namespace sfx2
*************************************************************************/
class
SectRepr
;
typedef
SectRepr
*
SectReprPtr
;
SV_DECL_PTRARR_SORT
(
SectReprArr
,
SectReprPtr
,
0
)
typedef
boost
::
ptr_set
<
SectRepr
>
SectReprArr
;
class
SwEditRegionDlg
:
public
SfxModalDialog
{
...
...
unusedcode.easy
Dosyayı görüntüle @
299fdae0
...
...
@@ -82,11 +82,6 @@ ScVbaFormat<ooo::vba::excel::XStyle>::getAddIndent()
ScVbaFormat<ooo::vba::excel::XStyle>::getXServiceInfo()
ScVbaFormat<ooo::vba::excel::XStyle>::setAddIndent(com::sun::star::uno::Any const&)
ScVbaFormat<ooo::vba::excel::XStyle>::setNumberFormat(com::sun::star::lang::Locale, rtl::OUString const&)
SectReprArr::Insert(SectRepr* const&, unsigned short&)
SectReprArr::Insert(SectRepr* const*, unsigned short)
SectReprArr::Insert(SectReprArr const*, unsigned short, unsigned short)
SectReprArr::Remove(SectRepr* const&, unsigned short)
SectReprArr::Remove(unsigned short, unsigned short)
SecurityEnvironment_NssImpl::getImplementation(com::sun::star::uno::Reference<com::sun::star::uno::XInterface>)
SfxDockingWrapper::GetChildWindowId()
SfxFilterPtrArr::DeleteAndDestroy(unsigned short, unsigned short)
...
...
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