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
a06a44c3
Kaydet (Commit)
a06a44c3
authored
Ara 25, 2012
tarafından
Markus Mohrhard
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
one more fix for fdo#58686
Change-Id: I02e29441fa5d9573cb179dfde2357416102ff341
üst
c2909891
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
cellsh1.cxx
sc/source/ui/view/cellsh1.cxx
+3
-1
No files found.
sc/source/ui/view/cellsh1.cxx
Dosyayı görüntüle @
a06a44c3
...
@@ -1786,6 +1786,7 @@ void ScCellShell::ExecuteEdit( SfxRequest& rReq )
...
@@ -1786,6 +1786,7 @@ void ScCellShell::ExecuteEdit( SfxRequest& rReq )
boost
::
scoped_ptr
<
ScCondFormatDlg
>
pCondFormatDlg
;
boost
::
scoped_ptr
<
ScCondFormatDlg
>
pCondFormatDlg
;
if
(
bContainsCondFormat
)
if
(
bContainsCondFormat
)
{
{
bool
bContainsExistingCondFormat
=
false
;
ScConditionalFormatList
*
pList
=
pDoc
->
GetCondFormList
(
aPos
.
Tab
());
ScConditionalFormatList
*
pList
=
pDoc
->
GetCondFormList
(
aPos
.
Tab
());
for
(
std
::
vector
<
sal_uInt32
>::
const_iterator
itr
=
rCondFormats
.
begin
(),
itrEnd
=
rCondFormats
.
end
();
for
(
std
::
vector
<
sal_uInt32
>::
const_iterator
itr
=
rCondFormats
.
begin
(),
itrEnd
=
rCondFormats
.
end
();
itr
!=
itrEnd
;
++
itr
)
itr
!=
itrEnd
;
++
itr
)
...
@@ -1795,6 +1796,7 @@ void ScCellShell::ExecuteEdit( SfxRequest& rReq )
...
@@ -1795,6 +1796,7 @@ void ScCellShell::ExecuteEdit( SfxRequest& rReq )
if
(
!
pCondFormat
)
if
(
!
pCondFormat
)
continue
;
continue
;
bContainsExistingCondFormat
=
true
;
const
ScRangeList
&
rCondFormatRange
=
pCondFormat
->
GetRange
();
const
ScRangeList
&
rCondFormatRange
=
pCondFormat
->
GetRange
();
if
(
rCondFormatRange
==
aRangeList
)
if
(
rCondFormatRange
==
aRangeList
)
{
{
...
@@ -1807,7 +1809,7 @@ void ScCellShell::ExecuteEdit( SfxRequest& rReq )
...
@@ -1807,7 +1809,7 @@ void ScCellShell::ExecuteEdit( SfxRequest& rReq )
// if not found a conditional format ask whether we should edit one of the existing
// if not found a conditional format ask whether we should edit one of the existing
// or should create a new overlapping conditional format
// or should create a new overlapping conditional format
if
(
!
pCondFormatDlg
)
if
(
!
pCondFormatDlg
&&
bContainsExistingCondFormat
)
{
{
QueryBox
aBox
(
pTabViewShell
->
GetDialogParent
(),
WinBits
(
WB_YES_NO
|
WB_DEF_YES
),
QueryBox
aBox
(
pTabViewShell
->
GetDialogParent
(),
WinBits
(
WB_YES_NO
|
WB_DEF_YES
),
ScGlobal
::
GetRscString
(
STR_EDIT_EXISTING_COND_FORMATS
)
);
ScGlobal
::
GetRscString
(
STR_EDIT_EXISTING_COND_FORMATS
)
);
...
...
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