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
08908961
Kaydet (Commit)
08908961
authored
Nis 11, 2012
tarafından
Takeshi Abe
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
removed dead code
üst
25c70a72
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
41 deletions
+0
-41
filtergrouping.cxx
sfx2/source/dialog/filtergrouping.cxx
+0
-41
No files found.
sfx2/source/dialog/filtergrouping.cxx
Dosyayı görüntüle @
08908961
...
@@ -54,9 +54,6 @@ namespace sfx2
...
@@ -54,9 +54,6 @@ namespace sfx2
{
{
//........................................................................
//........................................................................
//#define DISABLE_GROUPING_AND_CLASSIFYING
// not using the functionallity herein, yet
using
namespace
::
com
::
sun
::
star
::
uno
;
using
namespace
::
com
::
sun
::
star
::
uno
;
using
namespace
::
com
::
sun
::
star
::
ui
::
dialogs
;
using
namespace
::
com
::
sun
::
star
::
ui
::
dialogs
;
using
namespace
::
com
::
sun
::
star
::
lang
;
using
namespace
::
com
::
sun
::
star
::
lang
;
...
@@ -808,34 +805,6 @@ namespace sfx2
...
@@ -808,34 +805,6 @@ namespace sfx2
}
}
}
}
#ifdef DISABLE_GROUPING_AND_CLASSIFYING
//--------------------------------------------------------------------
void
lcl_EnsureAllFilesEntry
(
TSortedFilterList
&
_rFilterMatcher
,
const
Reference
<
XFilterManager
>&
_rxFilterManager
,
::
rtl
::
OUString
&
_rFirstNonEmpty
)
{
// ===============================================================
String
sAllFilterName
;
if
(
!
lcl_hasAllFilesFilter
(
_rFilterMatcher
,
sAllFilterName
)
)
{
try
{
_rxFilterManager
->
appendFilter
(
sAllFilterName
,
DEFINE_CONST_UNICODE
(
FILEDIALOG_FILTER_ALL
)
);
_rFirstNonEmpty
=
sAllFilterName
;
}
catch
(
const
IllegalArgumentException
&
)
{
#ifdef DBG_UTIL
rtl
::
OStringBuffer
aMsg
(
RTL_CONSTASCII_STRINGPARAM
(
"sfx2::lcl_EnsureAllFilesEntry: could not append Filter"
));
aMsg
.
append
(
rtl
::
OUStringToOString
(
sAllFilterName
,
RTL_TEXTENCODING_UTF8
));
OSL_FAIL
(
aMsg
.
getStr
()
);
#endif
}
}
}
#endif
// =======================================================================
// =======================================================================
// = filling an XFilterManager
// = filling an XFilterManager
// =======================================================================
// =======================================================================
...
@@ -1180,15 +1149,6 @@ namespace sfx2
...
@@ -1180,15 +1149,6 @@ namespace sfx2
if
(
!
_rxFilterManager
.
is
()
)
if
(
!
_rxFilterManager
.
is
()
)
return
;
return
;
#ifdef DISABLE_GROUPING_AND_CLASSIFYING
// ===============================================================
// ensure that there's an entry "all" (with wildcard *.*)
lcl_EnsureAllFilesEntry
(
_rFilterMatcher
,
_rxFilterManager
,
_rFirstNonEmpty
);
// ===============================================================
appendFilters
(
_rFilterMatcher
,
_rxFilterManager
,
_rFirstNonEmpty
);
#else
// ===============================================================
// ===============================================================
// group and classify the filters
// group and classify the filters
GroupedFilterList
aAllFilters
;
GroupedFilterList
aAllFilters
;
...
@@ -1221,7 +1181,6 @@ namespace sfx2
...
@@ -1221,7 +1181,6 @@ namespace sfx2
aAllFilters
.
end
(),
aAllFilters
.
end
(),
AppendFilterGroup
(
_rxFilterManager
,
&
_rFileDlgImpl
)
);
AppendFilterGroup
(
_rxFilterManager
,
&
_rFileDlgImpl
)
);
}
}
#endif
}
}
::
rtl
::
OUString
addExtension
(
const
::
rtl
::
OUString
&
_rDisplayText
,
::
rtl
::
OUString
addExtension
(
const
::
rtl
::
OUString
&
_rDisplayText
,
...
...
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