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
99af8b07
Kaydet (Commit)
99af8b07
authored
Agu 22, 2013
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
convert include/sfx2/opengrf.hxx from String to OUString
Change-Id: Id9295f92d6cd80f3f53d9b521d536910104856cd
üst
2e60444c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
13 deletions
+13
-13
opengrf.hxx
include/sfx2/opengrf.hxx
+6
-6
opengrf.cxx
sfx2/source/appl/opengrf.cxx
+7
-7
No files found.
include/sfx2/opengrf.hxx
Dosyayı görüntüle @
99af8b07
...
...
@@ -28,14 +28,14 @@ struct SvxOpenGrf_Impl;
class
SFX2_DLLPUBLIC
SvxOpenGraphicDialog
{
public
:
SvxOpenGraphicDialog
(
const
String
&
rTitle
);
SvxOpenGraphicDialog
(
const
OU
String
&
rTitle
);
~
SvxOpenGraphicDialog
();
short
Execute
();
void
SetPath
(
const
String
&
rPath
);
void
SetPath
(
const
String
&
rPath
,
sal_Bool
bLinkState
);
String
GetPath
()
const
;
void
SetPath
(
const
OU
String
&
rPath
);
void
SetPath
(
const
OU
String
&
rPath
,
sal_Bool
bLinkState
);
OUString
GetPath
()
const
;
int
GetGraphic
(
Graphic
&
)
const
;
...
...
@@ -43,8 +43,8 @@ public:
void
AsLink
(
sal_Bool
);
sal_Bool
IsAsLink
()
const
;
String
GetCurrentFilter
()
const
;
void
SetCurrentFilter
(
const
String
&
);
OUString
GetCurrentFilter
()
const
;
void
SetCurrentFilter
(
const
OU
String
&
);
private
:
// disable copy and assignment
SFX2_DLLPRIVATE
SvxOpenGraphicDialog
(
const
SvxOpenGraphicDialog
&
);
...
...
sfx2/source/appl/opengrf.cxx
Dosyayı görüntüle @
99af8b07
...
...
@@ -95,7 +95,7 @@ SvxOpenGrf_Impl::SvxOpenGrf_Impl()
}
SvxOpenGraphicDialog
::
SvxOpenGraphicDialog
(
const
String
&
rTitle
)
:
SvxOpenGraphicDialog
::
SvxOpenGraphicDialog
(
const
OU
String
&
rTitle
)
:
mpImpl
(
new
SvxOpenGrf_Impl
)
{
mpImpl
->
aFileDlg
.
SetTitle
(
rTitle
);
...
...
@@ -115,7 +115,7 @@ short SvxOpenGraphicDialog::Execute()
while
(
bQuitLoop
==
sal_False
&&
mpImpl
->
aFileDlg
.
Execute
()
==
ERRCODE_NONE
)
{
if
(
GetPath
().
Len
()
)
if
(
!
GetPath
().
isEmpty
()
)
{
GraphicFilter
&
rFilter
=
GraphicFilter
::
GetGraphicFilter
();
INetURLObject
aObj
(
GetPath
()
);
...
...
@@ -181,12 +181,12 @@ short SvxOpenGraphicDialog::Execute()
}
void
SvxOpenGraphicDialog
::
SetPath
(
const
String
&
rPath
)
void
SvxOpenGraphicDialog
::
SetPath
(
const
OU
String
&
rPath
)
{
mpImpl
->
aFileDlg
.
SetDisplayDirectory
(
rPath
);
}
void
SvxOpenGraphicDialog
::
SetPath
(
const
String
&
rPath
,
sal_Bool
bLinkState
)
void
SvxOpenGraphicDialog
::
SetPath
(
const
OU
String
&
rPath
,
sal_Bool
bLinkState
)
{
SetPath
(
rPath
);
AsLink
(
bLinkState
);
...
...
@@ -258,19 +258,19 @@ int SvxOpenGraphicDialog::GetGraphic(Graphic& rGraphic) const
}
String
SvxOpenGraphicDialog
::
GetPath
()
const
OU
String
SvxOpenGraphicDialog
::
GetPath
()
const
{
return
mpImpl
->
aFileDlg
.
GetPath
();
}
String
SvxOpenGraphicDialog
::
GetCurrentFilter
()
const
OU
String
SvxOpenGraphicDialog
::
GetCurrentFilter
()
const
{
return
mpImpl
->
aFileDlg
.
GetCurrentFilter
();
}
void
SvxOpenGraphicDialog
::
SetCurrentFilter
(
const
String
&
rStr
)
void
SvxOpenGraphicDialog
::
SetCurrentFilter
(
const
OUString
&
rStr
)
{
mpImpl
->
aFileDlg
.
SetCurrentFilter
(
rStr
);
}
...
...
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