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
7dfa45a6
Kaydet (Commit)
7dfa45a6
authored
Ara 14, 2015
tarafından
Michael Stahl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
svtools: print some exception messages with SAL_WARN
Change-Id: I2d51b6093e13fd5ea2a93c5a4f38e4078587808d
üst
1af4dbd8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
embedhlp.cxx
svtools/source/misc/embedhlp.cxx
+6
-6
No files found.
svtools/source/misc/embedhlp.cxx
Dosyayı görüntüle @
7dfa45a6
...
@@ -351,9 +351,9 @@ void EmbeddedObjectRef::Clear()
...
@@ -351,9 +351,9 @@ void EmbeddedObjectRef::Clear()
{
{
// there's still someone who needs the object!
// there's still someone who needs the object!
}
}
catch
(
const
uno
::
Exception
&
)
catch
(
const
uno
::
Exception
&
e
)
{
{
OSL_FAIL
(
"Error on switching of the object to loaded state and closing!
\n
"
);
SAL_WARN
(
"svtools.misc"
,
"Error on switching of the object to loaded state and closing:
\"
"
<<
e
.
Message
<<
"
\"
"
);
}
}
}
}
}
}
...
@@ -492,18 +492,18 @@ Size EmbeddedObjectRef::GetSize( MapMode* pTargetMapMode ) const
...
@@ -492,18 +492,18 @@ Size EmbeddedObjectRef::GetSize( MapMode* pTargetMapMode ) const
catch
(
const
embed
::
NoVisualAreaSizeException
&
)
catch
(
const
embed
::
NoVisualAreaSizeException
&
)
{
{
}
}
catch
(
const
uno
::
Exception
&
)
catch
(
const
uno
::
Exception
&
e
)
{
{
OSL_FAIL
(
"Something went wrong on getting of the size of the object!"
);
SAL_WARN
(
"svtools.misc"
,
"Something went wrong on getting of the size of the object:
\"
"
<<
e
.
Message
<<
"
\"
"
);
}
}
try
try
{
{
aSourceMapMode
=
VCLUnoHelper
::
UnoEmbed2VCLMapUnit
(
mpImpl
->
mxObj
->
getMapUnit
(
mpImpl
->
nViewAspect
));
aSourceMapMode
=
VCLUnoHelper
::
UnoEmbed2VCLMapUnit
(
mpImpl
->
mxObj
->
getMapUnit
(
mpImpl
->
nViewAspect
));
}
}
catch
(
const
uno
::
Exception
&
)
catch
(
const
uno
::
Exception
&
e
)
{
{
OSL_FAIL
(
"Can not get the map mode!"
);
SAL_WARN
(
"svtools.misc"
,
"Can not get the map mode:
\"
"
<<
e
.
Message
<<
"
\"
"
);
}
}
}
}
...
...
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