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
5252a1d8
Kaydet (Commit)
5252a1d8
authored
Nis 16, 2015
tarafından
Michael Meeks
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
tools: leave ErrorContext with a vcl::Window * for now.
Change-Id: I83bd24b9dfcd446969fc0ef657d81dd787c8ba2a
üst
4a33504d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
errinf.cxx
tools/source/ref/errinf.cxx
+4
-5
No files found.
tools/source/ref/errinf.cxx
Dosyayı görüntüle @
5252a1d8
...
...
@@ -186,12 +186,11 @@ static void aDspFunc(const OUString &rErr, const OUString &rAction)
OSL_FAIL
(
aErr
.
getStr
());
}
// FIXME: this is a truly horrible reverse dependency on VCL
#include <vcl/window.hxx>
// FIXME: this is a horrible reverse dependency on VCL
struct
ErrorContextImpl
{
ErrorContext
*
pNext
;
VclPtr
<
vcl
::
Window
>
pWin
;
ErrorContext
*
pNext
;
vcl
::
Window
*
pWin
;
// should be VclPtr for strong lifecyle
};
ErrorContext
::
ErrorContext
(
vcl
::
Window
*
pWinP
)
...
...
@@ -242,7 +241,7 @@ ErrorHandler::~ErrorHandler()
vcl
::
Window
*
ErrorContext
::
GetParent
()
{
return
pImpl
?
pImpl
->
pWin
.
get
()
:
NULL
;
return
pImpl
?
pImpl
->
pWin
:
NULL
;
}
void
ErrorHandler
::
RegisterDisplay
(
WindowDisplayErrorFunc
*
aDsp
)
...
...
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