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
229abf40
Kaydet (Commit)
229abf40
authored
Haz 03, 2014
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
coverity#1219794 Uncaught exception
Change-Id: Icc9e5faf9ef15840c359b7766112278094d52dea
üst
0301abbb
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
12 deletions
+7
-12
indexfieldscontrol.cxx
dbaccess/source/ui/dlg/indexfieldscontrol.cxx
+0
-9
imagemanager.hxx
framework/inc/uiconfiguration/imagemanager.hxx
+4
-1
imagemanager.cxx
framework/source/uiconfiguration/imagemanager.cxx
+3
-2
No files found.
dbaccess/source/ui/dlg/indexfieldscontrol.cxx
Dosyayı görüntüle @
229abf40
...
@@ -206,8 +206,6 @@ namespace dbaui
...
@@ -206,8 +206,6 @@ namespace dbaui
void
IndexFieldsControl
::
Init
(
const
Sequence
<
OUString
>&
_rAvailableFields
)
void
IndexFieldsControl
::
Init
(
const
Sequence
<
OUString
>&
_rAvailableFields
)
{
{
fprintf
(
stderr
,
" _rAvailableFields len is %d
\n
"
,
_rAvailableFields
.
getLength
());
RemoveColumns
();
RemoveColumns
();
// for the width: both columns together should be somewhat smaller than the whole window (without the scrollbar)
// for the width: both columns together should be somewhat smaller than the whole window (without the scrollbar)
...
@@ -237,9 +235,6 @@ namespace dbaui
...
@@ -237,9 +235,6 @@ namespace dbaui
m_pSortingCell
->
InsertEntry
(
m_sAscendingText
);
m_pSortingCell
->
InsertEntry
(
m_sAscendingText
);
m_pSortingCell
->
InsertEntry
(
m_sDescendingText
);
m_pSortingCell
->
InsertEntry
(
m_sDescendingText
);
m_pSortingCell
->
SetHelpId
(
HID_DLGINDEX_INDEXDETAILS_SORTORDER
);
m_pSortingCell
->
SetHelpId
(
HID_DLGINDEX_INDEXDETAILS_SORTORDER
);
m_pSortingCell
->
Show
();
fprintf
(
stderr
,
"created m_pSortingCell %p
\n
"
,
m_pSortingCell
);
nFieldNameWidth
-=
nSortOrderColumnWidth
;
nFieldNameWidth
-=
nSortOrderColumnWidth
;
}
}
...
@@ -258,11 +253,7 @@ namespace dbaui
...
@@ -258,11 +253,7 @@ namespace dbaui
const
OUString
*
pFields
=
_rAvailableFields
.
getConstArray
();
const
OUString
*
pFields
=
_rAvailableFields
.
getConstArray
();
const
OUString
*
pFieldsEnd
=
pFields
+
_rAvailableFields
.
getLength
();
const
OUString
*
pFieldsEnd
=
pFields
+
_rAvailableFields
.
getLength
();
for
(;
pFields
<
pFieldsEnd
;
++
pFields
)
for
(;
pFields
<
pFieldsEnd
;
++
pFields
)
{
fprintf
(
stderr
,
"foo is %s
\n
"
,
OUStringToOString
(
*
pFields
,
RTL_TEXTENCODING_UTF8
).
getStr
());
m_pFieldNameCell
->
InsertEntry
(
*
pFields
);
m_pFieldNameCell
->
InsertEntry
(
*
pFields
);
}
m_pFieldNameCell
->
Show
();
}
}
CellController
*
IndexFieldsControl
::
GetController
(
long
_nRow
,
sal_uInt16
_nColumnId
)
CellController
*
IndexFieldsControl
::
GetController
(
long
_nRow
,
sal_uInt16
_nColumnId
)
...
...
framework/inc/uiconfiguration/imagemanager.hxx
Dosyayı görüntüle @
229abf40
...
@@ -84,7 +84,10 @@ namespace framework
...
@@ -84,7 +84,10 @@ namespace framework
virtual
void
SAL_CALL
initialize
(
const
::
com
::
sun
::
star
::
uno
::
Sequence
<
::
com
::
sun
::
star
::
uno
::
Any
>&
aArguments
)
throw
(
::
com
::
sun
::
star
::
uno
::
Exception
,
::
com
::
sun
::
star
::
uno
::
RuntimeException
,
std
::
exception
)
SAL_OVERRIDE
;
virtual
void
SAL_CALL
initialize
(
const
::
com
::
sun
::
star
::
uno
::
Sequence
<
::
com
::
sun
::
star
::
uno
::
Any
>&
aArguments
)
throw
(
::
com
::
sun
::
star
::
uno
::
Exception
,
::
com
::
sun
::
star
::
uno
::
RuntimeException
,
std
::
exception
)
SAL_OVERRIDE
;
// XImageManager
// XImageManager
virtual
void
SAL_CALL
reset
()
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
,
std
::
exception
)
SAL_OVERRIDE
;
virtual
void
SAL_CALL
reset
()
throw
(
css
::
lang
::
IllegalAccessException
,
css
::
uno
::
RuntimeException
,
std
::
exception
)
SAL_OVERRIDE
;
virtual
::
com
::
sun
::
star
::
uno
::
Sequence
<
OUString
>
SAL_CALL
getAllImageNames
(
::
sal_Int16
nImageType
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
,
std
::
exception
)
SAL_OVERRIDE
;
virtual
::
com
::
sun
::
star
::
uno
::
Sequence
<
OUString
>
SAL_CALL
getAllImageNames
(
::
sal_Int16
nImageType
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
,
std
::
exception
)
SAL_OVERRIDE
;
virtual
sal_Bool
SAL_CALL
hasImage
(
::
sal_Int16
nImageType
,
const
OUString
&
aCommandURL
)
throw
(
::
com
::
sun
::
star
::
lang
::
IllegalArgumentException
,
::
com
::
sun
::
star
::
uno
::
RuntimeException
,
std
::
exception
)
SAL_OVERRIDE
;
virtual
sal_Bool
SAL_CALL
hasImage
(
::
sal_Int16
nImageType
,
const
OUString
&
aCommandURL
)
throw
(
::
com
::
sun
::
star
::
lang
::
IllegalArgumentException
,
::
com
::
sun
::
star
::
uno
::
RuntimeException
,
std
::
exception
)
SAL_OVERRIDE
;
virtual
::
com
::
sun
::
star
::
uno
::
Sequence
<
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
graphic
::
XGraphic
>
>
SAL_CALL
getImages
(
::
sal_Int16
nImageType
,
const
::
com
::
sun
::
star
::
uno
::
Sequence
<
OUString
>&
aCommandURLSequence
)
throw
(
::
com
::
sun
::
star
::
lang
::
IllegalArgumentException
,
::
com
::
sun
::
star
::
uno
::
RuntimeException
,
std
::
exception
)
SAL_OVERRIDE
;
virtual
::
com
::
sun
::
star
::
uno
::
Sequence
<
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
graphic
::
XGraphic
>
>
SAL_CALL
getImages
(
::
sal_Int16
nImageType
,
const
::
com
::
sun
::
star
::
uno
::
Sequence
<
OUString
>&
aCommandURLSequence
)
throw
(
::
com
::
sun
::
star
::
lang
::
IllegalArgumentException
,
::
com
::
sun
::
star
::
uno
::
RuntimeException
,
std
::
exception
)
SAL_OVERRIDE
;
...
...
framework/source/uiconfiguration/imagemanager.cxx
Dosyayı görüntüle @
229abf40
...
@@ -102,9 +102,10 @@ void SAL_CALL ImageManager::initialize( const Sequence< Any >& aArguments ) thro
...
@@ -102,9 +102,10 @@ void SAL_CALL ImageManager::initialize( const Sequence< Any >& aArguments ) thro
// XImageManager
// XImageManager
void
SAL_CALL
ImageManager
::
reset
()
void
SAL_CALL
ImageManager
::
reset
()
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
,
std
::
exception
)
throw
(
css
::
lang
::
IllegalAccessException
,
css
::
uno
::
RuntimeException
,
std
::
exception
)
{
{
/* SAFE AREA ----------------------------------------------------------------------------------------------- */
/* SAFE AREA ----------------------------------------------------------------------------------------------- */
m_pImpl
->
reset
();
m_pImpl
->
reset
();
}
}
...
...
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