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
03518d08
Kaydet (Commit)
03518d08
authored
Nis 17, 2017
tarafından
Matteo Casalin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fix indentation
Change-Id: If2c567450c27fe442e8c68627888fe7d39a65acb
üst
ddfb69a2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
doctemplates.cxx
sfx2/source/doc/doctemplates.cxx
+6
-6
No files found.
sfx2/source/doc/doctemplates.cxx
Dosyayı görüntüle @
03518d08
...
@@ -1629,8 +1629,8 @@ bool SfxDocTplService_Impl::renameGroup( const OUString& rOldName,
...
@@ -1629,8 +1629,8 @@ bool SfxDocTplService_Impl::renameGroup( const OUString& rOldName,
// check that the group can be renamed ( all the contents must be in target location )
// check that the group can be renamed ( all the contents must be in target location )
bool
bCanBeRenamed
=
false
;
bool
bCanBeRenamed
=
false
;
try
try
{
{
uno
::
Reference
<
XResultSet
>
xResultSet
;
uno
::
Reference
<
XResultSet
>
xResultSet
;
Sequence
<
OUString
>
aProps
{
TARGET_URL
};
Sequence
<
OUString
>
aProps
{
TARGET_URL
};
ResultSetInclude
eInclude
=
INCLUDE_DOCUMENTS_ONLY
;
ResultSetInclude
eInclude
=
INCLUDE_DOCUMENTS_ONLY
;
...
@@ -1638,11 +1638,11 @@ bool SfxDocTplService_Impl::renameGroup( const OUString& rOldName,
...
@@ -1638,11 +1638,11 @@ bool SfxDocTplService_Impl::renameGroup( const OUString& rOldName,
if
(
xResultSet
.
is
()
)
if
(
xResultSet
.
is
()
)
{
{
uno
::
Reference
<
XContentAccess
>
xContentAccess
(
xResultSet
,
UNO_QUERY_THROW
);
uno
::
Reference
<
XContentAccess
>
xContentAccess
(
xResultSet
,
UNO_QUERY_THROW
);
uno
::
Reference
<
XRow
>
xRow
(
xResultSet
,
UNO_QUERY_THROW
);
uno
::
Reference
<
XRow
>
xRow
(
xResultSet
,
UNO_QUERY_THROW
);
while
(
xResultSet
->
next
()
)
while
(
xResultSet
->
next
()
)
{
{
if
(
!::
utl
::
UCBContentHelper
::
IsSubPath
(
aGroupTargetURL
,
xRow
->
getString
(
1
)
)
)
if
(
!::
utl
::
UCBContentHelper
::
IsSubPath
(
aGroupTargetURL
,
xRow
->
getString
(
1
)
)
)
throw
uno
::
Exception
();
throw
uno
::
Exception
();
}
}
...
...
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