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
640d0064
Kaydet (Commit)
640d0064
authored
Nis 18, 2012
tarafından
Olivier Hallot
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
More RTL_CONSTASCII_ cleanup
üst
c6ade726
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
18 deletions
+17
-18
drawdoc4.cxx
sd/source/core/drawdoc4.cxx
+1
-2
sdpage.cxx
sd/source/core/sdpage.cxx
+15
-15
sdpage2.cxx
sd/source/core/sdpage2.cxx
+1
-1
No files found.
sd/source/core/drawdoc4.cxx
Dosyayı görüntüle @
640d0064
...
...
@@ -553,7 +553,6 @@ void SdDrawDocument::CreateDefaultCellStyles()
SfxStyleSheetBase
*
pSheet
=
NULL
;
String
aHelpFile
;
//const OUString sFamilyName( RTL_CONSTASCII_USTRINGPARAM( "table" ) );
Reference
<
XNameContainer
>
xTableFamily
(
pSSPool
->
getByName
(
"table"
),
UNO_QUERY
);
// ---- Default -----------------------------------------------
...
...
@@ -635,7 +634,7 @@ void SdDrawDocument::CreateDefaultCellStyles()
Any
aGray2
(
implMakeSolidCellStyle
(
pSSPool
,
"gray2"
,
aDefaultCellStyleName
,
RGB_COLORDATA
(
204
,
204
,
204
)));
Any
aGray3
(
implMakeSolidCellStyle
(
pSSPool
,
"gray3"
,
aDefaultCellStyleName
,
RGB_COLORDATA
(
179
,
179
,
179
)));
implCreateTableTemplate
(
xTableFamily
,
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"default"
)
)
,
aGray1
,
aGray3
,
aGray2
);
implCreateTableTemplate
(
xTableFamily
,
"default"
,
aGray1
,
aGray3
,
aGray2
);
// ---- BW ------------------------------------------------
...
...
sd/source/core/sdpage.cxx
Dosyayı görüntüle @
640d0064
...
...
@@ -2376,7 +2376,7 @@ void SdPage::SetObjText(SdrTextObj* pObj, SdrOutliner* pOutliner, PresObjKind eO
// to inside this method to work even when outliner is fetched here.
pOutl
->
SetStyleSheet
(
0
,
pObj
->
GetStyleSheet
());
String
aString
;
rtl
::
OU
String
aString
;
switch
(
eObjKind
)
{
...
...
@@ -2384,29 +2384,29 @@ void SdPage::SetObjText(SdrTextObj* pObj, SdrOutliner* pOutliner, PresObjKind eO
{
pOutl
->
Init
(
OUTLINERMODE_OUTLINEOBJECT
);
aString
+=
sal_Unicode
(
'\t'
)
;
aString
+=
"
\t
"
;
aString
+=
rString
;
if
(
mbMaster
)
{
pOutl
->
SetStyleSheet
(
0
,
GetStyleSheetForPresObj
(
eObjKind
)
);
aString
+=
String
::
CreateFromAscii
(
RTL_CONSTASCII_STRINGPARAM
(
"
\n\t\t
"
))
;
aString
+=
String
(
SdResId
(
STR_PRESOBJ_MPOUTLLAYER2
)
);
aString
+=
"
\n\t\t
"
;
aString
+=
ResId
::
toString
(
SdResId
(
STR_PRESOBJ_MPOUTLLAYER2
)
);
aString
+=
String
::
CreateFromAscii
(
RTL_CONSTASCII_STRINGPARAM
(
"
\n\t\t\t
"
))
;
aString
+=
String
(
SdResId
(
STR_PRESOBJ_MPOUTLLAYER3
)
);
aString
+=
"
\n\t\t\t
"
;
aString
+=
ResId
::
toString
(
SdResId
(
STR_PRESOBJ_MPOUTLLAYER3
)
);
aString
+=
String
::
CreateFromAscii
(
RTL_CONSTASCII_STRINGPARAM
(
"
\n\t\t\t\t
"
))
;
aString
+=
String
(
SdResId
(
STR_PRESOBJ_MPOUTLLAYER4
)
);
aString
+=
"
\n\t\t\t\t
"
;
aString
+=
ResId
::
toString
(
SdResId
(
STR_PRESOBJ_MPOUTLLAYER4
)
);
aString
+=
String
::
CreateFromAscii
(
RTL_CONSTASCII_STRINGPARAM
(
"
\n\t\t\t\t\t
"
))
;
aString
+=
String
(
SdResId
(
STR_PRESOBJ_MPOUTLLAYER5
)
);
aString
+=
"
\n\t\t\t\t\t
"
;
aString
+=
ResId
::
toString
(
SdResId
(
STR_PRESOBJ_MPOUTLLAYER5
)
);
aString
+=
String
::
CreateFromAscii
(
RTL_CONSTASCII_STRINGPARAM
(
"
\n\t\t\t\t\t\t
"
))
;
aString
+=
String
(
SdResId
(
STR_PRESOBJ_MPOUTLLAYER6
)
);
aString
+=
"
\n\t\t\t\t\t\t
"
;
aString
+=
ResId
::
toString
(
SdResId
(
STR_PRESOBJ_MPOUTLLAYER6
)
);
aString
+=
String
::
CreateFromAscii
(
RTL_CONSTASCII_STRINGPARAM
(
"
\n\t\t\t\t\t\t\t
"
))
;
aString
+=
String
(
SdResId
(
STR_PRESOBJ_MPOUTLLAYER7
)
);
aString
+=
"
\n\t\t\t\t\t\t\t
"
;
aString
+=
ResId
::
toString
(
SdResId
(
STR_PRESOBJ_MPOUTLLAYER7
)
);
}
}
...
...
@@ -2458,7 +2458,7 @@ void SdPage::SetObjText(SdrTextObj* pObj, SdrOutliner* pOutliner, PresObjKind eO
pOutl
->
SetPaperSize
(
pObj
->
GetLogicRect
().
GetSize
()
);
if
(
aString
.
Len
()
)
if
(
!
aString
.
isEmpty
()
)
pOutl
->
SetText
(
aString
,
pOutl
->
GetParagraph
(
0
)
);
(
(
SdrTextObj
*
)
pObj
)
->
SetOutlinerParaObject
(
pOutl
->
CreateParaObject
()
);
...
...
sd/source/core/sdpage2.cxx
Dosyayı görüntüle @
640d0064
...
...
@@ -621,7 +621,7 @@ void SdPage::addAnnotation( const Reference< XAnnotation >& xAnnotation, int nIn
{
pModel
->
SetChanged
();
Reference
<
XInterface
>
xSource
(
xAnnotation
,
UNO_QUERY
);
NotifyDocumentEvent
(
static_cast
<
SdDrawDocument
*
>
(
pModel
),
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"OnAnnotationInserted"
)
)
,
xSource
);
NotifyDocumentEvent
(
static_cast
<
SdDrawDocument
*
>
(
pModel
),
"OnAnnotationInserted"
,
xSource
);
}
}
...
...
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