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
c2447d0b
Kaydet (Commit)
c2447d0b
authored
Ock 11, 2017
tarafından
David Tardon
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
honor lib version in import tests again
Change-Id: Idf99aab4bc136ac4a8a07945001e4f34a34a0e17
üst
aa1ee198
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
0 deletions
+13
-0
Library_wpftqahelper.mk
writerperfect/Library_wpftqahelper.mk
+1
-0
WpftFilterTestBase.cxx
writerperfect/qa/unit/WpftFilterTestBase.cxx
+12
-0
No files found.
writerperfect/Library_wpftqahelper.mk
Dosyayı görüntüle @
c2447d0b
...
...
@@ -28,6 +28,7 @@ $(eval $(call gb_Library_use_libraries,wpftqahelper,\
cppu \
sal \
test \
tl \
ucbhelper \
unotest \
))
...
...
writerperfect/qa/unit/WpftFilterTestBase.cxx
Dosyayı görüntüle @
c2447d0b
...
...
@@ -11,6 +11,8 @@
#include <com/sun/star/document/XFilter.hpp>
#include <tools/urlobj.hxx>
#include "WpftLoader.hxx"
namespace
uno
=
com
::
sun
::
star
::
uno
;
...
...
@@ -31,6 +33,16 @@ WpftFilterTestBase::WpftFilterTestBase(const rtl::OUString &rFactoryURL)
bool
WpftFilterTestBase
::
load
(
const
OUString
&
,
const
OUString
&
rURL
,
const
OUString
&
,
SfxFilterFlags
,
SotClipboardFormatId
,
unsigned
int
)
{
if
(
m_pOptionalMap
)
{
// first check if this test file is supported by the used version of the library
const
INetURLObject
aUrl
(
rURL
);
const
WpftOptionalMap_t
::
const_iterator
it
(
m_pOptionalMap
->
find
(
aUrl
.
getName
()));
if
((
it
!=
m_pOptionalMap
->
end
())
&&
!
it
->
second
)
return
true
;
// skip the file
}
const
WpftLoader
aLoader
(
rURL
,
m_xFilter
,
m_aFactoryURL
,
m_xDesktop
,
m_xTypeMap
,
m_xContext
);
return
aLoader
.
getDocument
().
is
();
}
...
...
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