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
e77819f5
Kaydet (Commit)
e77819f5
authored
Şub 19, 2014
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
coverity#738849 Uninitialized scalar field
Change-Id: I5374e4427f800c4500818b97bfe6e94b303a8974
üst
bfd0e9b7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
15 deletions
+17
-15
cursor.hxx
starmath/inc/cursor.hxx
+12
-10
node.cxx
starmath/source/node.cxx
+5
-5
No files found.
starmath/inc/cursor.hxx
Dosyayı görüntüle @
e77819f5
...
...
@@ -75,20 +75,22 @@ class SmDocShell;
*/
class
SmCursor
{
public
:
SmCursor
(
SmNode
*
tree
,
SmDocShell
*
pShell
){
//Initialize members
pTree
=
tree
;
anchor
=
NULL
;
position
=
NULL
;
pGraph
=
NULL
;
pDocShell
=
pShell
;
pClipboard
=
NULL
;
nEditSections
=
0
;
SmCursor
(
SmNode
*
tree
,
SmDocShell
*
pShell
)
:
anchor
(
NULL
)
,
position
(
NULL
)
,
pTree
(
tree
)
,
pDocShell
(
pShell
)
,
pGraph
(
NULL
)
,
pClipboard
(
NULL
)
,
nEditSections
(
0
)
,
bIsEnabledSetModifiedSmDocShell
(
false
)
{
//Build graph
BuildGraph
();
}
~
SmCursor
(){
~
SmCursor
()
{
SetClipboard
();
delete
pGraph
;
pGraph
=
NULL
;
...
...
starmath/source/node.cxx
Dosyayı görüntüle @
e77819f5
...
...
@@ -2336,13 +2336,14 @@ void SmRectangleNode::Arrange(const OutputDevice &rDev, const SmFormat &/*rForma
/**************************************************************************/
SmTextNode
::
SmTextNode
(
SmNodeType
eNodeType
,
const
SmToken
&
rNodeToken
,
sal_uInt16
nFontDescP
)
:
SmVisibleNode
(
eNodeType
,
rNodeToken
)
SmTextNode
::
SmTextNode
(
SmNodeType
eNodeType
,
const
SmToken
&
rNodeToken
,
sal_uInt16
nFontDescP
)
:
SmVisibleNode
(
eNodeType
,
rNodeToken
)
,
nFontDesc
(
nFontDescP
)
,
nSelectionStart
(
0
)
,
nSelectionEnd
(
0
)
{
nFontDesc
=
nFontDescP
;
}
SmTextNode
::
SmTextNode
(
const
SmToken
&
rNodeToken
,
sal_uInt16
nFontDescP
)
:
SmVisibleNode
(
NTEXT
,
rNodeToken
)
,
nFontDesc
(
nFontDescP
)
...
...
@@ -2351,7 +2352,6 @@ SmTextNode::SmTextNode( const SmToken &rNodeToken, sal_uInt16 nFontDescP )
{
}
void
SmTextNode
::
Prepare
(
const
SmFormat
&
rFormat
,
const
SmDocShell
&
rDocShell
)
{
SmNode
::
Prepare
(
rFormat
,
rDocShell
);
...
...
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