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
8eed9e3e
Kaydet (Commit)
8eed9e3e
authored
Haz 07, 2011
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
catch by const reference
üst
bdc777d0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
ucbstreamhelper.cxx
unotools/source/ucbhelper/ucbstreamhelper.cxx
+9
-9
No files found.
unotools/source/ucbhelper/ucbstreamhelper.cxx
Dosyayı görüntüle @
8eed9e3e
...
...
@@ -75,14 +75,14 @@ static SvStream* lcl_CreateStream( const String& rFileName, StreamMode eOpenMode
aCnt
.
executeCommand
(
::
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"delete"
)),
makeAny
(
sal_Bool
(
sal_True
)
)
);
}
catch
(
CommandAbortedException
&
)
catch
(
const
CommandAbortedException
&
)
{
// couldn't truncate/delete
}
catch
(
ContentCreationException
&
)
catch
(
const
ContentCreationException
&
)
{
}
catch
(
Exception
&
)
catch
(
const
Exception
&
)
{
}
}
...
...
@@ -107,14 +107,14 @@ static SvStream* lcl_CreateStream( const String& rFileName, StreamMode eOpenMode
}
// it is NOT an error when the stream already exists and no truncation was desired
catch
(
CommandAbortedException
&
)
catch
(
const
CommandAbortedException
&
)
{
// currently never an error is detected !
}
catch
(
ContentCreationException
&
)
catch
(
const
ContentCreationException
&
)
{
}
catch
(
Exception
&
)
catch
(
const
Exception
&
)
{
}
}
...
...
@@ -133,13 +133,13 @@ static SvStream* lcl_CreateStream( const String& rFileName, StreamMode eOpenMode
pStream
->
SetError
(
xLockBytes
->
GetError
()
);
}
}
catch
(
CommandAbortedException
&
)
catch
(
const
CommandAbortedException
&
)
{
}
catch
(
ContentCreationException
&
)
catch
(
const
ContentCreationException
&
)
{
}
catch
(
Exception
&
)
catch
(
const
Exception
&
)
{
}
}
...
...
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