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
54bd83fe
Kaydet (Commit)
54bd83fe
authored
Eki 31, 2002
tarafından
Andreas Bille
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
#90331# now filling the exception members
üst
a2869b0f
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
42 additions
and
23 deletions
+42
-23
bc.cxx
ucb/source/ucp/file/bc.cxx
+12
-8
filglob.cxx
ucb/source/ucp/file/filglob.cxx
+0
-0
filglob.hxx
ucb/source/ucp/file/filglob.hxx
+4
-2
filtask.cxx
ucb/source/ucp/file/filtask.cxx
+12
-4
filtask.hxx
ucb/source/ucp/file/filtask.hxx
+6
-3
shell.cxx
ucb/source/ucp/file/shell.cxx
+8
-6
No files found.
ucb/source/ucp/file/bc.cxx
Dosyayı görüntüle @
54bd83fe
...
@@ -2,9 +2,9 @@
...
@@ -2,9 +2,9 @@
*
*
* $RCSfile: bc.cxx,v $
* $RCSfile: bc.cxx,v $
*
*
* $Revision: 1.2
6
$
* $Revision: 1.2
7
$
*
*
* last change: $Author: abi $ $Date: 200
1-11-19 17:09:21
$
* last change: $Author: abi $ $Date: 200
2-10-31 16:24:33
$
*
*
* The Contents of this file are made available subject to the terms of
* The Contents of this file are made available subject to the terms of
* either of the following licenses
* either of the following licenses
...
@@ -1063,13 +1063,17 @@ BaseContent::open(
...
@@ -1063,13 +1063,17 @@ BaseContent::open(
aCommandArgument
.
Properties
,
aCommandArgument
.
Properties
,
aCommandArgument
.
SortingInfo
);
aCommandArgument
.
SortingInfo
);
}
}
else
if
(
aCommandArgument
.
Mode
==
OpenMode
::
DOCUMENT_SHARE_DENY_NONE
||
// else if( aCommandArgument.Mode ==
aCommandArgument
.
Mode
==
OpenMode
::
DOCUMENT_SHARE_DENY_WRITE
)
// OpenMode::DOCUMENT_SHARE_DENY_NONE ||
m_pMyShell
->
installError
(
nMyCommandIdentifier
,
// aCommandArgument.Mode ==
TASKHANDLING_UNSUPPORTED_OPEN_MODE
);
// OpenMode::DOCUMENT_SHARE_DENY_WRITE )
// m_pMyShell->installError( nMyCommandIdentifier,
// TASKHANDLING_UNSUPPORTED_OPEN_MODE,
// aCommandArgument.Mode);
else
else
m_pMyShell
->
installError
(
nMyCommandIdentifier
,
m_pMyShell
->
installError
(
nMyCommandIdentifier
,
TASKHANDLING_UNSUPPORTED_OPEN_MODE
);
TASKHANDLING_UNSUPPORTED_OPEN_MODE
,
aCommandArgument
.
Mode
);
}
}
return
retValue
;
return
retValue
;
...
@@ -1298,7 +1302,7 @@ void SAL_CALL BaseContent::insert( sal_Int32 nMyCommandIdentifier,
...
@@ -1298,7 +1302,7 @@ void SAL_CALL BaseContent::insert( sal_Int32 nMyCommandIdentifier,
void
SAL_CALL
BaseContent
::
endTask
(
sal_Int32
CommandId
)
void
SAL_CALL
BaseContent
::
endTask
(
sal_Int32
CommandId
)
{
{
// This is the only function allowed to throw an exception
// This is the only function allowed to throw an exception
m_pMyShell
->
endTask
(
m_pMyShell
,
CommandId
,
m_aUncPath
);
m_pMyShell
->
endTask
(
m_pMyShell
,
CommandId
,
m_aUncPath
,
this
);
}
}
...
...
ucb/source/ucp/file/filglob.cxx
Dosyayı görüntüle @
54bd83fe
This diff is collapsed.
Click to expand it.
ucb/source/ucp/file/filglob.hxx
Dosyayı görüntüle @
54bd83fe
...
@@ -2,9 +2,9 @@
...
@@ -2,9 +2,9 @@
*
*
* $RCSfile: filglob.hxx,v $
* $RCSfile: filglob.hxx,v $
*
*
* $Revision: 1.
7
$
* $Revision: 1.
8
$
*
*
* last change: $Author: abi $ $Date: 200
1-11-19 11:11:2
9 $
* last change: $Author: abi $ $Date: 200
2-10-31 16:24:3
9 $
*
*
* The Contents of this file are made available subject to the terms of
* The Contents of this file are made available subject to the terms of
* either of the following licenses
* either of the following licenses
...
@@ -75,6 +75,7 @@
...
@@ -75,6 +75,7 @@
namespace
fileaccess
{
namespace
fileaccess
{
class
shell
;
class
shell
;
class
BaseContent
;
struct
equalOUString
struct
equalOUString
{
{
...
@@ -163,6 +164,7 @@ namespace fileaccess {
...
@@ -163,6 +164,7 @@ namespace fileaccess {
const
com
::
sun
::
star
::
uno
::
Reference
<
const
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
ucb
::
XCommandEnvironment
>&
xEnv
,
com
::
sun
::
star
::
ucb
::
XCommandEnvironment
>&
xEnv
,
const
rtl
::
OUString
&
aUncPath
,
const
rtl
::
OUString
&
aUncPath
,
BaseContent
*
pContent
,
bool
isHandled
=
false
);
bool
isHandled
=
false
);
// the physical URL of the object
// the physical URL of the object
...
...
ucb/source/ucp/file/filtask.cxx
Dosyayı görüntüle @
54bd83fe
...
@@ -2,9 +2,9 @@
...
@@ -2,9 +2,9 @@
*
*
* $RCSfile: filtask.cxx,v $
* $RCSfile: filtask.cxx,v $
*
*
* $Revision: 1.
8
$
* $Revision: 1.
9
$
*
*
* last change: $Author: abi $ $Date: 200
1-11-19 11:11:29
$
* last change: $Author: abi $ $Date: 200
2-10-31 16:24:41
$
*
*
* The Contents of this file are made available subject to the terms of
* The Contents of this file are made available subject to the terms of
* either of the following licenses
* either of the following licenses
...
@@ -112,7 +112,8 @@ TaskManager::startTask(
...
@@ -112,7 +112,8 @@ TaskManager::startTask(
void
SAL_CALL
void
SAL_CALL
TaskManager
::
endTask
(
shell
*
pShell
,
TaskManager
::
endTask
(
shell
*
pShell
,
sal_Int32
CommandId
,
sal_Int32
CommandId
,
const
rtl
::
OUString
&
aUncPath
)
const
rtl
::
OUString
&
aUncPath
,
BaseContent
*
pContent
)
{
{
vos
::
OGuard
aGuard
(
m_aMutex
);
vos
::
OGuard
aGuard
(
m_aMutex
);
TaskMap
::
iterator
it
=
m_aTaskMap
.
find
(
CommandId
);
TaskMap
::
iterator
it
=
m_aTaskMap
.
find
(
CommandId
);
...
@@ -128,7 +129,14 @@ TaskManager::endTask( shell * pShell,
...
@@ -128,7 +129,14 @@ TaskManager::endTask( shell * pShell,
m_aTaskMap
.
erase
(
it
);
m_aTaskMap
.
erase
(
it
);
if
(
ErrorCode
!=
TASKHANDLER_NO_ERROR
)
if
(
ErrorCode
!=
TASKHANDLER_NO_ERROR
)
throw_handler
(
pShell
,
ErrorCode
,
MinorCode
,
xComEnv
,
aUncPath
,
isHandled
);
throw_handler
(
pShell
,
ErrorCode
,
MinorCode
,
xComEnv
,
aUncPath
,
pContent
,
isHandled
);
}
}
...
...
ucb/source/ucp/file/filtask.hxx
Dosyayı görüntüle @
54bd83fe
...
@@ -2,9 +2,9 @@
...
@@ -2,9 +2,9 @@
*
*
* $RCSfile: filtask.hxx,v $
* $RCSfile: filtask.hxx,v $
*
*
* $Revision: 1.
9
$
* $Revision: 1.
10
$
*
*
* last change: $Author: abi $ $Date: 200
1-11-19 11:11:29
$
* last change: $Author: abi $ $Date: 200
2-10-31 16:24:42
$
*
*
* The Contents of this file are made available subject to the terms of
* The Contents of this file are made available subject to the terms of
* either of the following licenses
* either of the following licenses
...
@@ -95,6 +95,7 @@
...
@@ -95,6 +95,7 @@
namespace
fileaccess
namespace
fileaccess
{
{
class
shell
;
class
shell
;
class
BaseContent
;
/*
/*
* This implementation is inherited by class fileaccess::shell.
* This implementation is inherited by class fileaccess::shell.
...
@@ -260,8 +261,10 @@ namespace fileaccess
...
@@ -260,8 +261,10 @@ namespace fileaccess
void
SAL_CALL
endTask
(
shell
*
pShell
,
// must not be null
void
SAL_CALL
endTask
(
shell
*
pShell
,
// must not be null
sal_Int32
CommandId
,
sal_Int32
CommandId
,
const
rtl
::
OUString
&
aUnqPath
);
// the physical URL of the object
// the physical URL of the object
const
rtl
::
OUString
&
aUnqPath
,
BaseContent
*
pContent
);
/**
/**
* Handles an interactionrequest
* Handles an interactionrequest
...
...
ucb/source/ucp/file/shell.cxx
Dosyayı görüntüle @
54bd83fe
...
@@ -2,9 +2,9 @@
...
@@ -2,9 +2,9 @@
*
*
* $RCSfile: shell.cxx,v $
* $RCSfile: shell.cxx,v $
*
*
* $Revision: 1.7
1
$
* $Revision: 1.7
2
$
*
*
* last change: $Author:
pl $ $Date: 2002-05-13 17:02:56
$
* last change: $Author:
abi $ $Date: 2002-10-31 16:24:42
$
*
*
* The Contents of this file are made available subject to the terms of
* The Contents of this file are made available subject to the terms of
* either of the following licenses
* either of the following licenses
...
@@ -1262,10 +1262,11 @@ shell::move( sal_Int32 CommandId,
...
@@ -1262,10 +1262,11 @@ shell::move( sal_Int32 CommandId,
}
}
break
;
break
;
}
}
case
NameClash
:
:
ASK
:
case
NameClash
:
:
ASK
:
default
:
default
:
installError
(
CommandId
,
installError
(
CommandId
,
TASKHANDLING_NAMECLASHSUPPORT_FOR_MOVE
);
TASKHANDLING_NAMECLASHSUPPORT_FOR_MOVE
,
NameClash
::
ASK
);
return
;
return
;
break
;
break
;
}
}
...
@@ -1461,7 +1462,8 @@ shell::copy(
...
@@ -1461,7 +1462,8 @@ shell::copy(
default
:
default
:
{
{
installError
(
CommandId
,
installError
(
CommandId
,
TASKHANDLING_NAMECLASHSUPPORT_FOR_COPY
);
TASKHANDLING_NAMECLASHSUPPORT_FOR_COPY
,
NameClash
::
ASK
);
return
;
return
;
break
;
break
;
}
}
...
...
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