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
fe8c3c69
Kaydet (Commit)
fe8c3c69
authored
Kas 15, 2011
tarafından
Markus Mohrhard
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
we don't need to inherit from FiltersTest here
üst
f7319622
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
16 deletions
+1
-16
macros-test.cxx
sw/qa/core/macros-test.cxx
+1
-16
No files found.
sw/qa/core/macros-test.cxx
Dosyayı görüntüle @
fe8c3c69
...
@@ -58,14 +58,11 @@ using namespace ::com::sun::star::uno;
...
@@ -58,14 +58,11 @@ using namespace ::com::sun::star::uno;
/* Implementation of Macros test */
/* Implementation of Macros test */
class
SwMacrosTest
class
SwMacrosTest
:
public
test
::
BootstrapFixture
:
public
test
::
FiltersTest
,
public
test
::
BootstrapFixture
{
{
public
:
public
:
SwMacrosTest
();
SwMacrosTest
();
virtual
bool
load
(
const
rtl
::
OUString
&
rFilter
,
const
rtl
::
OUString
&
rURL
,
const
rtl
::
OUString
&
rUserData
);
SwDocShellRef
load
(
const
rtl
::
OUString
&
rFilter
,
const
rtl
::
OUString
&
rURL
,
SwDocShellRef
load
(
const
rtl
::
OUString
&
rFilter
,
const
rtl
::
OUString
&
rURL
,
const
rtl
::
OUString
&
rUserData
,
const
rtl
::
OUString
&
rTypeName
,
sal_uLong
nFormatType
=
0
);
const
rtl
::
OUString
&
rUserData
,
const
rtl
::
OUString
&
rTypeName
,
sal_uLong
nFormatType
=
0
);
uno
::
Reference
<
com
::
sun
::
star
::
lang
::
XComponent
>
loadFromDesktop
(
const
rtl
::
OUString
&
rURL
);
uno
::
Reference
<
com
::
sun
::
star
::
lang
::
XComponent
>
loadFromDesktop
(
const
rtl
::
OUString
&
rURL
);
...
@@ -108,18 +105,6 @@ uno::Reference< com::sun::star::lang::XComponent > SwMacrosTest::loadFromDesktop
...
@@ -108,18 +105,6 @@ uno::Reference< com::sun::star::lang::XComponent > SwMacrosTest::loadFromDesktop
return
xComponent
;
return
xComponent
;
}
}
bool
SwMacrosTest
::
load
(
const
rtl
::
OUString
&
rFilter
,
const
rtl
::
OUString
&
rURL
,
const
rtl
::
OUString
&
rUserData
)
{
SwDocShellRef
xDocShRef
;
bool
bLoaded
=
xDocShRef
.
Is
();
//reference counting of SwDocShellRef is very confused.
if
(
bLoaded
)
xDocShRef
->
DoClose
();
return
bLoaded
;
}
void
SwMacrosTest
::
createFileURL
(
const
rtl
::
OUString
&
aFileBase
,
const
rtl
::
OUString
&
aFileExtension
,
rtl
::
OUString
&
rFilePath
)
void
SwMacrosTest
::
createFileURL
(
const
rtl
::
OUString
&
aFileBase
,
const
rtl
::
OUString
&
aFileExtension
,
rtl
::
OUString
&
rFilePath
)
{
{
rtl
::
OUString
aSep
(
RTL_CONSTASCII_USTRINGPARAM
(
"/"
));
rtl
::
OUString
aSep
(
RTL_CONSTASCII_USTRINGPARAM
(
"/"
));
...
...
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