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
d7aef240
Kaydet (Commit)
d7aef240
authored
Nis 18, 2014
tarafından
Tor Lillqvist
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Add silly workaround for weird Clang (Xcode 5.1.1) problem with -Oz
Change-Id: I4fc5997504d3fb847518317abd5bf80fda4467d5
üst
37466b01
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
1 deletion
+19
-1
paintfrm.cxx
sw/source/core/layout/paintfrm.cxx
+19
-1
No files found.
sw/source/core/layout/paintfrm.cxx
Dosyayı görüntüle @
d7aef240
...
...
@@ -162,6 +162,14 @@ public:
bool MakeUnion( const SwRect &rRect );
};
#ifdef IOS
static void dummy_function()
{
pid_t pid = getpid();
(void) pid;
}
#endif
class SwLineRects
{
public:
...
...
@@ -171,7 +179,17 @@ public:
typedef std::vector< SwLineRect >::reverse_iterator reverse_iterator;
typedef std::vector< SwLineRect >::size_type size_type;
size_t nLastCount; //avoid unnecessary cycles in PaintLines
SwLineRects() : nLastCount( 0 ) {}
SwLineRects() : nLastCount( 0 )
{
#ifdef IOS
// Work around what is either a compiler bug in Xcode 5.1.1,
// or some unknown problem in this file. If I ifdef out this
// call, I get a crash in SwSubsRects::PaintSubsidiary: the
// address of the rLi reference variable is claimed to be
// 0x4000000!
dummy_function();
#endif
}
void AddLineRect( const SwRect& rRect, const Color *pColor, const SvxBorderStyle nStyle,
const SwTabFrm *pTab, const sal_uInt8 nSCol );
void ConnectEdges( OutputDevice *pOut );
...
...
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