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
190bfac4
Kaydet (Commit)
190bfac4
authored
Eki 06, 2012
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
callcatcher: update unused code list and drop more old-layouting unuseds
Change-Id: I1096ea50a23040090c9ee2975a4165c6de238497
üst
0f6dbd1b
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
2 additions
and
61 deletions
+2
-61
unusedcode.easy
unusedcode.easy
+1
-1
arrange.hxx
vcl/inc/vcl/arrange.hxx
+0
-1
window.hxx
vcl/inc/vcl/window.hxx
+1
-15
arrange.cxx
vcl/source/window/arrange.cxx
+0
-12
window4.cxx
vcl/source/window/window4.cxx
+0
-32
No files found.
unusedcode.easy
Dosyayı görüntüle @
190bfac4
...
@@ -78,7 +78,7 @@ connectivity::mork::ProfileAccess::isProfileLocked(com::sun::star::mozilla::Mozi
...
@@ -78,7 +78,7 @@ connectivity::mork::ProfileAccess::isProfileLocked(com::sun::star::mozilla::Mozi
connectivity::mozab::MQueryHelper::next()
connectivity::mozab::MQueryHelper::next()
connectivity::sdbcx::OGroup::OGroup(rtl::OUString const&, unsigned char)
connectivity::sdbcx::OGroup::OGroup(rtl::OUString const&, unsigned char)
connectivity::sdbcx::OGroup::OGroup(unsigned char)
connectivity::sdbcx::OGroup::OGroup(unsigned char)
dbtools::getConnection(rtl::OUString const&, rtl::OUString const&, rtl::OUString const&, com::sun::star::uno::Reference<com::sun::star::
lang::XMultiServiceFactory
> const&)
dbtools::getConnection(rtl::OUString const&, rtl::OUString const&, rtl::OUString const&, com::sun::star::uno::Reference<com::sun::star::
uno::XComponentContext
> const&)
formula::FormulaTokenIterator::First()
formula::FormulaTokenIterator::First()
framework::OReadMenuDocumentHandler::getServiceFactory()
framework::OReadMenuDocumentHandler::getServiceFactory()
jfw_plugin::VendorBase::createInstance()
jfw_plugin::VendorBase::createInstance()
...
...
vcl/inc/vcl/arrange.hxx
Dosyayı görüntüle @
190bfac4
...
@@ -317,7 +317,6 @@ namespace vcl
...
@@ -317,7 +317,6 @@ namespace vcl
// returns the index of the added label
// returns the index of the added label
size_t
addRow
(
Window
*
i_pLabel
,
boost
::
shared_ptr
<
WindowArranger
>
const
&
i_rElement
,
long
i_nIndent
=
0
);
size_t
addRow
(
Window
*
i_pLabel
,
boost
::
shared_ptr
<
WindowArranger
>
const
&
i_rElement
,
long
i_nIndent
=
0
);
size_t
addRow
(
Window
*
i_pLabel
,
Window
*
i_pElement
,
long
i_nIndent
=
0
,
const
Size
&
i_rElementMinSize
=
Size
()
);
};
};
class
VCL_DLLPUBLIC
Indenter
:
public
WindowArranger
class
VCL_DLLPUBLIC
Indenter
:
public
WindowArranger
...
...
vcl/inc/vcl/window.hxx
Dosyayı görüntüle @
190bfac4
...
@@ -126,7 +126,6 @@ namespace dnd {
...
@@ -126,7 +126,6 @@ namespace dnd {
namespace
vcl
{
namespace
vcl
{
struct
ControlLayoutData
;
struct
ControlLayoutData
;
class
WindowArranger
;
struct
ExtWindowImpl
;
struct
ExtWindowImpl
;
}
}
...
@@ -1313,20 +1312,7 @@ public:
...
@@ -1313,20 +1312,7 @@ public:
// ExtImpl
// ExtImpl
// layouting
// old layouting, in-process-of-removal
boost
::
shared_ptr
<
vcl
::
WindowArranger
>
getLayout
();
/* add a child Window
addWindow will do the following things
- insert the passed window into the child list (equivalent to i_pWin->SetParent( this ))
- mark the window as "owned", meaning that the added Window will be destroyed by
the parent's desctructor.
This means: do not pass in member windows or stack objects here. Do not cause
the destructor of the added window to be called in any way.
to avoid ownership pass i_bTakeOwnership as "false"
*/
void
addWindow
(
Window
*
i_pWin
,
bool
i_bTakeOwnership
=
true
);
/* return the identifier of this window
/* return the identifier of this window
*/
*/
...
...
vcl/source/window/arrange.cxx
Dosyayı görüntüle @
190bfac4
...
@@ -730,18 +730,6 @@ size_t LabelColumn::addRow( Window* i_pLabel, boost::shared_ptr<WindowArranger>
...
@@ -730,18 +730,6 @@ size_t LabelColumn::addRow( Window* i_pLabel, boost::shared_ptr<WindowArranger>
return
nIndex
;
return
nIndex
;
}
}
size_t
LabelColumn
::
addRow
(
Window
*
i_pLabel
,
Window
*
i_pElement
,
long
i_nIndent
,
const
Size
&
i_rElementMinSize
)
{
boost
::
shared_ptr
<
LabeledElement
>
xLabel
(
new
LabeledElement
(
this
,
1
)
);
xLabel
->
setLabel
(
i_pLabel
);
xLabel
->
setBorders
(
0
,
i_nIndent
,
0
,
0
,
0
);
xLabel
->
setElement
(
i_pElement
);
xLabel
->
setMinimumSize
(
1
,
i_rElementMinSize
);
size_t
nIndex
=
addChild
(
xLabel
);
resize
();
return
nIndex
;
}
// ----------------------------------------
// ----------------------------------------
// vcl::Indenter
// vcl::Indenter
//-----------------------------------------
//-----------------------------------------
...
...
vcl/source/window/window4.cxx
Dosyayı görüntüle @
190bfac4
...
@@ -100,38 +100,6 @@ void Window::ImplExtResize()
...
@@ -100,38 +100,6 @@ void Window::ImplExtResize()
}
}
}
}
boost
::
shared_ptr
<
vcl
::
WindowArranger
>
Window
::
getLayout
()
{
boost
::
shared_ptr
<
vcl
::
WindowArranger
>
xRet
;
vcl
::
ExtWindowImpl
*
pImpl
=
ImplGetExtWindowImpl
();
if
(
pImpl
)
{
if
(
!
pImpl
->
mxLayout
.
get
()
)
{
pImpl
->
mxLayout
.
reset
(
new
vcl
::
LabelColumn
()
);
pImpl
->
mxLayout
->
setParentWindow
(
this
);
pImpl
->
mxLayout
->
setOuterBorder
(
-
1
);
}
xRet
=
pImpl
->
mxLayout
;
}
return
xRet
;
}
void
Window
::
addWindow
(
Window
*
i_pWin
,
bool
i_bTakeOwnership
)
{
vcl
::
ExtWindowImpl
*
pImpl
=
ImplGetExtWindowImpl
();
if
(
pImpl
&&
i_pWin
)
{
vcl
::
ExtWindowImpl
*
pChildImpl
=
i_pWin
->
ImplGetExtWindowImpl
();
if
(
pChildImpl
)
{
i_pWin
->
SetParent
(
this
);
pChildImpl
->
mbOwnedByParent
=
i_bTakeOwnership
;
}
}
}
Window
*
Window
::
findWindow
(
const
rtl
::
OUString
&
i_rIdentifier
)
const
Window
*
Window
::
findWindow
(
const
rtl
::
OUString
&
i_rIdentifier
)
const
{
{
if
(
getIdentifier
()
==
i_rIdentifier
)
if
(
getIdentifier
()
==
i_rIdentifier
)
...
...
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