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
1b7bfb7b
Kaydet (Commit)
1b7bfb7b
authored
Mar 26, 2012
tarafından
Kohei Yoshida
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
UniString to rtl::OUString.
üst
98add982
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
25 additions
and
10 deletions
+25
-10
cuitabline.hxx
cui/source/inc/cuitabline.hxx
+1
-2
tpline.cxx
cui/source/tabpages/tpline.cxx
+6
-8
gallery.hxx
svx/inc/svx/gallery.hxx
+1
-0
galexpl.cxx
svx/source/gallery2/galexpl.cxx
+17
-0
No files found.
cui/source/inc/cuitabline.hxx
Dosyayı görüntüle @
1b7bfb7b
...
...
@@ -140,9 +140,8 @@ private:
FixedText
aSymbolHeightFT
;
MetricField
aSymbolHeightMF
;
CheckBox
aSymbolRatioCB
;
std
::
vector
<
String
>
aGrfNames
;
std
::
vector
<
rtl
::
OU
String
>
aGrfNames
;
SvxBmpItemInfoList
aGrfBrushItems
;
String
sNumCharFmtName
;
sal_Bool
bLastWidthModified
;
Size
aSymbolLastSize
;
Graphic
aSymbolGraphic
;
...
...
cui/source/tabpages/tpline.cxx
Dosyayı görüntüle @
1b7bfb7b
...
...
@@ -1462,19 +1462,17 @@ IMPL_LINK( SvxLineTabPage, MenuCreateHdl_Impl, MenuButton *, pButton )
GalleryExplorer
::
FillObjList
(
GALLERY_THEME_BULLETS
,
aGrfNames
);
PopupMenu
*
pPopup
=
new
PopupMenu
;
String
aEmptyStr
;
const
String
*
pUIName
=
NULL
;
rtl
::
OU
String
aEmptyStr
;
const
rtl
::
OU
String
*
pUIName
=
NULL
;
sal_uInt32
i
=
0
;
for
(
std
::
vector
<
String
>::
iterator
it
=
aGrfNames
.
begin
();
it
!=
aGrfNames
.
end
();
++
it
,
++
i
)
for
(
std
::
vector
<
rtl
::
OU
String
>::
iterator
it
=
aGrfNames
.
begin
();
it
!=
aGrfNames
.
end
();
++
it
,
++
i
)
{
pUIName
=
&
(
*
it
);
// convert URL encodings to UI characters (eg %20 for spaces)
String
aPhysicalName
;
rtl
::
OUString
sTmp
;
if
(
::
utl
::
LocalFileHelper
::
ConvertURLToPhysicalName
(
*
it
,
sTmp
))
rtl
::
OUString
aPhysicalName
;
if
(
utl
::
LocalFileHelper
::
ConvertURLToPhysicalName
(
*
it
,
aPhysicalName
))
{
aPhysicalName
=
sTmp
;
pUIName
=
&
aPhysicalName
;
}
...
...
@@ -1536,7 +1534,7 @@ IMPL_LINK( SvxLineTabPage, MenuCreateHdl_Impl, MenuButton *, pButton )
pView
->
ShowSdrPage
(
pPage
);
PopupMenu
*
pPopup
=
new
PopupMenu
;
String
aEmptyStr
;
rtl
::
OU
String
aEmptyStr
;
// Generate invisible square to give all symbols a
// bitmap size, which is indepedent from specific glyph
...
...
svx/inc/svx/gallery.hxx
Dosyayı görüntüle @
1b7bfb7b
...
...
@@ -231,6 +231,7 @@ public:
// FillObjList is filling rObjList with Strings of the internal Gallery Object URL
static
sal_Bool
FillObjList
(
const
String
&
rThemeName
,
std
::
vector
<
String
>
&
rObjList
);
static
sal_Bool
FillObjList
(
const
sal_uInt32
nThemeId
,
std
::
vector
<
String
>
&
rObjList
);
static
bool
FillObjList
(
const
sal_uInt32
nThemeId
,
std
::
vector
<
rtl
::
OUString
>
&
rObjList
);
// FillObjTitleList is filling the rList with the title for each gallery object
static
sal_Bool
FillObjListTitle
(
const
sal_uInt32
nThemeId
,
std
::
vector
<
rtl
::
OUString
>&
rList
);
...
...
svx/source/gallery2/galexpl.cxx
Dosyayı görüntüle @
1b7bfb7b
...
...
@@ -153,6 +153,23 @@ sal_Bool GalleryExplorer::FillObjList( const sal_uInt32 nThemeId, std::vector<St
return
FillObjList
(
pGal
->
GetThemeName
(
nThemeId
),
rObjList
);
}
bool
GalleryExplorer
::
FillObjList
(
const
sal_uInt32
nThemeId
,
std
::
vector
<
rtl
::
OUString
>
&
rObjList
)
{
std
::
vector
<
String
>
aObjList
;
if
(
!
FillObjList
(
nThemeId
,
aObjList
))
return
false
;
// Convert UniString to rtl::OUString.
std
::
vector
<
rtl
::
OUString
>
aList
;
aList
.
reserve
(
aObjList
.
size
());
std
::
vector
<
String
>::
const_iterator
it
=
aObjList
.
begin
(),
itEnd
=
aObjList
.
end
();
for
(;
it
!=
itEnd
;
++
it
)
aList
.
push_back
(
*
it
);
rObjList
.
swap
(
aList
);
return
true
;
}
// ------------------------------------------------------------------------
sal_Bool
GalleryExplorer
::
FillObjListTitle
(
const
sal_uInt32
nThemeId
,
std
::
vector
<
rtl
::
OUString
>&
rList
)
...
...
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