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
eb8e39f2
Kaydet (Commit)
eb8e39f2
authored
Ock 22, 2012
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
make svx ByteString free
üst
210d239b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
31 additions
and
14 deletions
+31
-14
gallery1.cxx
svx/source/gallery2/gallery1.cxx
+30
-13
trace.hxx
svx/source/inc/trace.hxx
+1
-1
No files found.
svx/source/gallery2/gallery1.cxx
Dosyayı görüntüle @
eb8e39f2
...
...
@@ -573,25 +573,42 @@ rtl::OUString Gallery::GetThemeName( sal_uIntPtr nThemeId ) const
// try fallback, if no entry was found
if
(
!
pFound
)
{
ByteString
aFallback
;
rtl
::
OString
aFallback
;
switch
(
nThemeId
)
{
case
(
GALLERY_THEME_3D
):
aFallback
=
"3D"
;
break
;
case
(
GALLERY_THEME_BULLETS
):
aFallback
=
"Bullets"
;
break
;
case
(
GALLERY_THEME_HOMEPAGE
):
aFallback
=
"Homepage"
;
break
;
case
(
GALLERY_THEME_HTMLBUTTONS
):
aFallback
=
"private://gallery/hidden/HtmlExportButtons"
;
break
;
case
(
GALLERY_THEME_POWERPOINT
):
aFallback
=
"private://gallery/hidden/imgppt"
;
break
;
case
(
GALLERY_THEME_FONTWORK
):
aFallback
=
"private://gallery/hidden/fontwork"
;
break
;
case
(
GALLERY_THEME_FONTWORK_VERTICAL
):
aFallback
=
"private://gallery/hidden/fontworkvertical"
;
break
;
case
(
GALLERY_THEME_RULERS
):
aFallback
=
"Rulers"
;
break
;
case
(
GALLERY_THEME_SOUNDS
):
aFallback
=
"Sounds"
;
break
;
case
(
GALLERY_THEME_3D
):
aFallback
=
rtl
::
OString
(
RTL_CONSTASCII_STRINGPARAM
(
"3D"
));
break
;
case
(
GALLERY_THEME_BULLETS
):
aFallback
=
rtl
::
OString
(
RTL_CONSTASCII_STRINGPARAM
(
"Bullets"
));
break
;
case
(
GALLERY_THEME_HOMEPAGE
):
aFallback
=
rtl
::
OString
(
RTL_CONSTASCII_STRINGPARAM
(
"Homepage"
));
break
;
case
(
GALLERY_THEME_HTMLBUTTONS
):
aFallback
=
rtl
::
OString
(
RTL_CONSTASCII_STRINGPARAM
(
"private://gallery/hidden/HtmlExportButtons"
));
break
;
case
(
GALLERY_THEME_POWERPOINT
):
aFallback
=
rtl
::
OString
(
RTL_CONSTASCII_STRINGPARAM
(
"private://gallery/hidden/imgppt"
));
break
;
case
(
GALLERY_THEME_FONTWORK
):
aFallback
=
rtl
::
OString
(
RTL_CONSTASCII_STRINGPARAM
(
"private://gallery/hidden/fontwork"
));
break
;
case
(
GALLERY_THEME_FONTWORK_VERTICAL
):
aFallback
=
rtl
::
OString
(
RTL_CONSTASCII_STRINGPARAM
(
"private://gallery/hidden/fontworkvertical"
));
break
;
case
(
GALLERY_THEME_RULERS
):
aFallback
=
rtl
::
OString
(
RTL_CONSTASCII_STRINGPARAM
(
"Rulers"
));
break
;
case
(
GALLERY_THEME_SOUNDS
):
aFallback
=
rtl
::
OString
(
RTL_CONSTASCII_STRINGPARAM
(
"Sounds"
));
break
;
default
:
break
;
break
;
}
pFound
=
(
(
Gallery
*
)
this
)
->
ImplGetThemeEntry
(
String
::
CreateFromAscii
(
aFallback
.
GetBuffer
()
)
);
pFound
=
const_cast
<
Gallery
*>
(
this
)
->
ImplGetThemeEntry
(
rtl
::
OStringToOUString
(
aFallback
,
RTL_TEXTENCODING_ASCII_US
)
);
}
return
(
pFound
?
pFound
->
GetThemeName
()
:
rtl
::
OUString
()
);
...
...
svx/source/inc/trace.hxx
Dosyayı görüntüle @
eb8e39f2
...
...
@@ -38,7 +38,7 @@
class
Tracer
{
Byte
String
m_sBlockDescription
;
rtl
::
O
String
m_sBlockDescription
;
DECLARE_STL_STDKEY_MAP
(
::
oslThreadIdentifier
,
sal_Int32
,
MapThreadId2Int
);
static
MapThreadId2Int
s_aThreadIndents
;
...
...
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