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
4f01261a
Kaydet (Commit)
4f01261a
authored
May 09, 2012
tarafından
Miklos Vajna
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
n#757651 testcase
Change-Id: Id0d24939632c98937f6fba26b756f139380191b0
üst
0b356971
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
31 additions
and
0 deletions
+31
-0
CppunitTest_sw_subsequent_rtftok.mk
sw/CppunitTest_sw_subsequent_rtftok.mk
+1
-0
n757651.rtf
sw/qa/extras/rtftok/data/n757651.rtf
+18
-0
rtftok.cxx
sw/qa/extras/rtftok/rtftok.cxx
+12
-0
No files found.
sw/CppunitTest_sw_subsequent_rtftok.mk
Dosyayı görüntüle @
4f01261a
...
...
@@ -40,6 +40,7 @@ $(eval $(call gb_CppunitTest_use_libraries,sw_subsequent_rtftok, \
test \
unotest \
vcl \
tl \
$(gb_STDLIBS) \
))
...
...
sw/qa/extras/rtftok/data/n757651.rtf
0 → 100644
Dosyayı görüntüle @
4f01261a
{\rtf1\ansi\deff3\adeflang1025
{\fonttbl
{\f0\froman\fprq2\fcharset0 Times New Roman;}
}
\sectd\pgwsxn12240\pghsxn15840\marglsxn1440\margrsxn1440\margtsxn1260\margbsxn432
\pard\plain\f0\fs24\sl480\slmult1
________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________\par
\pard\plain\f0\fs24\sl480\slmult1
________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________\par
\pard\plain\f0\fs24\sl480\slmult1
________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________\par
\pard\plain\f0\fs24\sl480\slmult1
________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________\par
\pard\plain\f0\fs24\sl480\slmult1
________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________\par
\pard\plain\f0\fs24\sl480\slmult1
________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________\par
}
sw/qa/extras/rtftok/rtftok.cxx
Dosyayı görüntüle @
4f01261a
...
...
@@ -52,6 +52,7 @@
#include <unotest/macros_test.hxx>
#include <vcl/outdev.hxx>
#include <vcl/svapp.hxx>
#include <vcl/fontmanager.hxx>
#define TWIP_TO_MM100(TWIP) ((TWIP) >= 0 ? (((TWIP)*127L+36L)/72L) : (((TWIP)*127L-36L)/72L))
...
...
@@ -93,6 +94,7 @@ public:
void
testFdo48037
();
void
testFdo47764
();
void
testFdo38786
();
void
testN757651
();
CPPUNIT_TEST_SUITE
(
Test
);
#if !defined(MACOSX) && !defined(WNT)
...
...
@@ -124,6 +126,7 @@ public:
CPPUNIT_TEST
(
testFdo48037
);
CPPUNIT_TEST
(
testFdo47764
);
CPPUNIT_TEST
(
testFdo38786
);
CPPUNIT_TEST
(
testN757651
);
#endif
CPPUNIT_TEST_SUITE_END
();
...
...
@@ -689,6 +692,15 @@ void Test::testFdo38786()
xFields
->
nextElement
();
}
void
Test
::
testN757651
()
{
load
(
"n757651.rtf"
);
// The bug was that due to buggy layout the text expanded to two pages.
if
(
Application
::
GetDefaultDevice
()
->
IsFontAvailable
(
OUString
(
"Times New Roman"
)))
CPPUNIT_ASSERT_EQUAL
(
1
,
getPages
());
}
CPPUNIT_TEST_SUITE_REGISTRATION
(
Test
);
CPPUNIT_PLUGIN_IMPLEMENT
();
...
...
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