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
27728cc5
Kaydet (Commit)
27728cc5
authored
Eki 05, 2015
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Called C++ object pointer is null DBG_ASSERT->assert
Change-Id: I3094fc1728135fb9e8b229826cd2e30925e89b11
üst
11fe4810
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
12 additions
and
13 deletions
+12
-13
baside2.cxx
basctl/source/basicide/baside2.cxx
+3
-3
baside3.cxx
basctl/source/basicide/baside3.cxx
+1
-1
basides2.cxx
basctl/source/basicide/basides2.cxx
+2
-2
bastype2.cxx
basctl/source/basicide/bastype2.cxx
+2
-2
bastype3.cxx
basctl/source/basicide/bastype3.cxx
+3
-4
macrodlg.cxx
basctl/source/basicide/macrodlg.cxx
+1
-1
No files found.
basctl/source/basicide/baside2.cxx
Dosyayı görüntüle @
27728cc5
...
...
@@ -329,7 +329,7 @@ bool ModulWindow::BasicExecute()
for
(
sal_uInt16
nMacro
=
0
;
nMacro
<
xModule
->
GetMethods
()
->
Count
();
nMacro
++
)
{
SbMethod
*
pM
=
static_cast
<
SbMethod
*>
(
xModule
->
GetMethods
()
->
Get
(
nMacro
));
DBG_ASSERT
(
pM
,
"Method?"
);
assert
(
pM
&&
"Method?"
);
pM
->
GetLineRange
(
nStart
,
nEnd
);
if
(
nCurMethodStart
>=
nStart
&&
nCurMethodStart
<=
nEnd
)
{
...
...
@@ -532,7 +532,7 @@ bool ModulWindow::ToggleBreakPoint( sal_uLong nLine )
for
(
sal_uInt16
nMethod
=
0
;
nMethod
<
xModule
->
GetMethods
()
->
Count
();
nMethod
++
)
{
SbMethod
*
pMethod
=
static_cast
<
SbMethod
*>
(
xModule
->
GetMethods
()
->
Get
(
nMethod
));
DBG_ASSERT
(
pMethod
,
"Methode nicht gefunden! (NULL)"
);
assert
(
pMethod
&&
"Methode nicht gefunden! (NULL)"
);
pMethod
->
SetDebugFlags
(
pMethod
->
GetDebugFlags
()
|
SbDEBUG_BREAK
);
}
}
...
...
@@ -1311,7 +1311,7 @@ void ModulWindow::BasicStarted()
for
(
sal_uInt16
nMethod
=
0
;
nMethod
<
xModule
->
GetMethods
()
->
Count
();
nMethod
++
)
{
SbMethod
*
pMethod
=
static_cast
<
SbMethod
*>
(
xModule
->
GetMethods
()
->
Get
(
nMethod
));
DBG_ASSERT
(
pMethod
,
"Methode nicht gefunden! (NULL)"
);
assert
(
pMethod
&&
"Methode nicht gefunden! (NULL)"
);
pMethod
->
SetDebugFlags
(
pMethod
->
GetDebugFlags
()
|
SbDEBUG_BREAK
);
}
}
...
...
basctl/source/basicide/baside3.cxx
Dosyayı görüntüle @
27728cc5
...
...
@@ -453,7 +453,7 @@ void DialogWindow::ExecuteCommand( SfxRequest& rReq )
case
SID_CHOOSE_CONTROLS
:
{
const
SfxItemSet
*
pArgs
=
rReq
.
GetArgs
();
DBG_ASSERT
(
pArgs
,
"Nix Args"
);
assert
(
pArgs
&&
"Nix Args"
);
const
SfxAllEnumItem
&
rItem
=
static_cast
<
const
SfxAllEnumItem
&>
(
pArgs
->
Get
(
SID_CHOOSE_CONTROLS
));
switch
(
rItem
.
GetValue
()
)
...
...
basctl/source/basicide/basides2.cxx
Dosyayı görüntüle @
27728cc5
...
...
@@ -80,7 +80,7 @@ SfxPrinter* Shell::GetPrinter( bool bCreate )
if
(
pCurWin
)
{
DocShell
*
pDocShell
=
static_cast
<
DocShell
*>
(
GetViewFrame
()
->
GetObjectShell
());
DBG_ASSERT
(
pDocShell
,
"DocShell ?!"
);
assert
(
pDocShell
&&
"DocShell ?!"
);
return
pDocShell
->
GetPrinter
(
bCreate
);
}
return
0
;
...
...
@@ -89,7 +89,7 @@ SfxPrinter* Shell::GetPrinter( bool bCreate )
sal_uInt16
Shell
::
SetPrinter
(
SfxPrinter
*
pNewPrinter
,
SfxPrinterChangeFlags
,
bool
)
{
DocShell
*
pDocShell
=
static_cast
<
DocShell
*>
(
GetViewFrame
()
->
GetObjectShell
());
DBG_ASSERT
(
pDocShell
,
"DocShell ?!"
);
assert
(
pDocShell
&&
"DocShell ?!"
);
pDocShell
->
SetPrinter
(
pNewPrinter
);
return
0
;
}
...
...
basctl/source/basicide/bastype2.cxx
Dosyayı görüntüle @
27728cc5
...
...
@@ -646,7 +646,7 @@ SvTreeListEntry* TreeListBox::CloneEntry( SvTreeListEntry* pSource )
SvTreeListEntry
*
pNew
=
SvTreeListBox
::
CloneEntry
(
pSource
);
Entry
*
pUser
=
static_cast
<
Entry
*>
(
pSource
->
GetUserData
());
DBG_ASSERT
(
pUser
,
"User-Daten?!"
);
assert
(
pUser
&&
"User-Daten?!"
);
DBG_ASSERT
(
pUser
->
GetType
()
!=
OBJ_TYPE_DOCUMENT
,
"TreeListBox::CloneEntry: document?!"
);
Entry
*
pNewUser
=
new
Entry
(
*
pUser
);
...
...
@@ -661,7 +661,7 @@ SvTreeListEntry* TreeListBox::FindEntry( SvTreeListEntry* pParent, const OUStrin
while
(
pEntry
)
{
Entry
*
pBasicEntry
=
static_cast
<
Entry
*>
(
pEntry
->
GetUserData
());
DBG_ASSERT
(
pBasicEntry
,
"FindEntry: no Entry ?!"
);
assert
(
pBasicEntry
&&
"FindEntry: no Entry ?!"
);
if
(
(
pBasicEntry
->
GetType
()
==
eType
)
&&
(
rText
.
equals
(
GetEntryText
(
pEntry
))
)
)
return
pEntry
;
...
...
basctl/source/basicide/bastype3.cxx
Dosyayı görüntüle @
27728cc5
...
...
@@ -131,8 +131,7 @@ void TreeListBox::RequestingChildren( SvTreeListEntry* pEntry )
void
TreeListBox
::
ExpandedHdl
()
{
SvTreeListEntry
*
pEntry
=
GetHdlEntry
();
DBG_ASSERT
(
pEntry
,
"Was wurde zugeklappt?"
);
assert
(
pEntry
&&
"Was wurde zugeklappt?"
);
if
(
!
IsExpanded
(
pEntry
)
&&
pEntry
->
HasChildrenOnDemand
()
)
{
SvTreeListEntry
*
pChild
=
FirstChild
(
pEntry
);
...
...
@@ -300,9 +299,9 @@ EntryDescriptor TreeListBox::GetEntryDescriptor( SvTreeListEntry* pEntry )
for
(
size_t
n
=
0
;
n
<
aEntries
.
size
();
n
++
)
{
SvTreeListEntry
*
pLE
=
aEntries
[
n
];
DBG_ASSERT
(
pLE
,
"Entrie im Array nicht gefunden"
);
assert
(
pLE
&&
"Entrie im Array nicht gefunden"
);
Entry
*
pBE
=
static_cast
<
Entry
*>
(
pLE
->
GetUserData
());
DBG_ASSERT
(
pBE
,
"Keine Daten im Eintrag gefunden!"
);
assert
(
pBE
&&
"Keine Daten im Eintrag gefunden!"
);
switch
(
pBE
->
GetType
()
)
{
...
...
basctl/source/basicide/macrodlg.cxx
Dosyayı görüntüle @
27728cc5
...
...
@@ -310,7 +310,7 @@ void MacroChooser::DeleteMacro()
}
SbModule
*
pModule
=
pMethod
->
GetModule
();
DBG_ASSERT
(
pModule
,
"DeleteMacro: Kein Modul?!"
);
assert
(
pModule
&&
"DeleteMacro: Kein Modul?!"
);
OUString
aSource
(
pModule
->
GetSource32
()
);
sal_uInt16
nStart
,
nEnd
;
pMethod
->
GetLineRange
(
nStart
,
nEnd
);
...
...
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