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
7f527276
Kaydet (Commit)
7f527276
authored
Agu 19, 2015
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
replace hideous SfxSaveTabPage define
Change-Id: Ie0931d378c72ff5aaa5d50006141eaa651281ba7
üst
bbb24a3b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
17 deletions
+13
-17
optsave.cxx
cui/source/options/optsave.cxx
+13
-13
optsave.hxx
cui/source/options/optsave.hxx
+0
-4
No files found.
cui/source/options/optsave.cxx
Dosyayı görüntüle @
7f527276
...
@@ -80,7 +80,7 @@ SvxSaveTabPage_Impl::~SvxSaveTabPage_Impl()
...
@@ -80,7 +80,7 @@ SvxSaveTabPage_Impl::~SvxSaveTabPage_Impl()
// class SvxSaveTabPage --------------------------------------------------
// class SvxSaveTabPage --------------------------------------------------
S
fxSaveTabPage
::
Sf
xSaveTabPage
(
vcl
::
Window
*
pParent
,
const
SfxItemSet
&
rCoreSet
)
:
S
vxSaveTabPage
::
Sv
xSaveTabPage
(
vcl
::
Window
*
pParent
,
const
SfxItemSet
&
rCoreSet
)
:
SfxTabPage
(
pParent
,
"OptSavePage"
,
"cui/ui/optsavepage.ui"
,
&
rCoreSet
),
SfxTabPage
(
pParent
,
"OptSavePage"
,
"cui/ui/optsavepage.ui"
,
&
rCoreSet
),
pImpl
(
new
SvxSaveTabPage_Impl
)
pImpl
(
new
SvxSaveTabPage_Impl
)
{
{
...
@@ -118,7 +118,7 @@ SfxSaveTabPage::SfxSaveTabPage( vcl::Window* pParent, const SfxItemSet& rCoreSet
...
@@ -118,7 +118,7 @@ SfxSaveTabPage::SfxSaveTabPage( vcl::Window* pParent, const SfxItemSet& rCoreSet
aDocTypeLB
->
SetEntryData
(
5
,
reinterpret_cast
<
void
*>
(
APP_DRAW
)
);
aDocTypeLB
->
SetEntryData
(
5
,
reinterpret_cast
<
void
*>
(
APP_DRAW
)
);
aDocTypeLB
->
SetEntryData
(
6
,
reinterpret_cast
<
void
*>
(
APP_MATH
)
);
aDocTypeLB
->
SetEntryData
(
6
,
reinterpret_cast
<
void
*>
(
APP_MATH
)
);
Link
<>
aLink
=
LINK
(
this
,
S
f
xSaveTabPage
,
AutoClickHdl_Impl
);
Link
<>
aLink
=
LINK
(
this
,
S
v
xSaveTabPage
,
AutoClickHdl_Impl
);
aAutoSaveCB
->
SetClickHdl
(
aLink
);
aAutoSaveCB
->
SetClickHdl
(
aLink
);
aAutoSaveEdit
->
SetMaxTextLen
(
2
);
aAutoSaveEdit
->
SetMaxTextLen
(
2
);
...
@@ -186,9 +186,9 @@ SfxSaveTabPage::SfxSaveTabPage( vcl::Window* pParent, const SfxItemSet& rCoreSet
...
@@ -186,9 +186,9 @@ SfxSaveTabPage::SfxSaveTabPage( vcl::Window* pParent, const SfxItemSet& rCoreSet
pImpl
->
aDefaultReadonlyArr
[
APP_WRITER_GLOBAL
]
=
aModuleOpt
.
IsDefaultFilterReadonly
(
SvtModuleOptions
::
EFactory
::
WRITERGLOBAL
);
pImpl
->
aDefaultReadonlyArr
[
APP_WRITER_GLOBAL
]
=
aModuleOpt
.
IsDefaultFilterReadonly
(
SvtModuleOptions
::
EFactory
::
WRITERGLOBAL
);
}
}
aLink
=
LINK
(
this
,
S
f
xSaveTabPage
,
ODFVersionHdl_Impl
);
aLink
=
LINK
(
this
,
S
v
xSaveTabPage
,
ODFVersionHdl_Impl
);
aODFVersionLB
->
SetSelectHdl
(
aLink
);
aODFVersionLB
->
SetSelectHdl
(
aLink
);
aLink
=
LINK
(
this
,
S
f
xSaveTabPage
,
FilterHdl_Impl
);
aLink
=
LINK
(
this
,
S
v
xSaveTabPage
,
FilterHdl_Impl
);
aDocTypeLB
->
SetSelectHdl
(
aLink
);
aDocTypeLB
->
SetSelectHdl
(
aLink
);
aSaveAsLB
->
SetSelectHdl
(
aLink
);
aSaveAsLB
->
SetSelectHdl
(
aLink
);
...
@@ -197,7 +197,7 @@ SfxSaveTabPage::SfxSaveTabPage( vcl::Window* pParent, const SfxItemSet& rCoreSet
...
@@ -197,7 +197,7 @@ SfxSaveTabPage::SfxSaveTabPage( vcl::Window* pParent, const SfxItemSet& rCoreSet
S
fxSaveTabPage
::~
Sf
xSaveTabPage
()
S
vxSaveTabPage
::~
Sv
xSaveTabPage
()
{
{
disposeOnce
();
disposeOnce
();
}
}
...
@@ -226,13 +226,13 @@ void SvxSaveTabPage::dispose()
...
@@ -226,13 +226,13 @@ void SvxSaveTabPage::dispose()
SfxTabPage
::
dispose
();
SfxTabPage
::
dispose
();
}
}
VclPtr
<
SfxTabPage
>
S
f
xSaveTabPage
::
Create
(
vcl
::
Window
*
pParent
,
VclPtr
<
SfxTabPage
>
S
v
xSaveTabPage
::
Create
(
vcl
::
Window
*
pParent
,
const
SfxItemSet
*
rAttrSet
)
const
SfxItemSet
*
rAttrSet
)
{
{
return
VclPtr
<
S
f
xSaveTabPage
>::
Create
(
pParent
,
*
rAttrSet
);
return
VclPtr
<
S
v
xSaveTabPage
>::
Create
(
pParent
,
*
rAttrSet
);
}
}
void
S
f
xSaveTabPage
::
DetectHiddenControls
()
void
S
v
xSaveTabPage
::
DetectHiddenControls
()
{
{
SvtOptionsDialogOptions
aOptionsDlgOpt
;
SvtOptionsDialogOptions
aOptionsDlgOpt
;
...
@@ -258,7 +258,7 @@ void SfxSaveTabPage::DetectHiddenControls()
...
@@ -258,7 +258,7 @@ void SfxSaveTabPage::DetectHiddenControls()
}
}
bool
S
f
xSaveTabPage
::
FillItemSet
(
SfxItemSet
*
rSet
)
bool
S
v
xSaveTabPage
::
FillItemSet
(
SfxItemSet
*
rSet
)
{
{
bool
bModified
=
false
;
bool
bModified
=
false
;
SvtSaveOptions
aSaveOpt
;
SvtSaveOptions
aSaveOpt
;
...
@@ -397,7 +397,7 @@ bool isODFFormat( const OUString& sFilter )
...
@@ -397,7 +397,7 @@ bool isODFFormat( const OUString& sFilter )
return
bRet
;
return
bRet
;
}
}
void
S
f
xSaveTabPage
::
Reset
(
const
SfxItemSet
*
)
void
S
v
xSaveTabPage
::
Reset
(
const
SfxItemSet
*
)
{
{
SvtSaveOptions
aSaveOpt
;
SvtSaveOptions
aSaveOpt
;
aLoadUserSettingsCB
->
Check
(
aSaveOpt
.
IsLoadUserSettings
());
aLoadUserSettingsCB
->
Check
(
aSaveOpt
.
IsLoadUserSettings
());
...
@@ -515,7 +515,7 @@ void SfxSaveTabPage::Reset( const SfxItemSet* )
...
@@ -515,7 +515,7 @@ void SfxSaveTabPage::Reset( const SfxItemSet* )
IMPL_LINK
(
S
f
xSaveTabPage
,
AutoClickHdl_Impl
,
CheckBox
*
,
pBox
)
IMPL_LINK
(
S
v
xSaveTabPage
,
AutoClickHdl_Impl
,
CheckBox
*
,
pBox
)
{
{
if
(
pBox
==
aAutoSaveCB
)
if
(
pBox
==
aAutoSaveCB
)
{
{
...
@@ -560,7 +560,7 @@ static OUString lcl_ExtracUIName(const Sequence<PropertyValue> &rProperties)
...
@@ -560,7 +560,7 @@ static OUString lcl_ExtracUIName(const Sequence<PropertyValue> &rProperties)
return
sName
;
return
sName
;
}
}
IMPL_LINK
(
S
f
xSaveTabPage
,
FilterHdl_Impl
,
ListBox
*
,
pBox
)
IMPL_LINK
(
S
v
xSaveTabPage
,
FilterHdl_Impl
,
ListBox
*
,
pBox
)
{
{
sal_uInt16
nCurPos
=
aDocTypeLB
->
GetSelectEntryPos
();
sal_uInt16
nCurPos
=
aDocTypeLB
->
GetSelectEntryPos
();
...
@@ -624,7 +624,7 @@ IMPL_LINK( SfxSaveTabPage, FilterHdl_Impl, ListBox *, pBox )
...
@@ -624,7 +624,7 @@ IMPL_LINK( SfxSaveTabPage, FilterHdl_Impl, ListBox *, pBox )
return
0
;
return
0
;
};
};
IMPL_LINK_NOARG
(
S
f
xSaveTabPage
,
ODFVersionHdl_Impl
)
IMPL_LINK_NOARG
(
S
v
xSaveTabPage
,
ODFVersionHdl_Impl
)
{
{
sal_IntPtr
nVersion
=
sal_IntPtr
(
aODFVersionLB
->
GetSelectEntryData
()
);
sal_IntPtr
nVersion
=
sal_IntPtr
(
aODFVersionLB
->
GetSelectEntryData
()
);
bool
bShown
=
SvtSaveOptions
::
ODFDefaultVersion
(
nVersion
)
!=
SvtSaveOptions
::
ODFVER_LATEST
;
bool
bShown
=
SvtSaveOptions
::
ODFDefaultVersion
(
nVersion
)
!=
SvtSaveOptions
::
ODFVER_LATEST
;
...
...
cui/source/options/optsave.hxx
Dosyayı görüntüle @
7f527276
...
@@ -31,10 +31,6 @@ namespace com { namespace sun { namespace star {
...
@@ -31,10 +31,6 @@ namespace com { namespace sun { namespace star {
struct
PropertyValue
;
struct
PropertyValue
;
}}}}
}}}}
// define ----------------------------------------------------------------
#define SfxSaveTabPage SvxSaveTabPage
// class SvxSaveTabPage --------------------------------------------------
// class SvxSaveTabPage --------------------------------------------------
struct
SvxSaveTabPage_Impl
;
struct
SvxSaveTabPage_Impl
;
...
...
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