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
42e9c740
Kaydet (Commit)
42e9c740
authored
Ara 05, 2014
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
loplugin:cstylecast, involving pointer to incomplete type
Change-Id: I4a53ebf42add80bbac2d6698ac5d2950c0a6a067
üst
170dbaf1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
7 deletions
+12
-7
xfparastyle.hxx
lotuswordpro/source/filter/xfilter/xfparastyle.hxx
+1
-1
xfstylemanager.cxx
lotuswordpro/source/filter/xfilter/xfstylemanager.cxx
+11
-6
No files found.
lotuswordpro/source/filter/xfilter/xfparastyle.hxx
Dosyayı görüntüle @
42e9c740
...
...
@@ -66,6 +66,7 @@
#include <rtl/ref.hxx>
#include "xffont.hxx"
#include "xfglobal.hxx"
#include "xfstyle.hxx"
#include "xfcolor.hxx"
...
...
@@ -81,7 +82,6 @@
#define XFPARA_FLAG_DROPCAP 0X00000002
#define XFPARA_FLAG_BACKCOLOR 0X00000004
class
XFFont
;
class
XFBorders
;
class
XFBGImage
;
...
...
lotuswordpro/source/filter/xfilter/xfstylemanager.cxx
Dosyayı görüntüle @
42e9c740
...
...
@@ -57,7 +57,12 @@
* @file
* Style manager for the filter.
************************************************************************/
#include <sal/config.h>
#include <xfparastyle.hxx>
#include "xfstylemanager.hxx"
#include <xftextstyle.hxx>
#include "ixfstyle.hxx"
XFStyleManager
::
XFStyleManager
()
:
s_aStdArrowStyles
(
"arrow"
),
s_aTextStyles
(
"T"
),
...
...
@@ -226,10 +231,10 @@ IXFStyleRet XFStyleManager::AddStyle(IXFStyle *pStyle)
IXFStyle
*
XFStyleManager
::
FindStyle
(
const
OUString
&
name
)
{
IXFStyle
*
pStyle
=
(
IXFStyle
*
)
FindParaStyle
(
name
);
IXFStyle
*
pStyle
=
FindParaStyle
(
name
);
if
(
pStyle
)
return
pStyle
;
pStyle
=
(
IXFStyle
*
)
FindTextStyle
(
name
);
pStyle
=
FindTextStyle
(
name
);
if
(
pStyle
)
return
pStyle
;
pStyle
=
s_aListStyles
.
FindStyle
(
name
);
...
...
@@ -281,18 +286,18 @@ XFParaStyle* XFStyleManager::FindParaStyle(const OUString& name)
{
IXFStyle
*
pStyle
=
s_aParaStyles
.
FindStyle
(
name
);
if
(
pStyle
)
return
(
XFParaStyle
*
)
pStyle
;
return
static_cast
<
XFParaStyle
*>
(
pStyle
)
;
else
return
(
XFParaStyle
*
)
s_aStdParaStyles
.
FindStyle
(
name
);
return
static_cast
<
XFParaStyle
*>
(
s_aStdParaStyles
.
FindStyle
(
name
)
);
}
XFTextStyle
*
XFStyleManager
::
FindTextStyle
(
const
OUString
&
name
)
{
IXFStyle
*
pStyle
=
s_aTextStyles
.
FindStyle
(
name
);
if
(
pStyle
)
return
(
XFTextStyle
*
)
pStyle
;
return
static_cast
<
XFTextStyle
*>
(
pStyle
)
;
else
return
(
XFTextStyle
*
)
s_aStdTextStyles
.
FindStyle
(
name
);
return
static_cast
<
XFTextStyle
*>
(
s_aStdTextStyles
.
FindStyle
(
name
)
);
}
void
XFStyleManager
::
SetLineNumberConfig
(
XFLineNumberConfig
*
pLNConf
)
...
...
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