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
6b25dd2f
Kaydet (Commit)
6b25dd2f
authored
Eki 09, 2013
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
convert sw/source/ui/inc/c*.hxx from String to OUString
Change-Id: I8b8c73a0ba9b1e40549c1832ed6ad5b630d4e620
üst
3acd7ab5
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
73 additions
and
73 deletions
+73
-73
optload.cxx
sw/source/ui/config/optload.cxx
+3
-3
changedb.cxx
sw/source/ui/fldui/changedb.cxx
+4
-4
cption.cxx
sw/source/ui/frmdlg/cption.cxx
+1
-1
caption.hxx
sw/source/ui/inc/caption.hxx
+16
-16
cfgitems.hxx
sw/source/ui/inc/cfgitems.hxx
+1
-1
changedb.hxx
sw/source/ui/inc/changedb.hxx
+1
-1
content.hxx
sw/source/ui/inc/content.hxx
+21
-21
conttree.hxx
sw/source/ui/inc/conttree.hxx
+14
-14
convert.hxx
sw/source/ui/inc/convert.hxx
+1
-1
cption.hxx
sw/source/ui/inc/cption.hxx
+3
-3
viewdlg2.cxx
sw/source/ui/uiview/viewdlg2.cxx
+1
-1
glbltree.cxx
sw/source/ui/utlui/glbltree.cxx
+7
-7
No files found.
sw/source/ui/config/optload.cxx
Dosyayı görüntüle @
6b25dd2f
...
@@ -662,11 +662,11 @@ IMPL_LINK_NOARG(SwCaptionOptPage, ShowEntryHdl)
...
@@ -662,11 +662,11 @@ IMPL_LINK_NOARG(SwCaptionOptPage, ShowEntryHdl)
aCategoryBox
.
InsertSwEntry
(
SwBoxEntry
(
m_sDrawing
));
aCategoryBox
.
InsertSwEntry
(
SwBoxEntry
(
m_sDrawing
));
}
}
if
(
pOpt
->
GetCategory
().
Len
())
if
(
!
pOpt
->
GetCategory
().
isEmpty
())
aCategoryBox
.
SetText
(
pOpt
->
GetCategory
());
aCategoryBox
.
SetText
(
pOpt
->
GetCategory
());
else
else
aCategoryBox
.
SetText
(
m_sNone
);
aCategoryBox
.
SetText
(
m_sNone
);
if
(
pOpt
->
GetCategory
().
Len
()
&&
if
(
!
pOpt
->
GetCategory
().
isEmpty
()
&&
aCategoryBox
.
GetEntryPos
(
OUString
(
pOpt
->
GetCategory
()))
==
COMBOBOX_ENTRY_NOTFOUND
)
aCategoryBox
.
GetEntryPos
(
OUString
(
pOpt
->
GetCategory
()))
==
COMBOBOX_ENTRY_NOTFOUND
)
aCategoryBox
.
InsertEntry
(
pOpt
->
GetCategory
());
aCategoryBox
.
InsertEntry
(
pOpt
->
GetCategory
());
if
(
aCategoryBox
.
GetText
().
isEmpty
())
if
(
aCategoryBox
.
GetText
().
isEmpty
())
...
@@ -716,7 +716,7 @@ IMPL_LINK_NOARG(SwCaptionOptPage, ShowEntryHdl)
...
@@ -716,7 +716,7 @@ IMPL_LINK_NOARG(SwCaptionOptPage, ShowEntryHdl)
aLbLevel
.
SelectEntryPos
(
nLevelPos
);
aLbLevel
.
SelectEntryPos
(
nLevelPos
);
aEdDelim
.
SetText
(
pOpt
->
GetSeparator
());
aEdDelim
.
SetText
(
pOpt
->
GetSeparator
());
aNumberingSeparatorED
.
SetText
(
pOpt
->
GetNumSeparator
()
);
aNumberingSeparatorED
.
SetText
(
pOpt
->
GetNumSeparator
()
);
if
(
pOpt
->
GetCharacterStyle
().
Len
())
if
(
!
pOpt
->
GetCharacterStyle
().
isEmpty
())
aCharStyleLB
.
SelectEntry
(
pOpt
->
GetCharacterStyle
()
);
aCharStyleLB
.
SelectEntry
(
pOpt
->
GetCharacterStyle
()
);
else
else
aCharStyleLB
.
SelectEntryPos
(
0
);
aCharStyleLB
.
SelectEntryPos
(
0
);
...
...
sw/source/ui/fldui/changedb.cxx
Dosyayı görüntüle @
6b25dd2f
...
@@ -134,11 +134,11 @@ void SwChangeDBDlg::FillDBPopup()
...
@@ -134,11 +134,11 @@ void SwChangeDBDlg::FillDBPopup()
}
}
SvTreeListEntry
*
SwChangeDBDlg
::
Insert
(
const
String
&
rDBName
)
SvTreeListEntry
*
SwChangeDBDlg
::
Insert
(
const
OU
String
&
rDBName
)
{
{
String
sDBName
(
rDBName
.
G
etToken
(
0
,
DB_DELIM
));
String
sDBName
(
rDBName
.
g
etToken
(
0
,
DB_DELIM
));
String
sTableName
(
rDBName
.
G
etToken
(
1
,
DB_DELIM
));
String
sTableName
(
rDBName
.
g
etToken
(
1
,
DB_DELIM
));
sal_IntPtr
nCommandType
=
rDBName
.
GetToken
(
2
,
DB_DELIM
).
T
oInt32
();
sal_IntPtr
nCommandType
=
rDBName
.
getToken
(
2
,
DB_DELIM
).
t
oInt32
();
SvTreeListEntry
*
pParent
;
SvTreeListEntry
*
pParent
;
SvTreeListEntry
*
pChild
;
SvTreeListEntry
*
pChild
;
...
...
sw/source/ui/frmdlg/cption.cxx
Dosyayı görüntüle @
6b25dd2f
...
@@ -80,7 +80,7 @@ public:
...
@@ -80,7 +80,7 @@ public:
String
GetCharacterStyle
()
const
;
String
GetCharacterStyle
()
const
;
};
};
String
SwCaptionDialog
::
our_aSepTextSave
=
OUString
(
": "
);
// Caption separator text
OUString
SwCaptionDialog
::
our_aSepTextSave
(
": "
);
// Caption separator text
SwCaptionDialog
::
SwCaptionDialog
(
Window
*
pParent
,
SwView
&
rV
)
:
SwCaptionDialog
::
SwCaptionDialog
(
Window
*
pParent
,
SwView
&
rV
)
:
SvxStandardDialog
(
pParent
,
"InsertCaptionDialog"
,
"modules/swriter/ui/insertcaption.ui"
),
SvxStandardDialog
(
pParent
,
"InsertCaptionDialog"
,
"modules/swriter/ui/insertcaption.ui"
),
...
...
sw/source/ui/inc/caption.hxx
Dosyayı görüntüle @
6b25dd2f
...
@@ -30,14 +30,14 @@ private:
...
@@ -30,14 +30,14 @@ private:
sal_Bool
bUseCaption
;
sal_Bool
bUseCaption
;
SwCapObjType
eObjType
;
SwCapObjType
eObjType
;
SvGlobalName
aOleId
;
SvGlobalName
aOleId
;
String
sCategory
;
OUString
sCategory
;
sal_uInt16
nNumType
;
sal_uInt16
nNumType
;
OUString
sNumberSeparator
;
OUString
sNumberSeparator
;
String
sCaption
;
OUString
sCaption
;
sal_uInt16
nPos
;
sal_uInt16
nPos
;
sal_uInt16
nLevel
;
sal_uInt16
nLevel
;
String
sSeparator
;
OUString
sSeparator
;
String
sCharacterStyle
;
OUString
sCharacterStyle
;
bool
bIgnoreSeqOpts
;
// is not being saved
bool
bIgnoreSeqOpts
;
// is not being saved
sal_Bool
bCopyAttributes
;
// -""-
sal_Bool
bCopyAttributes
;
// -""-
...
@@ -56,8 +56,8 @@ public:
...
@@ -56,8 +56,8 @@ public:
inline
const
SvGlobalName
&
GetOleId
()
const
{
return
aOleId
;
}
inline
const
SvGlobalName
&
GetOleId
()
const
{
return
aOleId
;
}
inline
void
SetOleId
(
const
SvGlobalName
&
rId
)
{
aOleId
=
rId
;
}
inline
void
SetOleId
(
const
SvGlobalName
&
rId
)
{
aOleId
=
rId
;
}
inline
const
String
&
GetCategory
()
const
{
return
sCategory
;
}
inline
const
OUString
&
GetCategory
()
const
{
return
sCategory
;
}
inline
void
SetCategory
(
const
String
&
rCat
)
{
sCategory
=
rCat
;
}
inline
void
SetCategory
(
const
OU
String
&
rCat
)
{
sCategory
=
rCat
;
}
inline
sal_uInt16
GetNumType
()
const
{
return
nNumType
;
}
inline
sal_uInt16
GetNumType
()
const
{
return
nNumType
;
}
inline
void
SetNumType
(
const
sal_uInt16
nNT
)
{
nNumType
=
nNT
;
}
inline
void
SetNumType
(
const
sal_uInt16
nNT
)
{
nNumType
=
nNT
;
}
...
@@ -65,8 +65,8 @@ public:
...
@@ -65,8 +65,8 @@ public:
const
OUString
&
GetNumSeparator
()
const
{
return
sNumberSeparator
;
}
const
OUString
&
GetNumSeparator
()
const
{
return
sNumberSeparator
;
}
void
SetNumSeparator
(
const
OUString
&
rSet
)
{
sNumberSeparator
=
rSet
;}
void
SetNumSeparator
(
const
OUString
&
rSet
)
{
sNumberSeparator
=
rSet
;}
inline
const
String
&
GetCaption
()
const
{
return
sCaption
;
}
inline
const
OUString
&
GetCaption
()
const
{
return
sCaption
;
}
inline
void
SetCaption
(
const
String
&
rCap
)
{
sCaption
=
rCap
;
}
inline
void
SetCaption
(
const
OU
String
&
rCap
)
{
sCaption
=
rCap
;
}
inline
sal_uInt16
GetPos
()
const
{
return
nPos
;
}
inline
sal_uInt16
GetPos
()
const
{
return
nPos
;
}
inline
void
SetPos
(
const
sal_uInt16
nP
)
{
nPos
=
nP
;
}
inline
void
SetPos
(
const
sal_uInt16
nP
)
{
nPos
=
nP
;
}
...
@@ -74,11 +74,11 @@ public:
...
@@ -74,11 +74,11 @@ public:
inline
sal_uInt16
GetLevel
()
const
{
return
nLevel
;
}
inline
sal_uInt16
GetLevel
()
const
{
return
nLevel
;
}
inline
void
SetLevel
(
const
sal_uInt16
nLvl
)
{
nLevel
=
nLvl
;
}
inline
void
SetLevel
(
const
sal_uInt16
nLvl
)
{
nLevel
=
nLvl
;
}
inline
const
String
&
GetSeparator
()
const
{
return
sSeparator
;
}
inline
const
OUString
&
GetSeparator
()
const
{
return
sSeparator
;
}
inline
void
SetSeparator
(
const
String
&
rSep
)
{
sSeparator
=
rSep
;
}
inline
void
SetSeparator
(
const
OU
String
&
rSep
)
{
sSeparator
=
rSep
;
}
const
String
&
GetCharacterStyle
()
const
{
return
sCharacterStyle
;
}
const
OUString
&
GetCharacterStyle
()
const
{
return
sCharacterStyle
;
}
void
SetCharacterStyle
(
const
String
&
rStyle
)
void
SetCharacterStyle
(
const
OU
String
&
rStyle
)
{
sCharacterStyle
=
rStyle
;
}
{
sCharacterStyle
=
rStyle
;
}
inline
bool
&
IgnoreSeqOpts
()
{
return
bIgnoreSeqOpts
;
}
inline
bool
&
IgnoreSeqOpts
()
{
return
bIgnoreSeqOpts
;
}
...
...
sw/source/ui/inc/cfgitems.hxx
Dosyayı görüntüle @
6b25dd2f
...
@@ -136,7 +136,7 @@ public:
...
@@ -136,7 +136,7 @@ public:
virtual
int
operator
==
(
const
SfxPoolItem
&
)
const
;
virtual
int
operator
==
(
const
SfxPoolItem
&
)
const
;
const
OUString
&
GetFax
()
const
{
return
sFaxName
;
}
const
OUString
&
GetFax
()
const
{
return
sFaxName
;
}
void
SetFax
(
const
String
&
rFax
)
{
sFaxName
=
rFax
;
}
void
SetFax
(
const
OU
String
&
rFax
)
{
sFaxName
=
rFax
;
}
sal_Bool
IsPrintProspect
()
const
{
return
bPrintProspect
;
}
sal_Bool
IsPrintProspect
()
const
{
return
bPrintProspect
;
}
...
...
sw/source/ui/inc/changedb.hxx
Dosyayı görüntüle @
6b25dd2f
...
@@ -56,7 +56,7 @@ class SwChangeDBDlg: public SvxStandardDialog
...
@@ -56,7 +56,7 @@ class SwChangeDBDlg: public SvxStandardDialog
virtual
void
Apply
();
virtual
void
Apply
();
void
UpdateFlds
();
void
UpdateFlds
();
void
FillDBPopup
();
void
FillDBPopup
();
SvTreeListEntry
*
Insert
(
const
String
&
rDBName
);
SvTreeListEntry
*
Insert
(
const
OU
String
&
rDBName
);
void
ShowDBName
(
const
SwDBData
&
rDBData
);
void
ShowDBName
(
const
SwDBData
&
rDBData
);
public
:
public
:
...
...
sw/source/ui/inc/content.hxx
Dosyayı görüntüle @
6b25dd2f
...
@@ -58,7 +58,7 @@ class SwOutlineContent : public SwContent
...
@@ -58,7 +58,7 @@ class SwOutlineContent : public SwContent
bool
bIsMoveable
;
bool
bIsMoveable
;
public
:
public
:
SwOutlineContent
(
const
SwContentType
*
pCnt
,
SwOutlineContent
(
const
SwContentType
*
pCnt
,
const
String
&
rName
,
const
OU
String
&
rName
,
sal_uInt16
nArrPos
,
sal_uInt16
nArrPos
,
sal_uInt8
nLevel
,
sal_uInt8
nLevel
,
bool
bMove
,
bool
bMove
,
...
@@ -79,7 +79,7 @@ class SwRegionContent : public SwContent
...
@@ -79,7 +79,7 @@ class SwRegionContent : public SwContent
public
:
public
:
SwRegionContent
(
const
SwContentType
*
pCnt
,
SwRegionContent
(
const
SwContentType
*
pCnt
,
const
String
&
rName
,
const
OU
String
&
rName
,
sal_uInt8
nLevel
,
sal_uInt8
nLevel
,
long
nYPos
)
:
long
nYPos
)
:
SwContent
(
pCnt
,
rName
,
nYPos
),
SwContent
(
pCnt
,
rName
,
nYPos
),
...
@@ -90,20 +90,20 @@ class SwRegionContent : public SwContent
...
@@ -90,20 +90,20 @@ class SwRegionContent : public SwContent
class
SwURLFieldContent
:
public
SwContent
class
SwURLFieldContent
:
public
SwContent
{
{
String
sURL
;
OU
String
sURL
;
const
SwTxtINetFmt
*
pINetAttr
;
const
SwTxtINetFmt
*
pINetAttr
;
public
:
public
:
SwURLFieldContent
(
const
SwContentType
*
pCnt
,
SwURLFieldContent
(
const
SwContentType
*
pCnt
,
const
String
&
rName
,
const
OU
String
&
rName
,
const
String
&
rURL
,
const
OU
String
&
rURL
,
const
SwTxtINetFmt
*
pAttr
,
const
SwTxtINetFmt
*
pAttr
,
long
nYPos
)
long
nYPos
)
:
SwContent
(
pCnt
,
rName
,
nYPos
),
sURL
(
rURL
),
pINetAttr
(
pAttr
)
:
SwContent
(
pCnt
,
rName
,
nYPos
),
sURL
(
rURL
),
pINetAttr
(
pAttr
)
{}
{}
virtual
sal_Bool
IsProtect
()
const
;
virtual
sal_Bool
IsProtect
()
const
;
const
String
&
GetURL
()
{
return
sURL
;
}
const
OUString
&
GetURL
()
{
return
sURL
;
}
const
SwTxtINetFmt
*
GetINetAttr
()
{
return
pINetAttr
;
}
const
SwTxtINetFmt
*
GetINetAttr
()
{
return
pINetAttr
;
}
};
};
...
@@ -115,13 +115,13 @@ class SwPostItContent : public SwContent
...
@@ -115,13 +115,13 @@ class SwPostItContent : public SwContent
bool
mbPostIt
;
bool
mbPostIt
;
public
:
public
:
SwPostItContent
(
const
SwContentType
*
pCnt
,
SwPostItContent
(
const
SwContentType
*
pCnt
,
const
String
&
rName
,
const
OU
String
&
rName
,
const
SwFmtFld
*
pField
,
const
SwFmtFld
*
pField
,
long
nYPos
)
long
nYPos
)
:
SwContent
(
pCnt
,
rName
,
nYPos
),
pFld
(
pField
),
mbPostIt
(
true
)
:
SwContent
(
pCnt
,
rName
,
nYPos
),
pFld
(
pField
),
mbPostIt
(
true
)
{}
{}
SwPostItContent
(
const
SwContentType
*
pCnt
,
SwPostItContent
(
const
SwContentType
*
pCnt
,
const
String
&
rName
,
const
OU
String
&
rName
,
SwRedline
*
pRed
,
SwRedline
*
pRed
,
long
nYPos
)
long
nYPos
)
:
SwContent
(
pCnt
,
rName
,
nYPos
),
pRedline
(
pRed
),
mbPostIt
(
false
)
:
SwContent
(
pCnt
,
rName
,
nYPos
),
pRedline
(
pRed
),
mbPostIt
(
false
)
...
@@ -137,14 +137,14 @@ public:
...
@@ -137,14 +137,14 @@ public:
class
SwGraphicContent
:
public
SwContent
class
SwGraphicContent
:
public
SwContent
{
{
String
sLink
;
OU
String
sLink
;
public
:
public
:
SwGraphicContent
(
const
SwContentType
*
pCnt
,
const
String
&
rName
,
const
String
&
rLink
,
long
nYPos
)
SwGraphicContent
(
const
SwContentType
*
pCnt
,
const
OUString
&
rName
,
const
OU
String
&
rLink
,
long
nYPos
)
:
SwContent
(
pCnt
,
rName
,
nYPos
),
sLink
(
rLink
)
:
SwContent
(
pCnt
,
rName
,
nYPos
),
sLink
(
rLink
)
{}
{}
virtual
~
SwGraphicContent
();
virtual
~
SwGraphicContent
();
const
String
&
GetLink
()
const
{
return
sLink
;}
const
OU
String
&
GetLink
()
const
{
return
sLink
;}
};
};
//----------------------------------------------------------------------------
//----------------------------------------------------------------------------
...
@@ -152,7 +152,7 @@ class SwTOXBaseContent : public SwContent
...
@@ -152,7 +152,7 @@ class SwTOXBaseContent : public SwContent
{
{
const
SwTOXBase
*
pBase
;
const
SwTOXBase
*
pBase
;
public
:
public
:
SwTOXBaseContent
(
const
SwContentType
*
pCnt
,
const
String
&
rName
,
long
nYPos
,
const
SwTOXBase
&
rBase
)
SwTOXBaseContent
(
const
SwContentType
*
pCnt
,
const
OU
String
&
rName
,
long
nYPos
,
const
SwTOXBase
&
rBase
)
:
SwContent
(
pCnt
,
rName
,
nYPos
),
pBase
(
&
rBase
)
:
SwContent
(
pCnt
,
rName
,
nYPos
),
pBase
(
&
rBase
)
{}
{}
virtual
~
SwTOXBaseContent
();
virtual
~
SwTOXBaseContent
();
...
@@ -171,12 +171,12 @@ class SwContentType : public SwTypeNumber
...
@@ -171,12 +171,12 @@ class SwContentType : public SwTypeNumber
{
{
SwWrtShell
*
pWrtShell
;
SwWrtShell
*
pWrtShell
;
SwContentArr
*
pMember
;
// array for content
SwContentArr
*
pMember
;
// array for content
String
sContentTypeName
;
// name of content type
OUString
sContentTypeName
;
// name of content type
String
sSingleContentTypeName
;
// name of content type, singular
OUString
sSingleContentTypeName
;
// name of content type, singular
String
sTypeToken
;
// attachment for URL
OUString
sTypeToken
;
// attachment for URL
sal_uInt16
nMemberCount
;
// content count
sal_uInt16
nMemberCount
;
// content count
sal_uInt16
nContentType
;
// content type's Id
sal_uInt16
nContentType
;
// content type's Id
sal_uInt8
nOutlineLevel
;
sal_uInt8
nOutlineLevel
;
bool
bDataValid
:
1
;
//
bool
bDataValid
:
1
;
//
bool
bEdit
:
1
;
// can this type be edited?
bool
bEdit
:
1
;
// can this type be edited?
bool
bDelete
:
1
;
// can this type be deleted?
bool
bDelete
:
1
;
// can this type be deleted?
...
@@ -192,9 +192,9 @@ public:
...
@@ -192,9 +192,9 @@ public:
{
return
nMemberCount
;};
{
return
nMemberCount
;};
sal_uInt16
GetType
()
const
{
return
nContentType
;}
sal_uInt16
GetType
()
const
{
return
nContentType
;}
const
SwContent
*
GetMember
(
sal_uInt16
nIndex
);
const
SwContent
*
GetMember
(
sal_uInt16
nIndex
);
const
String
&
GetName
()
{
return
sContentTypeName
;}
const
OUString
&
GetName
()
{
return
sContentTypeName
;}
const
String
&
GetSingleName
()
const
{
return
sSingleContentTypeName
;}
const
OUString
&
GetSingleName
()
const
{
return
sSingleContentTypeName
;}
const
String
&
GetTypeToken
()
const
{
return
sTypeToken
;}
const
OUString
&
GetTypeToken
()
const
{
return
sTypeToken
;}
void
SetOutlineLevel
(
sal_uInt8
nNew
)
void
SetOutlineLevel
(
sal_uInt8
nNew
)
{
{
...
...
sw/source/ui/inc/conttree.hxx
Dosyayı görüntüle @
6b25dd2f
...
@@ -49,21 +49,21 @@ class SfxObjectShell;
...
@@ -49,21 +49,21 @@ class SfxObjectShell;
class
SwContentTree
:
public
SvTreeListBox
class
SwContentTree
:
public
SvTreeListBox
{
{
ImageList
aEntryImages
;
ImageList
aEntryImages
;
String
sSpace
;
OUString
sSpace
;
AutoTimer
aUpdTimer
;
AutoTimer
aUpdTimer
;
SwContentType
*
aActiveContentArr
[
CONTENT_TYPE_MAX
];
SwContentType
*
aActiveContentArr
[
CONTENT_TYPE_MAX
];
SwContentType
*
aHiddenContentArr
[
CONTENT_TYPE_MAX
];
SwContentType
*
aHiddenContentArr
[
CONTENT_TYPE_MAX
];
String
aContextStrings
[
CONTEXT_COUNT
+
1
];
OUString
aContextStrings
[
CONTEXT_COUNT
+
1
];
String
sRemoveIdx
;
OUString
sRemoveIdx
;
String
sUpdateIdx
;
OUString
sUpdateIdx
;
String
sUnprotTbl
;
OUString
sUnprotTbl
;
String
sRename
;
OUString
sRename
;
String
sReadonlyIdx
;
OUString
sReadonlyIdx
;
String
sInvisible
;
OUString
sInvisible
;
String
sPostItShow
;
OUString
sPostItShow
;
String
sPostItHide
;
OUString
sPostItHide
;
String
sPostItDelete
;
OUString
sPostItDelete
;
SwWrtShell
*
pHiddenShell
;
// dropped Doc
SwWrtShell
*
pHiddenShell
;
// dropped Doc
SwWrtShell
*
pActiveShell
;
// the active or a const. open view
SwWrtShell
*
pActiveShell
;
// the active or a const. open view
...
@@ -207,7 +207,7 @@ class SwLBoxString : public SvLBoxString
...
@@ -207,7 +207,7 @@ class SwLBoxString : public SvLBoxString
public
:
public
:
SwLBoxString
(
SvTreeListEntry
*
pEntry
,
sal_uInt16
nFlags
,
SwLBoxString
(
SvTreeListEntry
*
pEntry
,
sal_uInt16
nFlags
,
const
String
&
rStr
)
:
SvLBoxString
(
pEntry
,
nFlags
,
rStr
)
const
OU
String
&
rStr
)
:
SvLBoxString
(
pEntry
,
nFlags
,
rStr
)
{
{
}
}
...
@@ -223,7 +223,7 @@ class SwGlobalTree : public SvTreeListBox
...
@@ -223,7 +223,7 @@ class SwGlobalTree : public SvTreeListBox
{
{
private
:
private
:
AutoTimer
aUpdateTimer
;
AutoTimer
aUpdateTimer
;
String
aContextStrings
[
GLOBAL_CONTEXT_COUNT
];
OUString
aContextStrings
[
GLOBAL_CONTEXT_COUNT
];
ImageList
aEntryImages
;
ImageList
aEntryImages
;
...
@@ -313,7 +313,7 @@ public:
...
@@ -313,7 +313,7 @@ public:
void
TbxMenuHdl
(
sal_uInt16
nTbxId
,
ToolBox
*
pBox
);
void
TbxMenuHdl
(
sal_uInt16
nTbxId
,
ToolBox
*
pBox
);
void
InsertRegion
(
const
SwGlblDocContent
*
pCont
,
void
InsertRegion
(
const
SwGlblDocContent
*
pCont
,
const
String
*
pFileName
=
0
);
const
OU
String
*
pFileName
=
0
);
void
EditContent
(
const
SwGlblDocContent
*
pCont
);
void
EditContent
(
const
SwGlblDocContent
*
pCont
);
void
ShowTree
();
void
ShowTree
();
...
...
sw/source/ui/inc/convert.hxx
Dosyayı görüntüle @
6b25dd2f
...
@@ -51,7 +51,7 @@ class SwConvertTableDlg: public SfxModalDialog
...
@@ -51,7 +51,7 @@ class SwConvertTableDlg: public SfxModalDialog
CheckBox
*
mpBorderCB
;
CheckBox
*
mpBorderCB
;
PushButton
*
mpAutoFmtBtn
;
PushButton
*
mpAutoFmtBtn
;
String
sConvertTextTable
;
OUString
sConvertTextTable
;
SwTableAutoFmt
*
pTAutoFmt
;
SwTableAutoFmt
*
pTAutoFmt
;
SwWrtShell
*
pShell
;
SwWrtShell
*
pShell
;
...
...
sw/source/ui/inc/cption.hxx
Dosyayı görüntüle @
6b25dd2f
...
@@ -85,8 +85,8 @@ class SwCaptionDialog : public SvxStandardDialog
...
@@ -85,8 +85,8 @@ class SwCaptionDialog : public SvxStandardDialog
SwFldMgr
*
pMgr
;
// pointer to save the include
SwFldMgr
*
pMgr
;
// pointer to save the include
SelectionType
eType
;
SelectionType
eType
;
String
sCharacterStyle
;
OUString
sCharacterStyle
;
String
sObjectName
;
OUString
sObjectName
;
bool
bCopyAttributes
;
bool
bCopyAttributes
;
bool
bOrderNumberingFirst
;
//#i61007# order of captions
bool
bOrderNumberingFirst
;
//#i61007# order of captions
...
@@ -104,7 +104,7 @@ class SwCaptionDialog : public SvxStandardDialog
...
@@ -104,7 +104,7 @@ class SwCaptionDialog : public SvxStandardDialog
void
CheckButtonWidth
();
void
CheckButtonWidth
();
void
ApplyCaptionOrder
();
//#i61007# order of captions
void
ApplyCaptionOrder
();
//#i61007# order of captions
static
String
our_aSepTextSave
;
// Save caption separator text
static
OU
String
our_aSepTextSave
;
// Save caption separator text
public
:
public
:
SwCaptionDialog
(
Window
*
pParent
,
SwView
&
rV
);
SwCaptionDialog
(
Window
*
pParent
,
SwView
&
rV
);
~
SwCaptionDialog
();
~
SwCaptionDialog
();
...
...
sw/source/ui/uiview/viewdlg2.cxx
Dosyayı görüntüle @
6b25dd2f
...
@@ -167,7 +167,7 @@ void SwView::InsertCaption(const InsCaptionOpt *pOpt)
...
@@ -167,7 +167,7 @@ void SwView::InsertCaption(const InsCaptionOpt *pOpt)
GetWrtShell
().
InsertLabel
(
eT
,
GetWrtShell
().
InsertLabel
(
eT
,
pOpt
->
GetCaption
(),
pOpt
->
GetCaption
(),
!
pOpt
->
IgnoreSeqOpts
()
?
aEmptyStr
:
pOpt
->
GetSeparator
(),
!
pOpt
->
IgnoreSeqOpts
()
?
aEmpty
OU
Str
:
pOpt
->
GetSeparator
(),
pOpt
->
GetNumSeparator
(),
pOpt
->
GetNumSeparator
(),
!
pOpt
->
GetPos
(),
!
pOpt
->
GetPos
(),
nID
,
nID
,
...
...
sw/source/ui/utlui/glbltree.cxx
Dosyayı görüntüle @
6b25dd2f
...
@@ -206,7 +206,7 @@ sal_Int8 SwGlobalTree::ExecuteDrop( const ExecuteDropEvent& rEvt )
...
@@ -206,7 +206,7 @@ sal_Int8 SwGlobalTree::ExecuteDrop( const ExecuteDropEvent& rEvt )
{
{
TransferableDataHelper
aData
(
rEvt
.
maDropEvent
.
Transferable
);
TransferableDataHelper
aData
(
rEvt
.
maDropEvent
.
Transferable
);
String
sFileName
;
OU
String
sFileName
;
const
SwGlblDocContent
*
pCnt
=
pDropEntry
?
const
SwGlblDocContent
*
pCnt
=
pDropEntry
?
(
const
SwGlblDocContent
*
)
pDropEntry
->
GetUserData
()
:
(
const
SwGlblDocContent
*
)
pDropEntry
->
GetUserData
()
:
0
;
0
;
...
@@ -243,8 +243,8 @@ sal_Int8 SwGlobalTree::ExecuteDrop( const ExecuteDropEvent& rEvt )
...
@@ -243,8 +243,8 @@ sal_Int8 SwGlobalTree::ExecuteDrop( const ExecuteDropEvent& rEvt )
}
}
delete
pTempContents
;
delete
pTempContents
;
}
}
else
if
(
0
!=
(
sFileName
=
else
if
(
!
(
sFileName
=
SwNavigationPI
::
CreateDropFileName
(
aData
)).
Len
())
SwNavigationPI
::
CreateDropFileName
(
aData
)).
isEmpty
())
{
{
INetURLObject
aTemp
(
sFileName
);
INetURLObject
aTemp
(
sFileName
);
GraphicDescriptor
aDesc
(
aTemp
);
GraphicDescriptor
aDesc
(
aTemp
);
...
@@ -704,7 +704,7 @@ void SwGlobalTree::Display(bool bOnlyUpdateUserData)
...
@@ -704,7 +704,7 @@ void SwGlobalTree::Display(bool bOnlyUpdateUserData)
}
}
}
}
void
SwGlobalTree
::
InsertRegion
(
const
SwGlblDocContent
*
pCont
,
const
String
*
pFileName
)
void
SwGlobalTree
::
InsertRegion
(
const
SwGlblDocContent
*
pCont
,
const
OU
String
*
pFileName
)
{
{
Sequence
<
OUString
>
aFileNames
;
Sequence
<
OUString
>
aFileNames
;
if
(
!
pFileName
)
if
(
!
pFileName
)
...
@@ -716,7 +716,7 @@ void SwGlobalTree::InsertRegion( const SwGlblDocContent* pCont, const String* pF
...
@@ -716,7 +716,7 @@ void SwGlobalTree::InsertRegion( const SwGlblDocContent* pCont, const String* pF
OUString
(
"swriter"
),
true
);
OUString
(
"swriter"
),
true
);
pDocInserter
->
StartExecuteModal
(
LINK
(
this
,
SwGlobalTree
,
DialogClosedHdl
)
);
pDocInserter
->
StartExecuteModal
(
LINK
(
this
,
SwGlobalTree
,
DialogClosedHdl
)
);
}
}
else
if
(
pFileName
->
Len
()
)
else
if
(
!
pFileName
->
isEmpty
()
)
{
{
aFileNames
.
realloc
(
1
);
aFileNames
.
realloc
(
1
);
INetURLObject
aFileName
;
INetURLObject
aFileName
;
...
@@ -929,10 +929,10 @@ void SwGlobalTree::ExcecuteContextMenuAction( sal_uInt16 nSelectedPopupEntry
...
@@ -929,10 +929,10 @@ void SwGlobalTree::ExcecuteContextMenuAction( sal_uInt16 nSelectedPopupEntry
SID_SAVEASDOC
,
SFX_CALLMODE_SYNCHRON
);
SID_SAVEASDOC
,
SFX_CALLMODE_SYNCHRON
);
SfxObjectShell
&
rObj
=
*
pFrame
->
GetObjectShell
();
SfxObjectShell
&
rObj
=
*
pFrame
->
GetObjectShell
();
const
SfxMedium
*
pMedium
=
rObj
.
GetMedium
();
const
SfxMedium
*
pMedium
=
rObj
.
GetMedium
();
String
sNewFile
(
pMedium
->
GetURLObject
().
GetMainURL
(
INetURLObject
::
DECODE_TO_IURI
));
OU
String
sNewFile
(
pMedium
->
GetURLObject
().
GetMainURL
(
INetURLObject
::
DECODE_TO_IURI
));
// Insert the area with the Doc-Name
// Insert the area with the Doc-Name
// Bring the own Doc in the foreground
// Bring the own Doc in the foreground
if
(
aFrmListener
.
IsValid
()
&&
sNewFile
.
Len
())
if
(
aFrmListener
.
IsValid
()
&&
!
sNewFile
.
isEmpty
())
{
{
pGlobFrm
->
ToTop
();
pGlobFrm
->
ToTop
();
// Due to the update the entries are invalid
// Due to the update the entries are invalid
...
...
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