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
2384be53
Kaydet (Commit)
2384be53
authored
Tem 24, 2013
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
convert some XubString to OUString in Application
Change-Id: Ieed48339e9fc01796674691d5b0580a36df6e63e
üst
d7cd7e89
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
svapp.hxx
include/vcl/svapp.hxx
+2
-2
svdata.hxx
vcl/inc/svdata.hxx
+1
-1
svapp.cxx
vcl/source/app/svapp.cxx
+4
-4
No files found.
include/vcl/svapp.hxx
Dosyayı görüntüle @
2384be53
...
@@ -232,8 +232,8 @@ public:
...
@@ -232,8 +232,8 @@ public:
static
Window
*
GetTopWindow
(
long
nIndex
);
static
Window
*
GetTopWindow
(
long
nIndex
);
static
Window
*
GetActiveTopWindow
();
static
Window
*
GetActiveTopWindow
();
static
void
SetAppName
(
const
String
&
rUniqueName
);
static
void
SetAppName
(
const
OU
String
&
rUniqueName
);
static
String
GetAppName
();
static
OUString
GetAppName
();
static
bool
LoadBrandBitmap
(
const
char
*
pName
,
BitmapEx
&
rBitmap
);
static
bool
LoadBrandBitmap
(
const
char
*
pName
,
BitmapEx
&
rBitmap
);
// default name of the application for message dialogs and printing
// default name of the application for message dialogs and printing
...
...
vcl/inc/svdata.hxx
Dosyayı görüntüle @
2384be53
...
@@ -116,7 +116,7 @@ struct ImplSVAppData
...
@@ -116,7 +116,7 @@ struct ImplSVAppData
VclEventListeners
*
mpEventListeners
;
// listeners for vcl events (eg, extended toolkit)
VclEventListeners
*
mpEventListeners
;
// listeners for vcl events (eg, extended toolkit)
VclEventListeners
*
mpKeyListeners
;
// listeners for key events only (eg, extended toolkit)
VclEventListeners
*
mpKeyListeners
;
// listeners for key events only (eg, extended toolkit)
ImplAccelManager
*
mpAccelMgr
;
// Accelerator Manager
ImplAccelManager
*
mpAccelMgr
;
// Accelerator Manager
XubString
*
mpAppName
;
// Application name
OUString
*
mpAppName
;
// Application name
OUString
*
mpAppFileName
;
// Abs. Application FileName
OUString
*
mpAppFileName
;
// Abs. Application FileName
OUString
*
mpDisplayName
;
// Application Display Name
OUString
*
mpDisplayName
;
// Application Display Name
String
*
mpFontPath
;
// Additional Fontpath
String
*
mpFontPath
;
// Additional Fontpath
...
...
vcl/source/app/svapp.cxx
Dosyayı görüntüle @
2384be53
...
@@ -1225,20 +1225,20 @@ Window* Application::GetActiveTopWindow()
...
@@ -1225,20 +1225,20 @@ Window* Application::GetActiveTopWindow()
// -----------------------------------------------------------------------
// -----------------------------------------------------------------------
void
Application
::
SetAppName
(
const
Xub
String
&
rUniqueName
)
void
Application
::
SetAppName
(
const
OU
String
&
rUniqueName
)
{
{
ImplSVData
*
pSVData
=
ImplGetSVData
();
ImplSVData
*
pSVData
=
ImplGetSVData
();
// create if does not exist
// create if does not exist
if
(
!
pSVData
->
maAppData
.
mpAppName
)
if
(
!
pSVData
->
maAppData
.
mpAppName
)
pSVData
->
maAppData
.
mpAppName
=
new
Xub
String
(
rUniqueName
);
pSVData
->
maAppData
.
mpAppName
=
new
OU
String
(
rUniqueName
);
else
else
*
(
pSVData
->
maAppData
.
mpAppName
)
=
rUniqueName
;
*
(
pSVData
->
maAppData
.
mpAppName
)
=
rUniqueName
;
}
}
// -----------------------------------------------------------------------
// -----------------------------------------------------------------------
Xub
String
Application
::
GetAppName
()
OU
String
Application
::
GetAppName
()
{
{
ImplSVData
*
pSVData
=
ImplGetSVData
();
ImplSVData
*
pSVData
=
ImplGetSVData
();
if
(
pSVData
->
maAppData
.
mpAppName
)
if
(
pSVData
->
maAppData
.
mpAppName
)
...
@@ -1270,7 +1270,7 @@ OUString Application::GetDisplayName()
...
@@ -1270,7 +1270,7 @@ OUString Application::GetDisplayName()
else
if
(
pSVData
->
maWinData
.
mpAppWin
)
else
if
(
pSVData
->
maWinData
.
mpAppWin
)
return
pSVData
->
maWinData
.
mpAppWin
->
GetText
();
return
pSVData
->
maWinData
.
mpAppWin
->
GetText
();
else
else
return
ImplGetSVEmptyStr
(
);
return
OUString
(
""
);
}
}
// -----------------------------------------------------------------------
// -----------------------------------------------------------------------
...
...
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