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
4a33504d
Kaydet (Commit)
4a33504d
authored
Nis 16, 2015
tarafından
Michael Meeks
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
formula & canvas: convert new to ::Create to get initial ref-counting right.
Change-Id: I96e2e59c2f880632cf719f3346e345a5d03cc858
üst
d24f93dc
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
8 deletions
+9
-8
dx_9rm.cxx
canvas/source/directx/dx_9rm.cxx
+2
-1
backbuffer.cxx
canvas/source/vcl/backbuffer.cxx
+1
-1
bitmapbackbuffer.cxx
canvas/source/vcl/bitmapbackbuffer.cxx
+2
-2
formula.cxx
formula/source/ui/dlg/formula.cxx
+3
-3
funcutl.cxx
formula/source/ui/dlg/funcutl.cxx
+1
-1
No files found.
canvas/source/directx/dx_9rm.cxx
Dosyayı görüntüle @
4a33504d
...
...
@@ -666,7 +666,8 @@ namespace dxcanvas
maVertexCache
.
reserve
(
1024
);
mpWindow
.
reset
(
new
SystemChildWindow
(
VclPtr
<
SystemChildWindow
>::
Create
(
const_cast
<
vcl
::
Window
*>
(
&
rWindow
),
0
)
);
// system child window must not receive mouse events
...
...
canvas/source/vcl/backbuffer.cxx
Dosyayı görüntüle @
4a33504d
...
...
@@ -25,7 +25,7 @@ namespace vclcanvas
{
BackBuffer
::
BackBuffer
(
const
OutputDevice
&
rRefDevice
,
bool
bMonochromeBuffer
)
:
maVDev
(
new
VirtualDevic
e
(
rRefDevice
,
maVDev
(
VclPtr
<
VirtualDevice
>::
Creat
e
(
rRefDevice
,
sal_uInt16
(
bMonochromeBuffer
)
)
)
{
if
(
!
bMonochromeBuffer
)
...
...
canvas/source/vcl/bitmapbackbuffer.cxx
Dosyayı görüntüle @
4a33504d
...
...
@@ -112,8 +112,8 @@ namespace vclcanvas
// VDev not yet created, do it now. Create an alpha-VDev,
// if bitmap has transparency.
mpVDev
=
maBitmap
->
IsTransparent
()
?
new
VirtualDevic
e
(
mrRefDevice
,
0
,
0
)
:
new
VirtualDevic
e
(
mrRefDevice
);
VclPtr
<
VirtualDevice
>::
Creat
e
(
mrRefDevice
,
0
,
0
)
:
VclPtr
<
VirtualDevice
>::
Creat
e
(
mrRefDevice
);
OSL_ENSURE
(
mpVDev
,
"BitmapBackBuffer::createVDev(): Unable to create VirtualDevice"
);
...
...
formula/source/ui/dlg/formula.cxx
Dosyayı görüntüle @
4a33504d
...
...
@@ -286,7 +286,7 @@ FormulaDlg_Impl::FormulaDlg_Impl(Dialog* pParent
pParent
->
get
(
m_pRefBtn
,
"RB_REF"
);
m_pRefBtn
->
SetReferences
(
_pDlg
,
m_pEdRef
);
pParaWin
=
new
ParaWin
(
m_pParaWinBox
,
_pDlg
);
pParaWin
=
VclPtr
<
ParaWin
>::
Create
(
m_pParaWinBox
,
_pDlg
);
pParaWin
->
Show
();
m_pParaWinBox
->
Hide
();
m_pFtEditName
->
Hide
();
...
...
@@ -306,8 +306,8 @@ FormulaDlg_Impl::FormulaDlg_Impl(Dialog* pParent
pParaWin
->
SetArgModifiedHdl
(
LINK
(
this
,
FormulaDlg_Impl
,
ModifyHdl
)
);
pParaWin
->
SetFxHdl
(
LINK
(
this
,
FormulaDlg_Impl
,
FxHdl
)
);
pFuncPage
=
new
FuncPag
e
(
m_pTabCtrl
,
_pFunctionMgr
);
pStructPage
=
new
StructPag
e
(
m_pTabCtrl
);
pFuncPage
=
VclPtr
<
FuncPage
>::
Creat
e
(
m_pTabCtrl
,
_pFunctionMgr
);
pStructPage
=
VclPtr
<
StructPage
>::
Creat
e
(
m_pTabCtrl
);
pFuncPage
->
Hide
();
pStructPage
->
Hide
();
m_pTabCtrl
->
SetTabPage
(
TP_FUNCTION
,
pFuncPage
);
...
...
formula/source/ui/dlg/funcutl.cxx
Dosyayı görüntüle @
4a33504d
...
...
@@ -353,7 +353,7 @@ EditBox::EditBox( vcl::Window* pParent, WinBits nBits )
WinBits
nStyle
=
GetStyle
();
SetStyle
(
nStyle
|
WB_DIALOGCONTROL
);
pMEdit
=
new
MultiLineEdit
(
this
,
WB_LEFT
|
WB_VSCROLL
|
(
nStyle
&
WB_TABSTOP
)
|
pMEdit
=
VclPtr
<
MultiLineEdit
>::
Create
(
this
,
WB_LEFT
|
WB_VSCROLL
|
(
nStyle
&
WB_TABSTOP
)
|
WB_NOBORDER
|
WB_NOHIDESELECTION
|
WB_IGNORETAB
);
pMEdit
->
Show
();
aOldSel
=
pMEdit
->
GetSelection
();
...
...
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