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
e7bb2118
Kaydet (Commit)
e7bb2118
authored
Mar 24, 2015
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
a scoped enumeration cannot be redeclared as an unscoped enumeration
Change-Id: If63ae932469ebc723a54f32604c3368f3a1f2688
üst
5e49b9b4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
pview.cxx
sw/source/uibase/uiview/pview.cxx
+2
-2
view2.cxx
sw/source/uibase/uiview/view2.cxx
+1
-1
No files found.
sw/source/uibase/uiview/pview.cxx
Dosyayı görüntüle @
e7bb2118
...
@@ -772,7 +772,7 @@ void SwPagePreview::Execute( SfxRequest &rReq )
...
@@ -772,7 +772,7 @@ void SwPagePreview::Execute( SfxRequest &rReq )
}
}
if
(
pArgs
)
if
(
pArgs
)
{
{
enum
SvxZoomType
eType
=
SvxZoomType
::
PERCENT
;
SvxZoomType
eType
=
SvxZoomType
::
PERCENT
;
sal_uInt16
nZoomFactor
=
USHRT_MAX
;
sal_uInt16
nZoomFactor
=
USHRT_MAX
;
if
(
SfxItemState
::
SET
==
pArgs
->
GetItemState
(
SID_ATTR_ZOOM
,
true
,
&
pItem
))
if
(
SfxItemState
::
SET
==
pArgs
->
GetItemState
(
SID_ATTR_ZOOM
,
true
,
&
pItem
))
{
{
...
@@ -801,7 +801,7 @@ void SwPagePreview::Execute( SfxRequest &rReq )
...
@@ -801,7 +801,7 @@ void SwPagePreview::Execute( SfxRequest &rReq )
case
SID_ZOOM_IN
:
case
SID_ZOOM_IN
:
case
SID_ZOOM_OUT
:
case
SID_ZOOM_OUT
:
{
{
enum
SvxZoomType
eType
=
SvxZoomType
::
PERCENT
;
SvxZoomType
eType
=
SvxZoomType
::
PERCENT
;
const
SwViewOption
*
pVOpt
=
GetViewShell
()
->
GetViewOptions
();
const
SwViewOption
*
pVOpt
=
GetViewShell
()
->
GetViewOptions
();
SetZoom
(
eType
,
SetZoom
(
eType
,
lcl_GetNextZoomStep
(
pVOpt
->
GetZoom
(),
SID_ZOOM_IN
==
rReq
.
GetSlot
()));
lcl_GetNextZoomStep
(
pVOpt
->
GetZoom
(),
SID_ZOOM_IN
==
rReq
.
GetSlot
()));
...
...
sw/source/uibase/uiview/view2.cxx
Dosyayı görüntüle @
e7bb2118
...
@@ -1728,7 +1728,7 @@ void SwView::ExecuteStatusLine(SfxRequest &rReq)
...
@@ -1728,7 +1728,7 @@ void SwView::ExecuteStatusLine(SfxRequest &rReq)
if
(
pSet
&&
SfxItemState
::
SET
==
pSet
->
GetItemState
(
SID_ATTR_ZOOM
,
true
,
&
pItem
))
if
(
pSet
&&
SfxItemState
::
SET
==
pSet
->
GetItemState
(
SID_ATTR_ZOOM
,
true
,
&
pItem
))
{
{
enum
SvxZoomType
eType
=
static_cast
<
const
SvxZoomItem
*>
(
pItem
)
->
GetType
();
SvxZoomType
eType
=
static_cast
<
const
SvxZoomItem
*>
(
pItem
)
->
GetType
();
SetZoom
(
eType
,
static_cast
<
const
SvxZoomItem
*>
(
pItem
)
->
GetValue
()
);
SetZoom
(
eType
,
static_cast
<
const
SvxZoomItem
*>
(
pItem
)
->
GetValue
()
);
}
}
bUp
=
true
;
bUp
=
true
;
...
...
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