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
89f0655e
Kaydet (Commit)
89f0655e
authored
Ock 15, 2012
tarafından
Marcel Metz
Kaydeden (comit)
Stephan Bergmann
Ock 23, 2012
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Replaced diagnore ENSURE_OR_CONTINUE with regular code.
üst
f9e6d195
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
66 additions
and
13 deletions
+66
-13
taskpane.cxx
sfx2/source/dialog/taskpane.cxx
+6
-1
svtxgridcontrol.cxx
svtools/source/uno/svtxgridcontrol.cxx
+5
-1
unocontroltablemodel.cxx
svtools/source/uno/unocontroltablemodel.cxx
+6
-1
fmpgeimp.cxx
svx/source/form/fmpgeimp.cxx
+10
-2
fmvwimp.cxx
svx/source/form/fmvwimp.cxx
+11
-2
defaultgridcolumnmodel.cxx
toolkit/source/controls/grid/defaultgridcolumnmodel.cxx
+6
-1
ucpext_datasupplier.cxx
ucb/source/ucp/ext/ucpext_datasupplier.cxx
+5
-1
throbber.cxx
vcl/source/control/throbber.cxx
+6
-1
elementexport.cxx
xmloff/source/forms/elementexport.cxx
+5
-2
property_meta_data.cxx
xmloff/source/forms/property_meta_data.cxx
+6
-1
No files found.
sfx2/source/dialog/taskpane.cxx
Dosyayı görüntüle @
89f0655e
...
@@ -671,7 +671,12 @@ namespace sfx2
...
@@ -671,7 +671,12 @@ namespace sfx2
{
{
const
::
svt
::
PToolPanel
pPanel
(
m_aPanelDeck
.
GetPanel
(
i
)
);
const
::
svt
::
PToolPanel
pPanel
(
m_aPanelDeck
.
GetPanel
(
i
)
);
const
CustomToolPanel
*
pCustomPanel
=
dynamic_cast
<
const
CustomToolPanel
*
>
(
pPanel
.
get
()
);
const
CustomToolPanel
*
pCustomPanel
=
dynamic_cast
<
const
CustomToolPanel
*
>
(
pPanel
.
get
()
);
ENSURE_OR_CONTINUE
(
pCustomPanel
!=
NULL
,
"ModuleTaskPane_Impl::GetPanelPos: illegal panel implementation!"
);
if
(
!
pCustomPanel
)
{
SAL_WARN
(
"sfx2.dialog"
,
"ModuleTaskPane_Impl::GetPanelPos: illegal panel implementation!"
);
continue
;
}
if
(
pCustomPanel
->
GetResourceURL
()
==
i_rResourceURL
)
if
(
pCustomPanel
->
GetResourceURL
()
==
i_rResourceURL
)
{
{
aPanelPos
=
i
;
aPanelPos
=
i
;
...
...
svtools/source/uno/svtxgridcontrol.cxx
Dosyayı görüntüle @
89f0655e
...
@@ -781,7 +781,11 @@ void SVTXGridControl::impl_updateColumnsFromModel_nothrow()
...
@@ -781,7 +781,11 @@ void SVTXGridControl::impl_updateColumnsFromModel_nothrow()
++
colRef
++
colRef
)
)
{
{
ENSURE_OR_CONTINUE
(
colRef
->
is
(),
"illegal column!"
);
if
(
!
colRef
->
is
()
)
{
SAL_WARN
(
"svtools.uno"
,
"illegal column!"
);
continue
;
}
m_pTableModel
->
appendColumn
(
*
colRef
);
m_pTableModel
->
appendColumn
(
*
colRef
);
}
}
...
...
svtools/source/uno/unocontroltablemodel.cxx
Dosyayı görüntüle @
89f0655e
...
@@ -323,7 +323,12 @@ namespace svt { namespace table
...
@@ -323,7 +323,12 @@ namespace svt { namespace table
)
)
{
{
UnoGridColumnFacade
*
pColumn
=
dynamic_cast
<
UnoGridColumnFacade
*
>
(
col
->
get
()
);
UnoGridColumnFacade
*
pColumn
=
dynamic_cast
<
UnoGridColumnFacade
*
>
(
col
->
get
()
);
ENSURE_OR_CONTINUE
(
pColumn
!=
NULL
,
"UnoControlTableModel::removeAllColumns: illegal column implementation!"
);
if
(
!
pColumn
)
{
SAL_WARN
(
"svtools.uno"
,
"UnoControlTableModel::removeAllColumns: illegal column implementation!"
);
continue
;
}
pColumn
->
dispose
();
pColumn
->
dispose
();
}
}
m_pImpl
->
aColumns
.
clear
();
m_pImpl
->
aColumns
.
clear
();
...
...
svx/source/form/fmpgeimp.cxx
Dosyayı görüntüle @
89f0655e
...
@@ -216,15 +216,23 @@ void FmFormPageImpl::initFrom( FmFormPageImpl& i_foreignImpl )
...
@@ -216,15 +216,23 @@ void FmFormPageImpl::initFrom( FmFormPageImpl& i_foreignImpl )
continue
;
continue
;
Reference
<
XControlModel
>
xForeignModel
(
pForeignObj
->
GetUnoControlModel
()
);
Reference
<
XControlModel
>
xForeignModel
(
pForeignObj
->
GetUnoControlModel
()
);
ENSURE_OR_CONTINUE
(
xForeignModel
.
is
(),
"FmFormPageImpl::FmFormPageImpl: control shape without control!"
);
if
(
!
xForeignModel
.
is
()
)
{
// if this fires, the SdrObject does not have a UNO Control Model. This is pathological, but well ...
// if this fires, the SdrObject does not have a UNO Control Model. This is pathological, but well ...
// So the cloned SdrObject will also not have a UNO Control Model.
// So the cloned SdrObject will also not have a UNO Control Model.
SAL_WARN
(
"svx.form"
,
"FmFormPageImpl::FmFormPageImpl: control shape without control!"
);
continue
;
}
MapControlModels
::
const_iterator
assignment
=
aModelAssignment
.
find
(
xForeignModel
);
MapControlModels
::
const_iterator
assignment
=
aModelAssignment
.
find
(
xForeignModel
);
ENSURE_OR_CONTINUE
(
assignment
!=
aModelAssignment
.
end
(),
"FmFormPageImpl::FmFormPageImpl: no clone found for this model!"
);
if
(
assignment
==
aModelAssignment
.
end
()
)
{
// if this fires, the source SdrObject has a model, but it is not part of the model hierarchy in
// if this fires, the source SdrObject has a model, but it is not part of the model hierarchy in
// i_foreignImpl.getForms().
// i_foreignImpl.getForms().
// Pathological, too ...
// Pathological, too ...
SAL_WARN
(
"svx.form"
,
"FmFormPageImpl::FmFormPageImpl: no clone found for this model!"
);
continue
;
}
pOwnObj
->
SetUnoControlModel
(
assignment
->
second
);
pOwnObj
->
SetUnoControlModel
(
assignment
->
second
);
}
}
...
...
svx/source/form/fmvwimp.cxx
Dosyayı görüntüle @
89f0655e
...
@@ -733,7 +733,11 @@ IMPL_LINK(FmXFormView, OnActivate, void*, /*EMPTYTAG*/)
...
@@ -733,7 +733,11 @@ IMPL_LINK(FmXFormView, OnActivate, void*, /*EMPTYTAG*/)
continue
;
continue
;
Reference
<
XPropertySet
>
xFormSet
(
xForm
,
UNO_QUERY
);
Reference
<
XPropertySet
>
xFormSet
(
xForm
,
UNO_QUERY
);
ENSURE_OR_CONTINUE
(
xFormSet
.
is
(),
"FmXFormView::OnActivate: a form which does not have properties?"
);
if
(
!
xFormSet
.
is
()
)
{
SAL_WARN
(
"svx.form"
,
"FmXFormView::OnActivate: a form which does not have properties?"
);
continue
;
}
const
::
rtl
::
OUString
aSource
=
::
comphelper
::
getString
(
xFormSet
->
getPropertyValue
(
FM_PROP_COMMAND
)
);
const
::
rtl
::
OUString
aSource
=
::
comphelper
::
getString
(
xFormSet
->
getPropertyValue
(
FM_PROP_COMMAND
)
);
if
(
!
aSource
.
isEmpty
()
)
if
(
!
aSource
.
isEmpty
()
)
...
@@ -908,7 +912,12 @@ Reference< XFormController > FmXFormView::getFormController( const Reference< XF
...
@@ -908,7 +912,12 @@ Reference< XFormController > FmXFormView::getFormController( const Reference< XF
)
)
{
{
const
PFormViewPageWindowAdapter
pAdapter
(
*
pos
);
const
PFormViewPageWindowAdapter
pAdapter
(
*
pos
);
ENSURE_OR_CONTINUE
(
pAdapter
.
get
(),
"FmXFormView::getFormController: invalid page window adapter!"
);
if
(
!
pAdapter
.
get
()
)
{
SAL_WARN
(
"svx.form"
,
"FmXFormView::getFormController: invalid page window adapter!"
);
continue
;
}
if
(
pAdapter
->
getWindow
()
!=
&
_rDevice
)
if
(
pAdapter
->
getWindow
()
!=
&
_rDevice
)
// wrong device
// wrong device
continue
;
continue
;
...
...
toolkit/source/controls/grid/defaultgridcolumnmodel.cxx
Dosyayı görüntüle @
89f0655e
...
@@ -178,7 +178,12 @@ namespace toolkit
...
@@ -178,7 +178,12 @@ namespace toolkit
)
)
{
{
GridColumn
*
pColumnImpl
=
GridColumn
::
getImplementation
(
*
updatePos
);
GridColumn
*
pColumnImpl
=
GridColumn
::
getImplementation
(
*
updatePos
);
ENSURE_OR_CONTINUE
(
pColumnImpl
,
"DefaultGridColumnModel::removeColumn: invalid column implementation!"
);
if
(
!
pColumnImpl
)
{
SAL_WARN
(
"toolkit.controls"
,
"DefaultGridColumnModel::removeColumn: invalid column implementation!"
);
continue
;
}
pColumnImpl
->
setIndex
(
columnIndex
);
pColumnImpl
->
setIndex
(
columnIndex
);
}
}
...
...
ucb/source/ucp/ext/ucpext_datasupplier.cxx
Dosyayı görüntüle @
89f0655e
...
@@ -163,7 +163,11 @@ namespace ucb { namespace ucp { namespace ext
...
@@ -163,7 +163,11 @@ namespace ucb { namespace ucp { namespace ext
++
pExtInfo
++
pExtInfo
)
)
{
{
ENSURE_OR_CONTINUE
(
pExtInfo
->
getLength
()
>
0
,
"illegal extension info"
);
if
(
pExtInfo
->
getLength
()
<=
0
)
{
SAL_WARN
(
"ucb.ucp"
,
"illegal extension info"
);
continue
;
}
const
::
rtl
::
OUString
&
rLocalId
=
(
*
pExtInfo
)[
0
];
const
::
rtl
::
OUString
&
rLocalId
=
(
*
pExtInfo
)[
0
];
ResultListEntry
aEntry
;
ResultListEntry
aEntry
;
...
...
vcl/source/control/throbber.cxx
Dosyayı görüntüle @
89f0655e
...
@@ -190,7 +190,12 @@ void Throbber::initImages()
...
@@ -190,7 +190,12 @@ void Throbber::initImages()
++
check
++
check
)
)
{
{
ENSURE_OR_CONTINUE
(
!
check
->
empty
(),
"Throbber::initImages: illegal image!"
);
if
(
check
->
empty
()
)
{
SAL_WARN
(
"vcl.control"
,
"Throbber::initImages: illegal image!"
);
continue
;
}
const
Size
aImageSize
=
(
*
check
)[
0
].
GetSizePixel
();
const
Size
aImageSize
=
(
*
check
)[
0
].
GetSizePixel
();
if
(
(
aImageSize
.
Width
()
>
aWindowSizePixel
.
Width
()
)
if
(
(
aImageSize
.
Width
()
>
aWindowSizePixel
.
Width
()
)
...
...
xmloff/source/forms/elementexport.cxx
Dosyayı görüntüle @
89f0655e
...
@@ -500,8 +500,11 @@ namespace xmloff
...
@@ -500,8 +500,11 @@ namespace xmloff
// let the factory provide the concrete handler. Note that caching, if desired, is the task
// let the factory provide the concrete handler. Note that caching, if desired, is the task
// of the factory
// of the factory
PPropertyHandler
handler
=
(
*
propDescription
->
factory
)(
propDescription
->
propertyId
);
PPropertyHandler
handler
=
(
*
propDescription
->
factory
)(
propDescription
->
propertyId
);
ENSURE_OR_CONTINUE
(
handler
.
get
()
!=
NULL
,
if
(
!
handler
.
get
()
)
"OControlExport::exportGenericHandlerAttributes: invalid property handler provided by the factory!"
);
{
SAL_WARN
(
"xmloff.forms"
,
"OControlExport::exportGenericHandlerAttributes: invalid property handler provided by the factory!"
);
continue
;
}
::
rtl
::
OUString
attributeValue
;
::
rtl
::
OUString
attributeValue
;
if
(
propDescription
->
propertyGroup
==
NO_GROUP
)
if
(
propDescription
->
propertyGroup
==
NO_GROUP
)
...
...
xmloff/source/forms/property_meta_data.cxx
Dosyayı görüntüle @
89f0655e
...
@@ -245,7 +245,12 @@ namespace xmloff { namespace metadata
...
@@ -245,7 +245,12 @@ namespace xmloff { namespace metadata
{
{
const
PropertyGroup
propGroup
=
group
->
second
;
const
PropertyGroup
propGroup
=
group
->
second
;
const
IndexedPropertyGroups
::
const_iterator
groupPos
=
rPropertyGroups
.
find
(
propGroup
);
const
IndexedPropertyGroups
::
const_iterator
groupPos
=
rPropertyGroups
.
find
(
propGroup
);
ENSURE_OR_CONTINUE
(
groupPos
!=
rPropertyGroups
.
end
(),
"getPropertyGroupList: inconsistency!"
);
if
(
groupPos
==
rPropertyGroups
.
end
()
)
{
SAL_WARN
(
"xmloff.forms"
,
"getPropertyGroupList: inconsistency!"
);
continue
;
}
o_propertyGroups
.
push_back
(
groupPos
->
second
);
o_propertyGroups
.
push_back
(
groupPos
->
second
);
}
}
}
}
...
...
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