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
656dd07d
Kaydet (Commit)
656dd07d
authored
Haz 30, 2014
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Dead code
Change-Id: I50b13e27501dfd885e3ed99215d18166d5112bf7
üst
28177b61
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
67 deletions
+0
-67
iodlg.cxx
fpicker/source/office/iodlg.cxx
+0
-63
iodlg.hxx
fpicker/source/office/iodlg.hxx
+0
-4
No files found.
fpicker/source/office/iodlg.cxx
Dosyayı görüntüle @
656dd07d
...
@@ -187,27 +187,6 @@ namespace
...
@@ -187,27 +187,6 @@ namespace
rFile
+=
rExtension
;
rFile
+=
rExtension
;
}
}
// move the control with the given offset
void
lcl_MoveControl
(
Control
*
_pControl
,
sal_Int32
_nDeltaX
,
sal_Int32
_nDeltaY
,
sal_Int32
*
_pMaxY
=
NULL
)
{
if
(
_pControl
)
{
Point
aNewPos
=
_pControl
->
GetPosPixel
();
// adjust the vertical position
aNewPos
.
Y
()
+=
_nDeltaY
;
if
(
_pMaxY
&&
(
aNewPos
.
Y
()
>
*
_pMaxY
)
)
*
_pMaxY
=
aNewPos
.
Y
();
// adjust the horizontal position
aNewPos
.
X
()
+=
_nDeltaX
;
_pControl
->
SetPosPixel
(
aNewPos
);
}
}
void
lcl_autoUpdateFileExtension
(
SvtFileDialog
*
_pDialog
,
const
OUString
&
_rLastFilterExt
)
void
lcl_autoUpdateFileExtension
(
SvtFileDialog
*
_pDialog
,
const
OUString
&
_rLastFilterExt
)
{
{
// if auto extension is enabled ....
// if auto extension is enabled ....
...
@@ -319,45 +298,6 @@ namespace
...
@@ -319,45 +298,6 @@ namespace
}
}
}
}
// ControlChain_Impl
struct
ControlChain_Impl
{
Window
*
_pControl
;
ControlChain_Impl
*
_pNext
;
bool
_bHasOwnership
;
ControlChain_Impl
(
Window
*
pControl
,
ControlChain_Impl
*
pNext
);
~
ControlChain_Impl
();
};
ControlChain_Impl
::
ControlChain_Impl
(
Window
*
pControl
,
ControlChain_Impl
*
pNext
)
:
_pControl
(
pControl
),
_pNext
(
pNext
),
_bHasOwnership
(
true
)
{
}
ControlChain_Impl
::~
ControlChain_Impl
()
{
if
(
_bHasOwnership
)
{
delete
_pControl
;
}
delete
_pNext
;
}
// SvtFileDialog
// SvtFileDialog
SvtFileDialog
::
SvtFileDialog
SvtFileDialog
::
SvtFileDialog
...
@@ -368,7 +308,6 @@ SvtFileDialog::SvtFileDialog
...
@@ -368,7 +308,6 @@ SvtFileDialog::SvtFileDialog
)
:
)
:
ModalDialog
(
_pParent
,
"ExplorerFileDialog"
,
"fps/ui/explorerfiledialog.ui"
)
ModalDialog
(
_pParent
,
"ExplorerFileDialog"
,
"fps/ui/explorerfiledialog.ui"
)
,
_pUserControls
(
NULL
)
,
_pCbReadOnly
(
NULL
)
,
_pCbReadOnly
(
NULL
)
,
_pCbLinkBox
(
NULL
)
,
_pCbLinkBox
(
NULL
)
,
_pCbPreviewBox
(
NULL
)
,
_pCbPreviewBox
(
NULL
)
...
@@ -392,7 +331,6 @@ SvtFileDialog::SvtFileDialog
...
@@ -392,7 +331,6 @@ SvtFileDialog::SvtFileDialog
SvtFileDialog
::
SvtFileDialog
(
Window
*
_pParent
,
WinBits
nBits
)
SvtFileDialog
::
SvtFileDialog
(
Window
*
_pParent
,
WinBits
nBits
)
:
ModalDialog
(
_pParent
,
"ExplorerFileDialog"
,
"fps/ui/explorerfiledialog.ui"
)
:
ModalDialog
(
_pParent
,
"ExplorerFileDialog"
,
"fps/ui/explorerfiledialog.ui"
)
,
_pUserControls
(
NULL
)
,
_pCbReadOnly
(
NULL
)
,
_pCbReadOnly
(
NULL
)
,
_pCbLinkBox
(
NULL
)
,
_pCbLinkBox
(
NULL
)
,
_pCbPreviewBox
(
NULL
)
,
_pCbPreviewBox
(
NULL
)
...
@@ -501,7 +439,6 @@ SvtFileDialog::~SvtFileDialog()
...
@@ -501,7 +439,6 @@ SvtFileDialog::~SvtFileDialog()
delete
_pSplitter
;
delete
_pSplitter
;
delete
_pContainer
;
delete
_pContainer
;
delete
_pPrevBmp
;
delete
_pPrevBmp
;
delete
_pUserControls
;
}
}
void
SvtFileDialog
::
Init_Impl
void
SvtFileDialog
::
Init_Impl
...
...
fpicker/source/office/iodlg.hxx
Dosyayı görüntüle @
656dd07d
...
@@ -48,7 +48,6 @@
...
@@ -48,7 +48,6 @@
class
SvTabListBox
;
class
SvTabListBox
;
class
SvtFileView
;
class
SvtFileView
;
struct
ControlChain_Impl
;
class
SvtFileDialogFilter_Impl
;
class
SvtFileDialogFilter_Impl
;
...
@@ -85,9 +84,6 @@ class CustomContainer;
...
@@ -85,9 +84,6 @@ class CustomContainer;
class
SvtFileDialog
:
public
ModalDialog
,
public
::
svt
::
IFilePickerController
class
SvtFileDialog
:
public
ModalDialog
,
public
::
svt
::
IFilePickerController
{
{
private
:
private
:
// originally from VclFileDialog
ControlChain_Impl
*
_pUserControls
;
CheckBox
*
_pCbReadOnly
;
CheckBox
*
_pCbReadOnly
;
CheckBox
*
_pCbLinkBox
;
CheckBox
*
_pCbLinkBox
;
CheckBox
*
_pCbPreviewBox
;
CheckBox
*
_pCbPreviewBox
;
...
...
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