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
161b666f
Kaydet (Commit)
161b666f
authored
May 07, 2011
tarafından
Rafael Dominguez
Kaydeden (comit)
Joseph Powers
May 08, 2011
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Remove deprecated List in SvxNumOptionsTabPage for std::vector<String>.
üst
3afc77ad
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
18 deletions
+18
-18
numpages.hxx
cui/source/inc/numpages.hxx
+1
-1
numpages.cxx
cui/source/tabpages/numpages.cxx
+17
-17
No files found.
cui/source/inc/numpages.hxx
Dosyayı görüntüle @
161b666f
...
...
@@ -301,7 +301,7 @@ class SvxNumOptionsTabPage : public SfxTabPage
sal_Bool
bHTMLMode
:
1
;
sal_Bool
bMenuButtonInitialized
:
1
;
List
aGrfNames
;
std
::
vector
<
String
>
aGrfNames
;
Font
aActBulletFont
;
String
sBullet
;
String
sStartWith
;
...
...
cui/source/tabpages/numpages.cxx
Dosyayı görüntüle @
161b666f
...
...
@@ -1193,12 +1193,6 @@ SvxNumOptionsTabPage::SvxNumOptionsTabPage(Window* pParent,
SvxNumOptionsTabPage
::~
SvxNumOptionsTabPage
()
{
delete
aBitmapMB
.
GetPopupMenu
()
->
GetPopupMenu
(
MN_GALLERY
);
String
*
pStr
=
(
String
*
)
aGrfNames
.
First
();
while
(
pStr
)
{
delete
pStr
;
pStr
=
(
String
*
)
aGrfNames
.
Next
();
}
delete
pActNum
;
delete
pPreviewWIN
;
delete
pSaveNum
;
...
...
@@ -1959,12 +1953,16 @@ IMPL_LINK( SvxNumOptionsTabPage, GraphicHdl_Impl, MenuButton *, pButton )
if
(
MN_GALLERY_ENTRY
<=
nItemId
)
{
aGrfName
=
*
((
String
*
)
aGrfNames
.
GetObject
(
nItemId
-
MN_GALLERY_ENTRY
));
Graphic
aGraphic
;
if
(
GalleryExplorer
::
GetGraphicObj
(
GALLERY_THEME_BULLETS
,
nItemId
-
MN_GALLERY_ENTRY
,
&
aGraphic
))
sal_uInt16
idx
=
nItemId
-
MN_GALLERY_ENTRY
;
if
(
idx
<
aGrfNames
.
size
())
{
aSize
=
SvxNumberFormat
::
GetGraphicSizeMM100
(
&
aGraphic
);
bSucc
=
sal_True
;
aGrfName
=
aGrfNames
[
idx
];
Graphic
aGraphic
;
if
(
GalleryExplorer
::
GetGraphicObj
(
GALLERY_THEME_BULLETS
,
idx
,
&
aGraphic
))
{
aSize
=
SvxNumberFormat
::
GetGraphicSizeMM100
(
&
aGraphic
);
bSucc
=
sal_True
;
}
}
}
else
...
...
@@ -2031,20 +2029,22 @@ IMPL_LINK( SvxNumOptionsTabPage, PopupActivateHdl_Impl, Menu *, EMPTYARG )
bMenuButtonInitialized
=
sal_True
;
EnterWait
();
PopupMenu
*
pPopup
=
aBitmapMB
.
GetPopupMenu
()
->
GetPopupMenu
(
MN_GALLERY
);
GalleryExplorer
::
FillObjList
(
GALLERY_THEME_BULLETS
,
aGrfNames
);
if
(
aGrfNames
.
Count
(
))
if
(
GalleryExplorer
::
FillObjList
(
GALLERY_THEME_BULLETS
,
aGrfNames
))
{
pPopup
->
RemoveItem
(
pPopup
->
GetItemPos
(
NUM_NO_GRAPHIC
));
String
aEmptyStr
;
GalleryExplorer
::
BeginLocking
(
GALLERY_THEME_BULLETS
);
for
(
sal_uInt16
i
=
0
;
i
<
aGrfNames
.
Count
();
i
++
)
Graphic
aGraphic
;
String
sGrfName
;
std
::
vector
<
String
>::
const_iterator
it
=
aGrfNames
.
begin
();
for
(
sal_uInt16
i
=
0
;
it
!=
aGrfNames
.
end
();
++
it
,
++
i
)
{
Graphic
aGraphic
;
String
sGrfName
=
*
(
const
String
*
)
aGrfNames
.
GetObject
(
i
);
sGrfName
=
*
it
;
INetURLObject
aObj
(
sGrfName
);
if
(
aObj
.
GetProtocol
()
==
INET_PROT_FILE
)
sGrfName
=
aObj
.
PathToFileName
();
if
(
GalleryExplorer
::
GetGraphicObj
(
GALLERY_THEME_BULLETS
,
i
,
&
aGraphic
))
{
Bitmap
aBitmap
(
aGraphic
.
GetBitmap
());
...
...
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