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
bb93b038
Kaydet (Commit)
bb93b038
authored
Eki 17, 2012
tarafından
Cédric Bosdonnat
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
CMIS: display errors when clicking checkout button
Change-Id: I38d5cb95e1c45e1c57b11ec81523d4cca7568d34
üst
1008e946
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
6 deletions
+7
-6
sfxbasemodel.cxx
sfx2/source/doc/sfxbasemodel.cxx
+2
-4
sfxbasecontroller.cxx
sfx2/source/view/sfxbasecontroller.cxx
+5
-2
No files found.
sfx2/source/doc/sfxbasemodel.cxx
Dosyayı görüntüle @
bb93b038
...
...
@@ -2570,11 +2570,9 @@ void SAL_CALL SfxBaseModel::checkOut( ) throw ( uno::RuntimeException )
// Reload the CMIS properties
loadCmisProperties
(
);
}
catch
(
const
ucb
::
ContentCreationException
&
)
{
}
catch
(
const
ucb
::
CommandAbortedException
&
)
catch
(
const
uno
::
Exception
&
e
)
{
throw
uno
::
RuntimeException
(
e
.
Message
,
e
.
Context
);
}
}
}
...
...
sfx2/source/view/sfxbasecontroller.cxx
Dosyayı görüntüle @
bb93b038
...
...
@@ -72,6 +72,7 @@
#include <toolkit/helper/convert.hxx>
#include <framework/titlehelper.hxx>
#include <comphelper/processfactory.hxx>
#include <vcl/msgbox.hxx>
#include <boost/unordered_map.hpp>
...
...
@@ -1483,9 +1484,11 @@ IMPL_LINK( SfxBaseController, CheckOutHandler, PushButton*, pBtn )
SfxViewFrame
*
pViewFrame
=
m_pData
->
m_pViewShell
->
GetFrame
();
pViewFrame
->
RemoveInfoBar
(
pInfoBar
);
}
catch
(
const
uno
::
RuntimeException
&
)
catch
(
const
uno
::
RuntimeException
&
e
)
{
// TODO Handle the problem in some way?
ErrorBox
*
pErrorBox
=
new
ErrorBox
(
&
m_pData
->
m_pViewShell
->
GetFrame
()
->
GetWindow
(),
WB_OK
,
e
.
Message
);
pErrorBox
->
Execute
(
);
delete
pErrorBox
;
}
}
return
0
;
...
...
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