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
c47099c9
Kaydet (Commit)
c47099c9
authored
May 25, 2011
tarafından
Kohei Yoshida
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Adjusted for SvBaseLink change.
üst
7f52fd7a
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
32 additions
and
23 deletions
+32
-23
swbaslnk.hxx
sw/inc/swbaslnk.hxx
+2
-2
section.cxx
sw/source/core/docnode/section.cxx
+8
-5
swbaslnk.cxx
sw/source/core/docnode/swbaslnk.cxx
+7
-5
ddefld.cxx
sw/source/core/fields/ddefld.cxx
+6
-4
ndole.cxx
sw/source/core/ole/ndole.cxx
+5
-4
swdtflvr.cxx
sw/source/ui/dochdl/swdtflvr.cxx
+4
-3
No files found.
sw/inc/swbaslnk.hxx
Dosyayı görüntüle @
c47099c9
...
...
@@ -65,8 +65,8 @@ public:
{}
virtual
~
SwBaseLink
();
virtual
void
DataChanged
(
const
String
&
rMimeType
,
const
::
com
::
sun
::
star
::
uno
::
Any
&
rValue
);
virtual
::
sfx2
::
SvBaseLink
::
UpdateResult
DataChanged
(
const
String
&
rMimeType
,
const
::
com
::
sun
::
star
::
uno
::
Any
&
rValue
);
virtual
void
Closed
();
...
...
sw/source/core/docnode/section.cxx
Dosyayı görüntüle @
c47099c9
...
...
@@ -86,8 +86,8 @@ public:
{}
virtual
void
Closed
();
virtual
void
DataChanged
(
const
String
&
rMimeType
,
const
uno
::
Any
&
rValue
);
virtual
::
sfx2
::
SvBaseLink
::
UpdateResult
DataChanged
(
const
String
&
rMimeType
,
const
::
com
::
sun
::
star
::
uno
::
Any
&
rValue
);
virtual
const
SwNode
*
GetAnchor
()
const
;
virtual
sal_Bool
IsInRange
(
sal_uLong
nSttNd
,
sal_uLong
nEndNd
,
xub_StrLen
nStt
=
0
,
...
...
@@ -1336,8 +1336,9 @@ int lcl_FindDocShell( SfxObjectShellRef& xDocSh,
}
void
SwIntrnlSectRefLink
::
DataChanged
(
const
String
&
rMimeType
,
const
uno
::
Any
&
rValue
)
::
sfx2
::
SvBaseLink
::
UpdateResult
SwIntrnlSectRefLink
::
DataChanged
(
const
String
&
rMimeType
,
const
uno
::
Any
&
rValue
)
{
SwSectionNode
*
pSectNd
=
rSectFmt
.
GetSectionNode
(
sal_False
);
SwDoc
*
pDoc
=
rSectFmt
.
GetDoc
();
...
...
@@ -1348,7 +1349,7 @@ void SwIntrnlSectRefLink::DataChanged( const String& rMimeType,
sfx2
::
LinkManager
::
RegisterStatusInfoId
()
==
nDataFormat
)
{
// sollten wir schon wieder im Undo stehen?
return
;
return
SUCCESS
;
}
// #i38810# - Due to possible existing signatures, the
...
...
@@ -1609,6 +1610,8 @@ void SwIntrnlSectRefLink::DataChanged( const String& rMimeType,
else
if
(
pVSh
)
pVSh
->
EndAction
();
delete
pPam
;
// wurde am Anfang angelegt
return
SUCCESS
;
}
...
...
sw/source/core/docnode/swbaslnk.cxx
Dosyayı görüntüle @
c47099c9
...
...
@@ -94,20 +94,20 @@ void lcl_CallModify( SwGrfNode& rGrfNd, SfxPoolItem& rItem )
}
void
SwBaseLink
::
DataChanged
(
const
String
&
rMimeType
,
const
uno
::
Any
&
rValue
)
::
sfx2
::
SvBaseLink
::
UpdateResult
SwBaseLink
::
DataChanged
(
const
String
&
rMimeType
,
const
uno
::
Any
&
rValue
)
{
if
(
!
pCntntNode
)
{
OSL_ENSURE
(
!
this
,
"DataChanged ohne ContentNode"
);
return
;
return
ERROR_GENERAL
;
}
SwDoc
*
pDoc
=
pCntntNode
->
GetDoc
();
if
(
pDoc
->
IsInDtor
()
||
ChkNoDataFlag
()
||
bIgnoreDataChanged
)
{
bIgnoreDataChanged
=
sal_False
;
return
;
return
SUCCESS
;
}
sal_uLong
nFmt
=
SotExchange
::
GetFormatIdFromMimeType
(
rMimeType
);
...
...
@@ -135,7 +135,7 @@ void SwBaseLink::DataChanged( const String& rMimeType,
pDoc
->
CallEvent
(
nEvent
,
aCallEvent
);
}
}
return
;
// das wars!
return
SUCCESS
;
// das wars!
}
sal_Bool
bUpdate
=
sal_False
;
...
...
@@ -297,6 +297,8 @@ void SwBaseLink::DataChanged( const String& rMimeType,
if
(
pSh
&&
!
bLockView
)
pSh
->
LockView
(
sal_False
);
}
return
SUCCESS
;
}
sal_Bool
SetGrfFlySize
(
const
Size
&
rGrfSz
,
const
Size
&
rFrmSz
,
SwGrfNode
*
pGrfNd
)
...
...
sw/source/core/fields/ddefld.cxx
Dosyayı görüntüle @
c47099c9
...
...
@@ -62,8 +62,8 @@ public:
{}
virtual
void
Closed
();
virtual
void
DataChanged
(
const
String
&
rMimeType
,
const
uno
::
Any
&
rValue
);
virtual
::
sfx2
::
SvBaseLink
::
UpdateResult
DataChanged
(
const
String
&
rMimeType
,
const
::
com
::
sun
::
star
::
uno
::
Any
&
rValue
);
virtual
const
SwNode
*
GetAnchor
()
const
;
virtual
sal_Bool
IsInRange
(
sal_uLong
nSttNd
,
sal_uLong
nEndNd
,
xub_StrLen
nStt
=
0
,
...
...
@@ -71,7 +71,7 @@ public:
};
void
SwIntrnlRefLink
::
DataChanged
(
const
String
&
rMimeType
,
::
sfx2
::
SvBaseLink
::
UpdateResult
SwIntrnlRefLink
::
DataChanged
(
const
String
&
rMimeType
,
const
uno
::
Any
&
rValue
)
{
switch
(
SotExchange
::
GetFormatIdFromMimeType
(
rMimeType
)
)
...
...
@@ -105,7 +105,7 @@ void SwIntrnlRefLink::DataChanged( const String& rMimeType,
// weitere Formate ...
default
:
return
;
return
SUCCESS
;
}
OSL_ENSURE
(
rFldType
.
GetDoc
(),
"Kein pDoc"
);
...
...
@@ -155,6 +155,8 @@ void SwIntrnlRefLink::DataChanged( const String& rMimeType,
pSh
->
GetDoc
()
->
SetModified
();
}
}
return
SUCCESS
;
}
void
SwIntrnlRefLink
::
Closed
()
...
...
sw/source/core/ole/ndole.cxx
Dosyayı görüntüle @
c47099c9
...
...
@@ -169,8 +169,8 @@ public:
virtual
~
SwEmbedObjectLink
();
virtual
void
Closed
();
virtual
void
DataChanged
(
const
String
&
rMimeType
,
const
uno
::
Any
&
rValue
);
virtual
::
sfx2
::
SvBaseLink
::
UpdateResult
DataChanged
(
const
String
&
rMimeType
,
const
::
com
::
sun
::
star
::
uno
::
Any
&
rValue
);
sal_Bool
Connect
()
{
return
GetRealObject
()
!=
NULL
;
}
};
...
...
@@ -192,8 +192,8 @@ SwEmbedObjectLink::~SwEmbedObjectLink()
// -----------------------------------------------------------------------------
void
SwEmbedObjectLink
::
DataChanged
(
const
String
&
,
const
uno
::
Any
&
)
::
sfx2
::
SvBaseLink
::
UpdateResult
SwEmbedObjectLink
::
DataChanged
(
const
String
&
,
const
uno
::
Any
&
)
{
if
(
!
pOleNode
->
UpdateLinkURL_Impl
()
)
{
...
...
@@ -222,6 +222,7 @@ void SwEmbedObjectLink::DataChanged( const String& ,
}
pOleNode
->
GetNewReplacement
();
return
SUCCESS
;
}
// -----------------------------------------------------------------------------
...
...
sw/source/ui/dochdl/swdtflvr.cxx
Dosyayı görüntüle @
c47099c9
...
...
@@ -193,8 +193,8 @@ protected:
public
:
SwTrnsfrDdeLink
(
SwTransferable
&
rTrans
,
SwWrtShell
&
rSh
);
virtual
void
DataChanged
(
const
String
&
rMimeType
,
const
uno
::
Any
&
rValue
);
virtual
::
sfx2
::
SvBaseLink
::
UpdateResult
DataChanged
(
const
String
&
rMimeType
,
const
::
com
::
sun
::
star
::
uno
::
Any
&
rValue
);
virtual
void
Closed
();
sal_Bool
WriteData
(
SvStream
&
rStrm
);
...
...
@@ -3500,7 +3500,7 @@ SwTrnsfrDdeLink::~SwTrnsfrDdeLink()
Disconnect
(
sal_True
);
}
void
SwTrnsfrDdeLink
::
DataChanged
(
const
String
&
,
::
sfx2
::
SvBaseLink
::
UpdateResult
SwTrnsfrDdeLink
::
DataChanged
(
const
String
&
,
const
uno
::
Any
&
)
{
// well, that's it with the link
...
...
@@ -3510,6 +3510,7 @@ void SwTrnsfrDdeLink::DataChanged( const String& ,
rTrnsfr
.
RemoveDDELinkFormat
(
pDocShell
->
GetView
()
->
GetEditWin
()
);
Disconnect
(
sal_False
);
}
return
SUCCESS
;
}
sal_Bool
SwTrnsfrDdeLink
::
WriteData
(
SvStream
&
rStrm
)
...
...
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