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
bfbdb2d4
Kaydet (Commit)
bfbdb2d4
authored
Haz 21, 2013
tarafından
Jan Holesovsky
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sidebar: Improve runtime error reporting (mostly missing .ui).
Change-Id: If7e0f24eab77028ddbfdb17dff82679b214efc74
üst
559d2575
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
10 deletions
+12
-10
SidebarController.cxx
sfx2/source/sidebar/SidebarController.cxx
+2
-8
builder.cxx
vcl/source/window/builder.cxx
+10
-2
No files found.
sfx2/source/sidebar/SidebarController.cxx
Dosyayı görüntüle @
bfbdb2d4
...
...
@@ -718,15 +718,9 @@ Reference<ui::XUIElement> SidebarController::CreateUIElement (
return
xUIElement
;
}
catch
(
Exception
&
rException
)
catch
(
const
Exception
&
rException
)
{
OSL_TRACE
(
"caught exception: %s"
,
OUStringToOString
(
rException
.
Message
,
RTL_TEXTENCODING_ASCII_US
).
getStr
());
// For some reason we can not create the actual panel.
// Probably because its factory was not properly registered.
// TODO: provide feedback to developer to better pinpoint the
// source of the error.
SAL_WARN
(
"sfx2.sidebar"
,
"Cannot create panel: "
<<
rException
.
Message
);
return
NULL
;
}
}
...
...
vcl/source/window/builder.cxx
Dosyayı görüntüle @
bfbdb2d4
...
...
@@ -162,9 +162,17 @@ VclBuilder::VclBuilder(Window *pParent, OUString sUIDir, OUString sUIFile, OStri
if
(
!
bEN_US
)
loadTranslations
(
aLocale
,
sUri
);
xmlreader
::
XmlReader
reader
(
sUri
);
try
{
xmlreader
::
XmlReader
reader
(
sUri
);
handleChild
(
pParent
,
reader
);
handleChild
(
pParent
,
reader
);
}
catch
(
const
::
com
::
sun
::
star
::
uno
::
Exception
&
rExcept
)
{
SAL_WARN
(
"vcl.layout"
,
"Unable to read .ui file: "
<<
rExcept
.
Message
);
throw
;
}
//Set Mnemonic widgets when everything has been imported
for
(
std
::
vector
<
MnemonicWidgetMap
>::
iterator
aI
=
m_pParserState
->
m_aMnemonicWidgetMaps
.
begin
(),
...
...
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