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
05d355ca
Kaydet (Commit)
05d355ca
authored
Agu 13, 2015
tarafından
Miklos Vajna
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sw: use std::unique_ptr in accpara
Change-Id: I0fcc22f987208ae9fa0e99f14253856ee6faa062
üst
5d81c9f2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
accpara.cxx
sw/source/core/access/accpara.cxx
+6
-6
No files found.
sw/source/core/access/accpara.cxx
Dosyayı görüntüle @
05d355ca
...
...
@@ -17,6 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#include <memory>
#include <txtfrm.hxx>
#include <flyfrm.hxx>
#include <ndtxt.hxx>
...
...
@@ -83,7 +84,6 @@
#include <unoprnms.hxx>
#include <com/sun/star/text/WritingMode2.hpp>
#include <viewimp.hxx>
#include <boost/scoped_ptr.hpp>
#include <textmarkuphelper.hxx>
#include <parachangetrackinginfo.hxx>
#include <com/sun/star/text/TextMarkupType.hpp>
...
...
@@ -1741,7 +1741,7 @@ void SwAccessibleParagraph::_getDefaultAttributesImpl(
{
// retrieve default attributes
const
SwTextNode
*
pTextNode
(
GetTextNode
()
);
::
boost
::
scoped
_ptr
<
SfxItemSet
>
pSet
;
std
::
unique
_ptr
<
SfxItemSet
>
pSet
;
if
(
!
bOnlyCharAttrs
)
{
pSet
.
reset
(
new
SfxItemSet
(
const_cast
<
SwAttrPool
&>
(
pTextNode
->
GetDoc
()
->
GetAttrPool
()),
...
...
@@ -2102,7 +2102,7 @@ void SwAccessibleParagraph::_getSupplementalAttributesImpl(
tAccParaPropValMap
&
rSupplementalAttrSeq
)
{
const
SwTextNode
*
pTextNode
(
GetTextNode
()
);
::
boost
::
scoped
_ptr
<
SfxItemSet
>
pSet
;
std
::
unique
_ptr
<
SfxItemSet
>
pSet
;
pSet
.
reset
(
new
SfxItemSet
(
const_cast
<
SwAttrPool
&>
(
pTextNode
->
GetDoc
()
->
GetAttrPool
()),
RES_PARATR_ADJUST
,
RES_PARATR_ADJUST
,
RES_PARATR_TABSTOP
,
RES_PARATR_TABSTOP
,
...
...
@@ -3284,7 +3284,7 @@ sal_Int32 SAL_CALL SwAccessibleParagraph::getTextMarkupCount( sal_Int32 nTextMar
throw
(
lang
::
IllegalArgumentException
,
uno
::
RuntimeException
,
std
::
exception
)
{
boost
::
scoped
_ptr
<
SwTextMarkupHelper
>
pTextMarkupHelper
;
std
::
unique
_ptr
<
SwTextMarkupHelper
>
pTextMarkupHelper
;
switch
(
nTextMarkupType
)
{
case
text
:
:
TextMarkupType
::
TRACK_CHANGE_INSERTION
:
...
...
@@ -3509,7 +3509,7 @@ sal_Int32 SAL_CALL SwAccessibleParagraph::addSelection( sal_Int32, sal_Int32 sta
lang
::
IllegalArgumentException
,
uno
::
RuntimeException
,
std
::
exception
)
{
boost
::
scoped
_ptr
<
SwTextMarkupHelper
>
pTextMarkupHelper
;
std
::
unique
_ptr
<
SwTextMarkupHelper
>
pTextMarkupHelper
;
switch
(
nTextMarkupType
)
{
case
text
:
:
TextMarkupType
::
TRACK_CHANGE_INSERTION
:
...
...
@@ -3544,7 +3544,7 @@ uno::Sequence< /*accessibility::*/TextSegment > SAL_CALL
throw
lang
::
IndexOutOfBoundsException
();
}
boost
::
scoped
_ptr
<
SwTextMarkupHelper
>
pTextMarkupHelper
;
std
::
unique
_ptr
<
SwTextMarkupHelper
>
pTextMarkupHelper
;
switch
(
nTextMarkupType
)
{
case
text
:
:
TextMarkupType
::
TRACK_CHANGE_INSERTION
:
...
...
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