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
d4fb53e4
Kaydet (Commit)
d4fb53e4
authored
Ara 11, 2014
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
why pointers
Change-Id: I6b1b790bfcc94823f703679689bbd76312ee3e5b
üst
ee037dea
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
mtfdemo.cxx
vcl/workben/mtfdemo.cxx
+3
-4
No files found.
vcl/workben/mtfdemo.cxx
Dosyayı görüntüle @
d4fb53e4
...
@@ -68,7 +68,7 @@ void DemoMtfWin::Paint( const Rectangle& rRect )
...
@@ -68,7 +68,7 @@ void DemoMtfWin::Paint( const Rectangle& rRect )
class
DemoMtfApp
:
public
Application
class
DemoMtfApp
:
public
Application
{
{
DemoMtfWin
*
mpWin
;
DemoMtfWin
*
mpWin
;
OUString
*
mp
FileName
;
OUString
ma
FileName
;
void
showHelp
()
void
showHelp
()
{
{
...
@@ -81,7 +81,6 @@ public:
...
@@ -81,7 +81,6 @@ public:
DemoMtfApp
()
DemoMtfApp
()
:
mpWin
(
NULL
)
:
mpWin
(
NULL
)
,
mpFileName
(
NULL
)
{
{
}
}
...
@@ -89,7 +88,7 @@ public:
...
@@ -89,7 +88,7 @@ public:
{
{
try
try
{
{
mpWin
=
new
DemoMtfWin
(
*
mp
FileName
);
mpWin
=
new
DemoMtfWin
(
ma
FileName
);
mpWin
->
SetText
(
OUString
(
"Display metafile"
));
mpWin
->
SetText
(
OUString
(
"Display metafile"
));
mpWin
->
Show
();
mpWin
->
Show
();
...
@@ -126,7 +125,7 @@ protected:
...
@@ -126,7 +125,7 @@ protected:
if
(
aArg
==
"--help"
||
aArg
==
"-h"
)
if
(
aArg
==
"--help"
||
aArg
==
"-h"
)
showHelp
();
showHelp
();
else
else
m
pFileName
=
new
OUString
(
aArg
)
;
m
aFileName
=
aArg
;
}
}
uno
::
Reference
<
uno
::
XComponentContext
>
xComponentContext
uno
::
Reference
<
uno
::
XComponentContext
>
xComponentContext
...
...
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