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
ffaa6ae1
Kaydet (Commit)
ffaa6ae1
authored
Ock 14, 2012
tarafından
August Sodora
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
SvStringsDtor->std::vector
üst
a93df89c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
11 deletions
+10
-11
xmltbli.cxx
sw/source/filter/xml/xmltbli.cxx
+9
-10
xmltbli.hxx
sw/source/filter/xml/xmltbli.hxx
+1
-1
No files found.
sw/source/filter/xml/xmltbli.cxx
Dosyayı görüntüle @
ffaa6ae1
...
@@ -1538,16 +1538,16 @@ void SwXMLTableContext::InsertColumn( sal_Int32 nWidth2, sal_Bool bRelWidth2,
...
@@ -1538,16 +1538,16 @@ void SwXMLTableContext::InsertColumn( sal_Int32 nWidth2, sal_Bool bRelWidth2,
{
{
if
(
!
pColumnDefaultCellStyleNames
)
if
(
!
pColumnDefaultCellStyleNames
)
{
{
pColumnDefaultCellStyleNames
=
new
SvStringsDtor
;
pColumnDefaultCellStyleNames
=
new
std
::
vector
<
String
>
;
sal_uLong
nCount
=
aColumnWidths
.
size
()
-
1
;
sal_uLong
nCount
=
aColumnWidths
.
size
()
-
1
;
while
(
nCount
--
)
while
(
nCount
--
)
pColumnDefaultCellStyleNames
->
Insert
(
new
String
,
pColumnDefaultCellStyleNames
->
push_back
(
String
());
pColumnDefaultCellStyleNames
->
Count
()
);
}
}
pColumnDefaultCellStyleNames
->
Insert
(
if
(
pDfltCellStyleName
)
pDfltCellStyleName
?
new
String
(
*
pDfltCellStyleName
)
:
new
String
,
pColumnDefaultCellStyleNames
->
push_back
(
*
pDfltCellStyleName
);
pColumnDefaultCellStyleNames
->
Count
()
);
else
pColumnDefaultCellStyleNames
->
push_back
(
String
());
}
}
}
}
...
@@ -1567,11 +1567,10 @@ sal_Int32 SwXMLTableContext::GetColumnWidth( sal_uInt32 nCol,
...
@@ -1567,11 +1567,10 @@ sal_Int32 SwXMLTableContext::GetColumnWidth( sal_uInt32 nCol,
OUString
SwXMLTableContext
::
GetColumnDefaultCellStyleName
(
sal_uInt32
nCol
)
const
OUString
SwXMLTableContext
::
GetColumnDefaultCellStyleName
(
sal_uInt32
nCol
)
const
{
{
OUString
sRet
;
if
(
pColumnDefaultCellStyleNames
&&
nCol
<
pColumnDefaultCellStyleNames
->
size
())
if
(
pColumnDefaultCellStyleNames
)
return
(
*
pColumnDefaultCellStyleNames
)[
static_cast
<
size_t
>
(
nCol
)];
sRet
=
*
(
*
pColumnDefaultCellStyleNames
)[(
sal_uInt16
)
nCol
];
return
sRet
;
return
OUString
()
;
}
}
void
SwXMLTableContext
::
InsertCell
(
const
OUString
&
rStyleName
,
void
SwXMLTableContext
::
InsertCell
(
const
OUString
&
rStyleName
,
...
...
sw/source/filter/xml/xmltbli.hxx
Dosyayı görüntüle @
ffaa6ae1
...
@@ -70,7 +70,7 @@ class SwXMLTableContext : public XMLTextTableContext
...
@@ -70,7 +70,7 @@ class SwXMLTableContext : public XMLTextTableContext
inline
ColumnWidthInfo
(
sal_uInt16
wdth
,
bool
isRel
)
:
width
(
wdth
),
isRelative
(
isRel
)
{};
inline
ColumnWidthInfo
(
sal_uInt16
wdth
,
bool
isRel
)
:
width
(
wdth
),
isRelative
(
isRel
)
{};
};
};
std
::
vector
<
ColumnWidthInfo
>
aColumnWidths
;
std
::
vector
<
ColumnWidthInfo
>
aColumnWidths
;
SvStringsDtor
*
pColumnDefaultCellStyleNames
;
std
::
vector
<
String
>
*
pColumnDefaultCellStyleNames
;
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
text
::
XTextCursor
>
xOldCursor
;
::
com
::
sun
::
star
::
text
::
XTextCursor
>
xOldCursor
;
...
...
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