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
2f88f0ad
Kaydet (Commit)
2f88f0ad
authored
Kas 06, 2015
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
loplugin:stringconstant: elide explicit ctor usage (automatic rewrite)
Change-Id: I72d11153ffccc51633aec78c802822173dd7f5ed
üst
b183742d
Hide whitespace changes
Inline
Side-by-side
Showing
40 changed files
with
138 additions
and
138 deletions
+138
-138
_contdlg.cxx
svx/source/dialog/_contdlg.cxx
+2
-2
compressgraphicdialog.cxx
svx/source/dialog/compressgraphicdialog.cxx
+2
-2
imapdlg.cxx
svx/source/dialog/imapdlg.cxx
+2
-2
rubydialog.cxx
svx/source/dialog/rubydialog.cxx
+1
-1
swframeexample.cxx
svx/source/dialog/swframeexample.cxx
+2
-2
dbaexchange.cxx
svx/source/fmcomp/dbaexchange.cxx
+2
-2
dbaobjectex.cxx
svx/source/fmcomp/dbaobjectex.cxx
+2
-2
xmlexchg.cxx
svx/source/fmcomp/xmlexchg.cxx
+1
-1
databaselocationinput.cxx
svx/source/form/databaselocationinput.cxx
+1
-1
datanavi.cxx
svx/source/form/datanavi.cxx
+1
-1
filtnav.cxx
svx/source/form/filtnav.cxx
+1
-1
fmexch.cxx
svx/source/form/fmexch.cxx
+3
-3
fmshell.cxx
svx/source/form/fmshell.cxx
+2
-2
tbxform.cxx
svx/source/form/tbxform.cxx
+1
-1
xfm_addcondition.cxx
svx/source/form/xfm_addcondition.cxx
+4
-4
galmisc.cxx
svx/source/gallery2/galmisc.cxx
+3
-3
galtheme.cxx
svx/source/gallery2/galtheme.cxx
+2
-2
clipboardctl.cxx
svx/source/mnuctrls/clipboardctl.cxx
+2
-2
AreaPropertyPanelBase.cxx
svx/source/sidebar/area/AreaPropertyPanelBase.cxx
+4
-4
GraphicPropertyPanel.cxx
svx/source/sidebar/graphic/GraphicPropertyPanel.cxx
+5
-5
LinePropertyPanelBase.cxx
svx/source/sidebar/line/LinePropertyPanelBase.cxx
+6
-6
nbdtmg.cxx
svx/source/sidebar/nbdtmg.cxx
+9
-9
modctrl.cxx
svx/source/stbctrls/modctrl.cxx
+1
-1
pszctrl.cxx
svx/source/stbctrls/pszctrl.cxx
+4
-4
svdibrow.cxx
svx/source/svdraw/svdibrow.cxx
+11
-11
fillctrl.cxx
svx/source/tbxctrls/fillctrl.cxx
+8
-8
fontworkgallery.cxx
svx/source/tbxctrls/fontworkgallery.cxx
+1
-1
formatpaintbrushctrl.cxx
svx/source/tbxctrls/formatpaintbrushctrl.cxx
+1
-1
grafctrl.cxx
svx/source/tbxctrls/grafctrl.cxx
+2
-2
itemwin.cxx
svx/source/tbxctrls/itemwin.cxx
+4
-4
lboxctrl.cxx
svx/source/tbxctrls/lboxctrl.cxx
+2
-2
linectrl.cxx
svx/source/tbxctrls/linectrl.cxx
+5
-5
tbcontrl.cxx
svx/source/tbxctrls/tbcontrl.cxx
+22
-22
tbunocontroller.cxx
svx/source/tbxctrls/tbunocontroller.cxx
+1
-1
verttexttbxctrl.cxx
svx/source/tbxctrls/verttexttbxctrl.cxx
+2
-2
tableshape.cxx
svx/source/unodraw/tableshape.cxx
+1
-1
unoprov.cxx
svx/source/unodraw/unoprov.cxx
+1
-1
unoshap4.cxx
svx/source/unodraw/unoshap4.cxx
+7
-7
xmlxtimp.cxx
svx/source/xml/xmlxtimp.cxx
+6
-6
pixelctl.cxx
svx/workben/pixelctl.cxx
+1
-1
No files found.
svx/source/dialog/_contdlg.cxx
Dosyayı görüntüle @
2f88f0ad
...
...
@@ -277,8 +277,8 @@ SvxSuperContourDlg::SvxSuperContourDlg(SfxBindings *_pBindings, SfxChildWindow *
SetMinOutputSizePixel
(
aLastSize
=
GetOutputSizePixel
()
);
m_pStbStatus
->
InsertItem
(
1
,
130
,
SIB_LEFT
|
SIB_IN
|
SIB_AUTOSIZE
);
m_pStbStatus
->
InsertItem
(
2
,
10
+
GetTextWidth
(
OUString
(
" 9999,99 cm / 9999,99 cm "
)
)
);
m_pStbStatus
->
InsertItem
(
3
,
10
+
GetTextWidth
(
OUString
(
" 9999,99 cm x 9999,99 cm "
)
)
);
m_pStbStatus
->
InsertItem
(
2
,
10
+
GetTextWidth
(
" 9999,99 cm / 9999,99 cm "
)
);
m_pStbStatus
->
InsertItem
(
3
,
10
+
GetTextWidth
(
" 9999,99 cm x 9999,99 cm "
)
);
m_pStbStatus
->
InsertItem
(
4
,
20
);
Resize
();
...
...
svx/source/dialog/compressgraphicdialog.cxx
Dosyayı görüntüle @
2f88f0ad
...
...
@@ -108,7 +108,7 @@ void CompressGraphicsDialog::Initialize()
get
(
m_pBtnCalculate
,
"calculate"
);
get
(
m_pInterpolationCombo
,
"interpolation-method-combo"
);
m_pInterpolationCombo
->
SelectEntry
(
OUString
(
"Lanczos"
)
);
m_pInterpolationCombo
->
SelectEntry
(
"Lanczos"
);
m_pMFNewWidth
->
SetModifyHdl
(
LINK
(
this
,
CompressGraphicsDialog
,
NewWidthModifiedHdl
));
m_pMFNewHeight
->
SetModifyHdl
(
LINK
(
this
,
CompressGraphicsDialog
,
NewHeightModifiedHdl
));
...
...
@@ -283,7 +283,7 @@ void CompressGraphicsDialog::Compress(SvStream& aStream)
OUString
aGraphicFormatName
=
m_pLosslessRB
->
IsChecked
()
?
OUString
(
"png"
)
:
OUString
(
"jpg"
);
sal_uInt16
nFilterFormat
=
rFilter
.
GetExportFormatNumberForShortName
(
aGraphicFormatName
);
rFilter
.
ExportGraphic
(
aScaledGraphic
,
OUString
(
"none"
)
,
aStream
,
nFilterFormat
,
&
aFilterData
);
rFilter
.
ExportGraphic
(
aScaledGraphic
,
"none"
,
aStream
,
nFilterFormat
,
&
aFilterData
);
}
IMPL_LINK_NOARG_TYPED
(
CompressGraphicsDialog
,
NewWidthModifiedHdl
,
Edit
&
,
void
)
...
...
svx/source/dialog/imapdlg.cxx
Dosyayı görüntüle @
2f88f0ad
...
...
@@ -192,8 +192,8 @@ SvxIMapDlg::SvxIMapDlg(SfxBindings *_pBindings, SfxChildWindow *pCW, vcl::Window
SetMinOutputSizePixel
(
aLastSize
=
GetOutputSizePixel
()
);
m_pStbStatus
->
InsertItem
(
1
,
130
,
SIB_LEFT
|
SIB_IN
|
SIB_AUTOSIZE
);
m_pStbStatus
->
InsertItem
(
2
,
10
+
GetTextWidth
(
OUString
(
" 9999,99 cm / 9999,99 cm "
)
)
);
m_pStbStatus
->
InsertItem
(
3
,
10
+
GetTextWidth
(
OUString
(
" 9999,99 cm x 9999,99 cm "
)
)
);
m_pStbStatus
->
InsertItem
(
2
,
10
+
GetTextWidth
(
" 9999,99 cm / 9999,99 cm "
)
);
m_pStbStatus
->
InsertItem
(
3
,
10
+
GetTextWidth
(
" 9999,99 cm x 9999,99 cm "
)
);
m_pFtURL
->
Disable
();
m_pURLBox
->
Disable
();
...
...
svx/source/dialog/rubydialog.cxx
Dosyayı görüntüle @
2f88f0ad
...
...
@@ -881,7 +881,7 @@ void RubyPreview::Paint(vcl::RenderContext& rRenderContext, const Rectangle& /*r
break
;
case
RubyAdjust_INDENT_BLOCK
:
{
long
nCharWidth
=
GetTextWidth
(
OUString
(
"X"
)
);
long
nCharWidth
=
GetTextWidth
(
"X"
);
if
(
nOutTextWidth
<
(
nRightEnd
-
nLeftStart
-
nCharWidth
))
{
nCharWidth
/=
2
;
...
...
svx/source/dialog/swframeexample.cxx
Dosyayı görüntüle @
2f88f0ad
...
...
@@ -177,7 +177,7 @@ void SvxSwFrameExample::InitAllRects_Impl(vcl::RenderContext& rRenderContext)
{
aFont
.
SetSize
(
Size
(
0
,
aParaPrtArea
.
GetHeight
()
-
2
));
SetFont
(
aFont
);
aParaPrtArea
.
SetSize
(
Size
(
GetTextWidth
(
OUString
(
DEMOTEXT
)
),
GetTextHeight
()));
aParaPrtArea
.
SetSize
(
Size
(
GetTextWidth
(
DEMOTEXT
),
GetTextHeight
()));
}
else
{
...
...
@@ -223,7 +223,7 @@ void SvxSwFrameExample::InitAllRects_Impl(vcl::RenderContext& rRenderContext)
}
else
{
sal_uIntPtr
nFreeWidth
=
aPagePrtArea
.
GetWidth
()
-
GetTextWidth
(
OUString
(
DEMOTEXT
)
);
sal_uIntPtr
nFreeWidth
=
aPagePrtArea
.
GetWidth
()
-
GetTextWidth
(
DEMOTEXT
);
aFrmSize
=
Size
(
nFreeWidth
/
2
,
(
aTextLine
.
GetHeight
()
+
2
)
*
3
);
aDrawObj
.
SetSize
(
Size
(
std
::
max
(
5L
,
(
long
)
nFreeWidth
/
3L
),
std
::
max
(
5L
,
aFrmSize
.
Height
()
*
3L
)));
...
...
svx/source/fmcomp/dbaexchange.cxx
Dosyayı görüntüle @
2f88f0ad
...
...
@@ -154,7 +154,7 @@ namespace svx
static
SotClipboardFormatId
s_nFormat
=
static_cast
<
SotClipboardFormatId
>
(
-
1
);
if
(
static_cast
<
SotClipboardFormatId
>
(
-
1
)
==
s_nFormat
)
{
s_nFormat
=
SotExchange
::
RegisterFormatName
(
OUString
(
"application/x-openoffice;windows_formatname=
\"
dbaccess.ColumnDescriptorTransfer
\"
"
)
);
s_nFormat
=
SotExchange
::
RegisterFormatName
(
"application/x-openoffice;windows_formatname=
\"
dbaccess.ColumnDescriptorTransfer
\"
"
);
OSL_ENSURE
(
static_cast
<
SotClipboardFormatId
>
(
-
1
)
!=
s_nFormat
,
"OColumnTransferable::getDescriptorFormatId: bad exchange id!"
);
}
return
s_nFormat
;
...
...
@@ -616,7 +616,7 @@ namespace svx
static
SotClipboardFormatId
s_nFormat
=
static_cast
<
SotClipboardFormatId
>
(
-
1
);
if
(
static_cast
<
SotClipboardFormatId
>
(
-
1
)
==
s_nFormat
)
{
s_nFormat
=
SotExchange
::
RegisterFormatName
(
OUString
(
"application/x-openoffice;windows_formatname=
\"
dbaccess.MultipleColumnDescriptorTransfer
\"
"
)
);
s_nFormat
=
SotExchange
::
RegisterFormatName
(
"application/x-openoffice;windows_formatname=
\"
dbaccess.MultipleColumnDescriptorTransfer
\"
"
);
OSL_ENSURE
(
static_cast
<
SotClipboardFormatId
>
(
-
1
)
!=
s_nFormat
,
"OColumnTransferable::getDescriptorFormatId: bad exchange id!"
);
}
return
s_nFormat
;
...
...
svx/source/fmcomp/dbaobjectex.cxx
Dosyayı görüntüle @
2f88f0ad
...
...
@@ -58,12 +58,12 @@ namespace svx
static
SotClipboardFormatId
s_nFormFormat
=
static_cast
<
SotClipboardFormatId
>
(
-
1
);
if
(
_bExtractForm
&&
static_cast
<
SotClipboardFormatId
>
(
-
1
)
==
s_nFormFormat
)
{
s_nFormFormat
=
SotExchange
::
RegisterFormatName
(
OUString
(
"application/x-openoffice;windows_formatname=
\"
dbaccess.FormComponentDescriptorTransfer
\"
"
)
);
s_nFormFormat
=
SotExchange
::
RegisterFormatName
(
"application/x-openoffice;windows_formatname=
\"
dbaccess.FormComponentDescriptorTransfer
\"
"
);
OSL_ENSURE
(
static_cast
<
SotClipboardFormatId
>
(
-
1
)
!=
s_nFormFormat
,
"OComponentTransferable::getDescriptorFormatId: bad exchange id!"
);
}
else
if
(
!
_bExtractForm
&&
static_cast
<
SotClipboardFormatId
>
(
-
1
)
==
s_nReportFormat
)
{
s_nReportFormat
=
SotExchange
::
RegisterFormatName
(
OUString
(
"application/x-openoffice;windows_formatname=
\"
dbaccess.ReportComponentDescriptorTransfer
\"
"
)
);
s_nReportFormat
=
SotExchange
::
RegisterFormatName
(
"application/x-openoffice;windows_formatname=
\"
dbaccess.ReportComponentDescriptorTransfer
\"
"
);
OSL_ENSURE
(
static_cast
<
SotClipboardFormatId
>
(
-
1
)
!=
s_nReportFormat
,
"OComponentTransferable::getDescriptorFormatId: bad exchange id!"
);
}
return
_bExtractForm
?
s_nFormFormat
:
s_nReportFormat
;
...
...
svx/source/fmcomp/xmlexchg.cxx
Dosyayı görüntüle @
2f88f0ad
...
...
@@ -42,7 +42,7 @@ namespace svx
const
SotClipboardFormatId
nFormatId
=
SotExchange
::
GetFormat
(
_rFlavor
);
if
(
SotClipboardFormatId
::
XFORMS
==
nFormatId
)
{
return
SetString
(
OUString
(
"XForms-Transferable"
)
,
_rFlavor
);
return
SetString
(
"XForms-Transferable"
,
_rFlavor
);
}
return
false
;
}
...
...
svx/source/form/databaselocationinput.cxx
Dosyayı görüntüle @
2f88f0ad
...
...
@@ -159,7 +159,7 @@ namespace svx
::
utl
::
OConfigurationTreeRoot
aConfig
(
::
utl
::
OConfigurationTreeRoot
::
createWithComponentContext
(
m_xContext
,
OUString
(
"/org.openoffice.Setup/Office/Factories/com.sun.star.sdb.OfficeDatabaseDocument"
)
"/org.openoffice.Setup/Office/Factories/com.sun.star.sdb.OfficeDatabaseDocument"
)
);
OUString
sDatabaseFilter
;
OSL_VERIFY
(
aConfig
.
getNodeValue
(
"ooSetupFactoryActualFilter"
)
>>=
sDatabaseFilter
);
...
...
svx/source/form/datanavi.cxx
Dosyayı görüntüle @
2f88f0ad
...
...
@@ -3409,7 +3409,7 @@ namespace svxform
css
::
ui
::
dialogs
::
TemplateDescription
::
FILEOPEN_SIMPLE
,
0
);
INetURLObject
aFile
(
SvtPathOptions
().
GetWorkPath
()
);
aDlg
.
AddFilter
(
m_sAllFilterName
,
OUString
(
FILEDIALOG_FILTER_ALL
)
);
aDlg
.
AddFilter
(
m_sAllFilterName
,
FILEDIALOG_FILTER_ALL
);
OUString
sFilterName
(
"XML"
);
aDlg
.
AddFilter
(
sFilterName
,
"*.xml"
);
aDlg
.
SetCurrentFilter
(
sFilterName
);
...
...
svx/source/form/filtnav.cxx
Dosyayı görüntüle @
2f88f0ad
...
...
@@ -122,7 +122,7 @@ SotClipboardFormatId OFilterItemExchange::getFormatId()
static
SotClipboardFormatId
s_nFormat
=
static_cast
<
SotClipboardFormatId
>
(
-
1
);
if
(
static_cast
<
SotClipboardFormatId
>
(
-
1
)
==
s_nFormat
)
{
s_nFormat
=
SotExchange
::
RegisterFormatName
(
OUString
(
"application/x-openoffice;windows_formatname=
\"
form.FilterControlExchange
\"
"
)
);
s_nFormat
=
SotExchange
::
RegisterFormatName
(
"application/x-openoffice;windows_formatname=
\"
form.FilterControlExchange
\"
"
);
DBG_ASSERT
(
static_cast
<
SotClipboardFormatId
>
(
-
1
)
!=
s_nFormat
,
"OFilterExchangeHelper::getFormatId: bad exchange id!"
);
}
return
s_nFormat
;
...
...
svx/source/form/fmexch.cxx
Dosyayı görüntüle @
2f88f0ad
...
...
@@ -320,7 +320,7 @@ namespace svxform
static
SotClipboardFormatId
s_nFormat
=
static_cast
<
SotClipboardFormatId
>
(
-
1
);
if
(
static_cast
<
SotClipboardFormatId
>
(
-
1
)
==
s_nFormat
)
{
s_nFormat
=
SotExchange
::
RegisterFormatName
(
OUString
(
"application/x-openoffice;windows_formatname=
\"
svxform.ControlPathExchange
\"
"
)
);
s_nFormat
=
SotExchange
::
RegisterFormatName
(
"application/x-openoffice;windows_formatname=
\"
svxform.ControlPathExchange
\"
"
);
DBG_ASSERT
(
static_cast
<
SotClipboardFormatId
>
(
-
1
)
!=
s_nFormat
,
"OControlExchange::getControlPathFormatId: bad exchange id!"
);
}
return
s_nFormat
;
...
...
@@ -332,7 +332,7 @@ namespace svxform
static
SotClipboardFormatId
s_nFormat
=
static_cast
<
SotClipboardFormatId
>
(
-
1
);
if
(
static_cast
<
SotClipboardFormatId
>
(
-
1
)
==
s_nFormat
)
{
s_nFormat
=
SotExchange
::
RegisterFormatName
(
OUString
(
"application/x-openoffice;windows_formatname=
\"
svxform.HiddenControlModelsExchange
\"
"
)
);
s_nFormat
=
SotExchange
::
RegisterFormatName
(
"application/x-openoffice;windows_formatname=
\"
svxform.HiddenControlModelsExchange
\"
"
);
DBG_ASSERT
(
static_cast
<
SotClipboardFormatId
>
(
-
1
)
!=
s_nFormat
,
"OControlExchange::getHiddenControlModelsFormatId: bad exchange id!"
);
}
return
s_nFormat
;
...
...
@@ -344,7 +344,7 @@ namespace svxform
static
SotClipboardFormatId
s_nFormat
=
static_cast
<
SotClipboardFormatId
>
(
-
1
);
if
(
static_cast
<
SotClipboardFormatId
>
(
-
1
)
==
s_nFormat
)
{
s_nFormat
=
SotExchange
::
RegisterFormatName
(
OUString
(
"application/x-openoffice;windows_formatname=
\"
svxform.FieldNameExchange
\"
"
)
);
s_nFormat
=
SotExchange
::
RegisterFormatName
(
"application/x-openoffice;windows_formatname=
\"
svxform.FieldNameExchange
\"
"
);
DBG_ASSERT
(
static_cast
<
SotClipboardFormatId
>
(
-
1
)
!=
s_nFormat
,
"OControlExchange::getFieldExchangeFormatId: bad exchange id!"
);
}
return
s_nFormat
;
...
...
svx/source/form/fmshell.cxx
Dosyayı görüntüle @
2f88f0ad
...
...
@@ -215,7 +215,7 @@ FmFormShell::FmFormShell( SfxViewShell* _pParent, FmFormView* pView )
{
m_pImpl
->
acquire
();
SetPool
(
&
SfxGetpApp
()
->
GetPool
()
);
SetName
(
OUString
(
"Form"
)
);
SetName
(
"Form"
);
SetView
(
m_pFormView
);
}
...
...
@@ -763,7 +763,7 @@ void FmFormShell::Execute(SfxRequest &rReq)
}
if
(
nRecord
!=
-
1
)
rController
->
execute
(
nSlot
,
OUString
(
"Position"
)
,
makeAny
(
(
sal_Int32
)
nRecord
)
);
rController
->
execute
(
nSlot
,
"Position"
,
makeAny
(
(
sal_Int32
)
nRecord
)
);
rReq
.
Done
();
}
break
;
...
...
svx/source/form/tbxform.cxx
Dosyayı görüntüle @
2f88f0ad
...
...
@@ -76,7 +76,7 @@ void SvxFmAbsRecWin::FirePosition( bool _bForce )
aArgs
[
0
].
Name
=
"Position"
;
aPositionParam
.
QueryValue
(
a
);
aArgs
[
0
].
Value
=
a
;
m_pController
->
Dispatch
(
OUString
(
".uno:AbsoluteRecord"
)
,
m_pController
->
Dispatch
(
".uno:AbsoluteRecord"
,
aArgs
);
m_pController
->
updateStatus
();
...
...
svx/source/form/xfm_addcondition.cxx
Dosyayı görüntüle @
2f88f0ad
...
...
@@ -68,7 +68,7 @@ namespace svxform
:
OAddConditionDialogBase
(
_rxORB
)
{
registerProperty
(
OUString
(
"Binding"
)
,
"Binding"
,
PROPERTY_ID_BINDING
,
PropertyAttribute
::
TRANSIENT
,
&
m_xBinding
,
...
...
@@ -76,7 +76,7 @@ namespace svxform
);
registerProperty
(
OUString
(
"FacetName"
)
,
"FacetName"
,
PROPERTY_ID_FACET_NAME
,
PropertyAttribute
::
TRANSIENT
,
&
m_sFacetName
,
...
...
@@ -84,7 +84,7 @@ namespace svxform
);
registerProperty
(
OUString
(
"ConditionValue"
)
,
"ConditionValue"
,
PROPERTY_ID_CONDITION_VALUE
,
PropertyAttribute
::
TRANSIENT
,
&
m_sConditionValue
,
...
...
@@ -92,7 +92,7 @@ namespace svxform
);
registerProperty
(
OUString
(
"FormModel"
)
,
"FormModel"
,
PROPERTY_ID_FORM_MODEL
,
PropertyAttribute
::
TRANSIENT
,
&
m_xWorkModel
,
...
...
svx/source/gallery2/galmisc.cxx
Dosyayı görüntüle @
2f88f0ad
...
...
@@ -283,7 +283,7 @@ bool CreateDir( const INetURLObject& rURL )
aValues
[
0
]
=
uno
::
makeAny
(
OUString
(
aNewFolderURL
.
GetName
()
)
);
::
ucbhelper
::
Content
aContent
(
aNewFolderURL
.
GetMainURL
(
INetURLObject
::
NO_DECODE
),
aCmdEnv
,
comphelper
::
getProcessComponentContext
()
);
bRet
=
aParent
.
insertNewContent
(
OUString
(
"application/vnd.sun.staroffice.fsys-folder"
)
,
aProps
,
aValues
,
aContent
);
bRet
=
aParent
.
insertNewContent
(
"application/vnd.sun.staroffice.fsys-folder"
,
aProps
,
aValues
,
aContent
);
}
catch
(
const
ucb
::
ContentCreationException
&
)
{
...
...
@@ -307,7 +307,7 @@ bool CopyFile( const INetURLObject& rSrcURL, const INetURLObject& rDstURL )
{
::
ucbhelper
::
Content
aDestPath
(
rDstURL
.
GetMainURL
(
INetURLObject
::
NO_DECODE
),
uno
::
Reference
<
ucb
::
XCommandEnvironment
>
(),
comphelper
::
getProcessComponentContext
()
);
aDestPath
.
executeCommand
(
OUString
(
"transfer"
)
,
aDestPath
.
executeCommand
(
"transfer"
,
uno
::
makeAny
(
ucb
::
TransferInfo
(
sal_False
,
rSrcURL
.
GetMainURL
(
INetURLObject
::
NO_DECODE
),
rDstURL
.
GetName
(),
ucb
::
NameClash
::
OVERWRITE
)
)
);
bRet
=
true
;
...
...
@@ -334,7 +334,7 @@ bool KillFile( const INetURLObject& rURL )
try
{
::
ucbhelper
::
Content
aCnt
(
rURL
.
GetMainURL
(
INetURLObject
::
NO_DECODE
),
uno
::
Reference
<
ucb
::
XCommandEnvironment
>
(),
comphelper
::
getProcessComponentContext
()
);
aCnt
.
executeCommand
(
OUString
(
"delete"
)
,
uno
::
makeAny
(
true
)
);
aCnt
.
executeCommand
(
"delete"
,
uno
::
makeAny
(
true
)
);
}
catch
(
const
ucb
::
ContentCreationException
&
)
{
...
...
svx/source/gallery2/galtheme.cxx
Dosyayı görüntüle @
2f88f0ad
...
...
@@ -248,10 +248,10 @@ INetURLObject GalleryTheme::ImplCreateUniqueURL( SgaObjKind eObjKind, ConvertDat
sal_Char
const
*
pExt
=
NULL
;
bool
bExists
;
aDir
.
Append
(
OUString
(
"dragdrop"
)
);
aDir
.
Append
(
"dragdrop"
);
CreateDir
(
aDir
);
aInfoFileURL
.
Append
(
OUString
(
"sdddndx1"
)
);
aInfoFileURL
.
Append
(
"sdddndx1"
);
// read next possible number
if
(
FileExists
(
aInfoFileURL
)
)
...
...
svx/source/mnuctrls/clipboardctl.cxx
Dosyayı görüntüle @
2f88f0ad
...
...
@@ -47,7 +47,7 @@ SvxClipBoardControl::SvxClipBoardControl(
pPopup
(
0
),
bDisabled
(
false
)
{
addStatusListener
(
OUString
(
".uno:ClipboardFormatItems"
)
);
addStatusListener
(
".uno:ClipboardFormatItems"
);
ToolBox
&
rBox
=
GetToolBox
();
rBox
.
SetItemBits
(
nId
,
ToolBoxItemBits
::
DROPDOWN
|
rBox
.
GetItemBits
(
nId
)
);
rBox
.
Invalidate
();
...
...
@@ -98,7 +98,7 @@ VclPtr<SfxPopupWindow> SvxClipBoardControl::CreatePopupWindow()
aArgs
[
0
].
Name
=
"SelectedFormat"
;
aItem
.
QueryValue
(
a
);
aArgs
[
0
].
Value
=
a
;
Dispatch
(
OUString
(
".uno:ClipboardFormatItems"
)
,
Dispatch
(
".uno:ClipboardFormatItems"
,
aArgs
);
}
...
...
svx/source/sidebar/area/AreaPropertyPanelBase.cxx
Dosyayı görüntüle @
2f88f0ad
...
...
@@ -154,8 +154,8 @@ void AreaPropertyPanelBase::Initialize()
maGradientRect
=
maGradientLinear
;
maGradientRect
.
SetGradientStyle
(
css
::
awt
::
GradientStyle_RECT
);
mpLbFillType
->
SetAccessibleName
(
OUString
(
"Fill"
)
);
//wj acc
mpLbFillAttr
->
SetAccessibleName
(
OUString
(
"Fill"
)
);
//wj acc
mpLbFillType
->
SetAccessibleName
(
"Fill"
);
//wj acc
mpLbFillAttr
->
SetAccessibleName
(
"Fill"
);
//wj acc
mpLbFillType
->
SetSelectHdl
(
LINK
(
this
,
AreaPropertyPanelBase
,
SelectFillTypeHdl
)
);
...
...
@@ -166,12 +166,12 @@ void AreaPropertyPanelBase::Initialize()
mpLbFillGradTo
->
SetSelectHdl
(
aLink
);
mpLBTransType
->
SetSelectHdl
(
LINK
(
this
,
AreaPropertyPanelBase
,
ChangeTrgrTypeHdl_Impl
));
mpLBTransType
->
SetAccessibleName
(
OUString
(
"Transparency"
)
);
//wj acc
mpLBTransType
->
SetAccessibleName
(
"Transparency"
);
//wj acc
SetTransparency
(
50
);
mpMTRTransparent
->
SetModifyHdl
(
LINK
(
this
,
AreaPropertyPanelBase
,
ModifyTransparentHdl_Impl
));
mpSldTransparent
->
SetSlideHdl
(
LINK
(
this
,
AreaPropertyPanelBase
,
ModifyTransSliderHdl
));
mpMTRTransparent
->
SetAccessibleName
(
OUString
(
"Transparency"
)
);
//wj acc
mpMTRTransparent
->
SetAccessibleName
(
"Transparency"
);
//wj acc
const
sal_uInt16
nIdGradient
=
mpBTNGradient
->
GetItemId
(
UNO_SIDEBARGRADIENT
);
mpBTNGradient
->
SetItemBits
(
nIdGradient
,
mpBTNGradient
->
GetItemBits
(
nIdGradient
)
|
ToolBoxItemBits
::
DROPDOWNONLY
);
...
...
svx/source/sidebar/graphic/GraphicPropertyPanel.cxx
Dosyayı görüntüle @
2f88f0ad
...
...
@@ -99,18 +99,18 @@ void GraphicPropertyPanel::dispose()
void
GraphicPropertyPanel
::
Initialize
()
{
mpMtrBrightness
->
SetModifyHdl
(
LINK
(
this
,
GraphicPropertyPanel
,
ModifyBrightnessHdl
)
);
mpMtrBrightness
->
SetAccessibleName
(
::
rtl
::
OUString
(
"Brightness"
)
);
mpMtrBrightness
->
SetAccessibleName
(
"Brightness"
);
mpMtrContrast
->
SetModifyHdl
(
LINK
(
this
,
GraphicPropertyPanel
,
ModifyContrastHdl
)
);
mpMtrContrast
->
SetAccessibleName
(
::
rtl
::
OUString
(
"Contrast"
)
);
mpMtrContrast
->
SetAccessibleName
(
"Contrast"
);
mpMtrTrans
->
SetModifyHdl
(
LINK
(
this
,
GraphicPropertyPanel
,
ModifyTransHdl
)
);
mpMtrTrans
->
SetAccessibleName
(
::
rtl
::
OUString
(
"Transparency"
)
);
mpMtrTrans
->
SetAccessibleName
(
"Transparency"
);
mpLBColorMode
->
InsertEntry
(
SVX_RESSTR
(
RID_SVXSTR_GRAFMODE_STANDARD
));
mpLBColorMode
->
InsertEntry
(
SVX_RESSTR
(
RID_SVXSTR_GRAFMODE_GREYS
));
mpLBColorMode
->
InsertEntry
(
SVX_RESSTR
(
RID_SVXSTR_GRAFMODE_MONO
));
mpLBColorMode
->
InsertEntry
(
SVX_RESSTR
(
RID_SVXSTR_GRAFMODE_WATERMARK
));
mpLBColorMode
->
SetSelectHdl
(
LINK
(
this
,
GraphicPropertyPanel
,
ClickColorModeHdl
));
mpLBColorMode
->
SetAccessibleName
(
::
rtl
::
OUString
(
"Color mode"
)
);
mpLBColorMode
->
SetAccessibleName
(
"Color mode"
);
mpMtrRed
->
SetModifyHdl
(
LINK
(
this
,
GraphicPropertyPanel
,
RedHdl
)
);
mpMtrGreen
->
SetModifyHdl
(
LINK
(
this
,
GraphicPropertyPanel
,
GreenHdl
)
);
...
...
@@ -119,7 +119,7 @@ void GraphicPropertyPanel::Initialize()
mpMtrRed
->
SetAccessibleName
(
mpMtrRed
->
GetQuickHelpText
());
mpMtrGreen
->
SetAccessibleName
(
mpMtrGreen
->
GetQuickHelpText
());
mpMtrBlue
->
SetAccessibleName
(
mpMtrBlue
->
GetQuickHelpText
());
mpMtrGamma
->
SetAccessibleName
(
::
rtl
::
OUString
(
"Gamma value"
)
);
mpMtrGamma
->
SetAccessibleName
(
"Gamma value"
);
mpMtrRed
->
SetAccessibleRelationLabeledBy
(
mpMtrRed
);
mpMtrGreen
->
SetAccessibleRelationLabeledBy
(
mpMtrGreen
);
...
...
svx/source/sidebar/line/LinePropertyPanelBase.cxx
Dosyayı görüntüle @
2f88f0ad
...
...
@@ -240,7 +240,7 @@ void LinePropertyPanelBase::Initialize()
FillLineStyleList
();
SelectLineStyle
();
mpLBStyle
->
SetSelectHdl
(
LINK
(
this
,
LinePropertyPanelBase
,
ChangeLineStyleHdl
)
);
mpLBStyle
->
SetAccessibleName
(
OUString
(
"Style"
)
);
mpLBStyle
->
SetAccessibleName
(
"Style"
);
mpLBStyle
->
AdaptDropDownLineCountToMaximum
();
const
sal_uInt16
nIdWidth
=
mpTBWidth
->
GetItemId
(
UNO_SELECTWIDTH
);
...
...
@@ -254,24 +254,24 @@ void LinePropertyPanelBase::Initialize()
SelectEndStyle
(
true
);
SelectEndStyle
(
false
);
mpLBStart
->
SetSelectHdl
(
LINK
(
this
,
LinePropertyPanelBase
,
ChangeStartHdl
)
);
mpLBStart
->
SetAccessibleName
(
OUString
(
"Beginning Style"
)
);
//wj acc
mpLBStart
->
SetAccessibleName
(
"Beginning Style"
);
//wj acc
mpLBStart
->
AdaptDropDownLineCountToMaximum
();
mpLBEnd
->
SetSelectHdl
(
LINK
(
this
,
LinePropertyPanelBase
,
ChangeEndHdl
)
);
mpLBEnd
->
SetAccessibleName
(
OUString
(
"Ending Style"
)
);
//wj acc
mpLBEnd
->
SetAccessibleName
(
"Ending Style"
);
//wj acc
mpLBEnd
->
AdaptDropDownLineCountToMaximum
();
mpMFTransparent
->
SetModifyHdl
(
LINK
(
this
,
LinePropertyPanelBase
,
ChangeTransparentHdl
));
mpMFTransparent
->
SetAccessibleName
(
OUString
(
"Transparency"
)
);
//wj acc
mpMFTransparent
->
SetAccessibleName
(
"Transparency"
);
//wj acc
mpTBWidth
->
SetAccessibleRelationLabeledBy
(
mpFTWidth
);
mpMFTransparent
->
SetAccessibleRelationLabeledBy
(
mpFTTransparency
);
mpLBEnd
->
SetAccessibleRelationLabeledBy
(
mpLBEnd
);
mpLBEdgeStyle
->
SetSelectHdl
(
LINK
(
this
,
LinePropertyPanelBase
,
ChangeEdgeStyleHdl
)
);
mpLBEdgeStyle
->
SetAccessibleName
(
OUString
(
"Corner Style"
)
);
mpLBEdgeStyle
->
SetAccessibleName
(
"Corner Style"
);
mpLBCapStyle
->
SetSelectHdl
(
LINK
(
this
,
LinePropertyPanelBase
,
ChangeCapStyleHdl
)
);
mpLBCapStyle
->
SetAccessibleName
(
OUString
(
"Cap Style"
)
);
mpLBCapStyle
->
SetAccessibleName
(
"Cap Style"
);
}
void
LinePropertyPanelBase
::
DataChanged
(
const
DataChangedEvent
&
/*rEvent*/
)
...
...
svx/source/sidebar/nbdtmg.cxx
Dosyayı görüntüle @
2f88f0ad
...
...
@@ -772,7 +772,7 @@ MixBulletsTypeMgr::MixBulletsTypeMgr()
}
//Initial the first time to store the default value. Then do it again for customized value
Init
();
ImplLoad
(
OUString
(
"standard.sya"
)
);
ImplLoad
(
"standard.sya"
);
}
class
theMixBulletsTypeMgr
:
public
rtl
::
Static
<
MixBulletsTypeMgr
,
theMixBulletsTypeMgr
>
{};
...
...
@@ -815,7 +815,7 @@ MixBulletsTypeMgr::MixBulletsTypeMgr(const MixBulletsTypeMgr& aTypeMgr):
}
}
}
ImplLoad
(
OUString
(
"standard.sya"
)
);
ImplLoad
(
"standard.sya"
);
}
void
MixBulletsTypeMgr
::
Init
()
{
...
...
@@ -1126,7 +1126,7 @@ bool MixBulletsTypeMgr::RelplaceNumRule(SvxNumRule& aNum,sal_uInt16 nIndex,sal_u
pEntry
->
sDescription
=
GetDescription
(
nIndex
,
true
);
}
}
ImplStore
(
OUString
(
"standard.sya"
)
);
ImplStore
(
"standard.sya"
);
return
true
;
}
...
...
@@ -1262,7 +1262,7 @@ NumberingTypeMgr::NumberingTypeMgr()
pNumberSettingsArr
=
new
NumberSettingsArr_Impl
;
//Initial the first time to store the default value. Then do it again for customized value
Init
();
ImplLoad
(
OUString
(
"standard.syb"
)
);
ImplLoad
(
"standard.syb"
);
}
NumberingTypeMgr
::
NumberingTypeMgr
(
const
NumberingTypeMgr
&
rTypeMgr
)
...
...
@@ -1270,7 +1270,7 @@ NumberingTypeMgr::NumberingTypeMgr(const NumberingTypeMgr& rTypeMgr)
,
pNumberSettingsArr
(
new
NumberSettingsArr_Impl
)
,
pDefaultNumberSettingsArr
(
NULL
)
{
ImplLoad
(
OUString
(
"standard.syb"
)
);
ImplLoad
(
"standard.syb"
);
}
NumberingTypeMgr
::~
NumberingTypeMgr
()
...
...
@@ -1395,7 +1395,7 @@ bool NumberingTypeMgr::RelplaceNumRule(SvxNumRule& aNum, sal_uInt16 nIndex, sal_
}
else
{
_pSet
->
sDescription
=
GetDescription
(
nIndex
,
true
);
}
ImplStore
(
OUString
(
"standard.syb"
)
);
ImplStore
(
"standard.syb"
);
return
true
;
}
...
...
@@ -1473,7 +1473,7 @@ OutlineTypeMgr::OutlineTypeMgr()
}
//Initial the first time to store the default value. Then do it again for customized value
Init
();
ImplLoad
(
OUString
(
"standard.syc"
)
);
ImplLoad
(
"standard.syc"
);
}
OutlineTypeMgr
::
OutlineTypeMgr
(
const
OutlineTypeMgr
&
aTypeMgr
)
...
...
@@ -1486,7 +1486,7 @@ OutlineTypeMgr::OutlineTypeMgr(const OutlineTypeMgr& aTypeMgr)
}
//Initial the first time to store the default value. Then do it again for customized value
Init
();
ImplLoad
(
OUString
(
"standard.syc"
)
);
ImplLoad
(
"standard.syc"
);
}
class
theOutlineTypeMgr
:
public
rtl
::
Static
<
OutlineTypeMgr
,
theOutlineTypeMgr
>
{};
...
...
@@ -1685,7 +1685,7 @@ bool OutlineTypeMgr::RelplaceNumRule(SvxNumRule& aNum, sal_uInt16 nIndex, sal_uI
}
else
{
pItemArr
->
sDescription
=
GetDescription
(
nIndex
,
true
);
}
ImplStore
(
OUString
(
"standard.syc"
)
);
ImplStore
(
"standard.syc"
);
return
true
;
}
...
...
svx/source/stbctrls/modctrl.cxx
Dosyayı görüntüle @
2f88f0ad
...
...
@@ -165,7 +165,7 @@ void SvxModifyControl::Click()
return
;
Sequence
<
PropertyValue
>
aArgs
;
execute
(
OUString
(
".uno:Save"
)
,
aArgs
);
execute
(
".uno:Save"
,
aArgs
);
}
...
...
svx/source/stbctrls/pszctrl.cxx
Dosyayı görüntüle @
2f88f0ad
...
...
@@ -182,9 +182,9 @@ SvxPosSizeStatusBarControl::SvxPosSizeStatusBarControl( sal_uInt16 _nSlotId,
pImp
->
aSizeImage
=
Image
(
b
);
}
addStatusListener
(
OUString
(
STR_POSITION
)
);
// SID_ATTR_POSITION
addStatusListener
(
OUString
(
STR_TABLECELL
)
);
// SID_TABLE_CELL
addStatusListener
(
OUString
(
STR_FUNC
)
);
// SID_PSZ_FUNCTION
addStatusListener
(
STR_POSITION
);
// SID_ATTR_POSITION
addStatusListener
(
STR_TABLECELL
);
// SID_TABLE_CELL
addStatusListener
(
STR_FUNC
);
// SID_PSZ_FUNCTION
}
...
...
@@ -332,7 +332,7 @@ void SvxPosSizeStatusBarControl::Command( const CommandEvent& rCEvt )
aItem
.
QueryValue
(
a
);
aArgs
[
0
].
Value
=
a
;
execute
(
OUString
(
".uno:StatusBarFunc"
)
,
aArgs
);
execute
(
".uno:StatusBarFunc"
,
aArgs
);
// GetBindings().GetDispatcher()->Execute( SID_PSZ_FUNCTION, SfxCallMode::RECORD, &aItem, 0L );
}
}
...
...
svx/source/svdraw/svdibrow.cxx
Dosyayı görüntüle @
2f88f0ad
...
...
@@ -247,25 +247,25 @@ void _SdrItemBrowserControl::ImpCtor()
InsertDataColumn
(
ITEMBROWSER_WHICHCOL_ID
,
OUString
(
"Which"
)
,
GetTextWidth
(
OUString
(
" Which "
)
)
+
2
);
"Which"
,
GetTextWidth
(
" Which "
)
+
2
);
InsertDataColumn
(
ITEMBROWSER_STATECOL_ID
,
OUString
(
"State"
)
,
std
::
max
(
GetTextWidth
(
OUString
(
" State "
)
)
+
2
,
GetTextWidth
(
OUString
(
"DontCare"
)
)
+
2
));
"State"
,
std
::
max
(
GetTextWidth
(
" State "
)
+
2
,
GetTextWidth
(
"DontCare"
)
+
2
));
InsertDataColumn
(
ITEMBROWSER_TYPECOL_ID
,
OUString
(
"Type"
)
,
GetTextWidth
(
OUString
(
" Type_ "
)
)
+
2
);
"Type"
,
GetTextWidth
(
" Type_ "
)
+
2
);
InsertDataColumn
(
ITEMBROWSER_NAMECOL_ID
,
OUString
(
"Name"
)
,
"Name"
,
150
);
InsertDataColumn
(
ITEMBROWSER_VALUECOL_ID
,
OUString
(
"Value"
)
,
GetTextWidth
(
OUString
(
"12345678901234567890"
)
));
"Value"
,
GetTextWidth
(
"12345678901234567890"
));
SetDataRowHeight
(
GetTextHeight
());
...
...
@@ -1046,7 +1046,7 @@ _SdrItemBrowserWindow::_SdrItemBrowserWindow(vcl::Window* pParent, WinBits nBits
aBrowse
(
VclPtr
<
_SdrItemBrowserControl
>::
Create
(
this
))
{
SetOutputSizePixel
(
aBrowse
->
GetSizePixel
());
SetText
(
OUString
(
"Joe's ItemBrowser"
)
);
SetText
(
"Joe's ItemBrowser"
);
aBrowse
->
Show
();
}
...
...
svx/source/tbxctrls/fillctrl.cxx
Dosyayı görüntüle @
2f88f0ad
...
...
@@ -67,14 +67,14 @@ SvxFillToolBoxControl::SvxFillToolBoxControl(
,
mnLastPosHatch
(
0
)
,
mnLastPosBitmap
(
0
)
{
addStatusListener
(
OUString
(
".uno:FillColor"
)
);
addStatusListener
(
OUString
(
".uno:FillGradient"
)
);
addStatusListener
(
OUString
(
".uno:FillHatch"
)
);
addStatusListener
(
OUString
(
".uno:FillBitmap"
)
);
addStatusListener
(
OUString
(
".uno:ColorTableState"
)
);
addStatusListener
(
OUString
(
".uno:GradientListState"
)
);
addStatusListener
(
OUString
(
".uno:HatchListState"
)
);
addStatusListener
(
OUString
(
".uno:BitmapListState"
)
);
addStatusListener
(
".uno:FillColor"
);
addStatusListener
(
".uno:FillGradient"
);
addStatusListener
(
".uno:FillHatch"
);
addStatusListener
(
".uno:FillBitmap"
);
addStatusListener
(
".uno:ColorTableState"
);
addStatusListener
(
".uno:GradientListState"
);
addStatusListener
(
".uno:HatchListState"
);
addStatusListener
(
".uno:BitmapListState"
);
}
SvxFillToolBoxControl
::~
SvxFillToolBoxControl
()
...
...
svx/source/tbxctrls/fontworkgallery.cxx
Dosyayı görüntüle @
2f88f0ad
...
...
@@ -554,7 +554,7 @@ IMPL_LINK_NOARG_TYPED(FontworkCharacterSpacingWindow, SelectHdl,ToolbarMenu*, vo
aArgs
[
0
].
Name
=
msFontworkCharacterSpacing
.
copy
(
5
);
aArgs
[
0
].
Value
<<=
(
sal_Int32
)
nCharacterSpacing
;
mrController
.
dispatchCommand
(
OUString
(
".uno:FontworkCharacterSpacingDialog"
)
,
aArgs
);
mrController
.
dispatchCommand
(
".uno:FontworkCharacterSpacingDialog"
,
aArgs
);
}
else
if
(
nSelection
==
6
)
// KernCharacterPairs
{
...
...
svx/source/tbxctrls/formatpaintbrushctrl.cxx
Dosyayı görüntüle @
2f88f0ad
...
...
@@ -59,7 +59,7 @@ void FormatPaintBrushToolBoxControl::impl_executePaintBrush()
Sequence
<
PropertyValue
>
aArgs
(
1
);
aArgs
[
0
].
Name
=
"PersistentCopy"
;
aArgs
[
0
].
Value
=
makeAny
(
m_bPersistentCopy
);
Dispatch
(
OUString
(
".uno:FormatPaintbrush"
)
Dispatch
(
".uno:FormatPaintbrush"
,
aArgs
);
}
...
...
svx/source/tbxctrls/grafctrl.cxx
Dosyayı görüntüle @
2f88f0ad
...
...
@@ -108,7 +108,7 @@ ImplGrafMetricField::ImplGrafMetricField( vcl::Window* pParent, const OUString&
maCommand
(
rCmd
),
mxFrame
(
rFrame
)
{
Size
aSize
(
GetTextWidth
(
OUString
(
"-100 %"
)
),
GetTextHeight
()
);
Size
aSize
(
GetTextWidth
(
"-100 %"
),
GetTextHeight
()
);
aSize
.
Width
()
+=
20
,
aSize
.
Height
()
+=
6
;
SetSizePixel
(
aSize
);
...
...
@@ -359,7 +359,7 @@ void ImplGrafModeControl::Select()
SfxToolBoxControl
::
Dispatch
(
Reference
<
XDispatchProvider
>
(
mxFrame
->
getController
(),
UNO_QUERY
),
OUString
(
".uno:GrafMode"
)
,
".uno:GrafMode"
,
aArgs
);
}
}
...
...
svx/source/tbxctrls/itemwin.cxx
Dosyayı görüntüle @
2f88f0ad
...
...
@@ -122,7 +122,7 @@ void SvxLineBox::Select()
aLineDashItem
.
QueryValue
(
a
);
aArgs
[
0
].
Value
=
a
;
SfxToolBoxControl
::
Dispatch
(
Reference
<
XDispatchProvider
>
(
mxFrame
->
getController
(),
UNO_QUERY
),
OUString
(
".uno:LineDash"
)
,
".uno:LineDash"
,
aArgs
);
}
}
...
...
@@ -136,7 +136,7 @@ void SvxLineBox::Select()
aLineStyleItem
.
QueryValue
(
a
);
aArgs
[
0
].
Value
=
a
;
SfxToolBoxControl
::
Dispatch
(
Reference
<
XDispatchProvider
>
(
mxFrame
->
getController
(),
UNO_QUERY
),
OUString
(
".uno:XLineStyle"
)
,
".uno:XLineStyle"
,
aArgs
);
nCurPos
=
GetSelectEntryPos
();
...
...
@@ -253,7 +253,7 @@ SvxMetricField::SvxMetricField(
,
ePoolUnit
(
SFX_MAPUNIT_CM
)
,
mxFrame
(
rFrame
)
{
Size
aSize
(
GetTextWidth
(
OUString
(
"99,99mm"
)
),
GetTextHeight
());
Size
aSize
(
GetTextWidth
(
"99,99mm"
),
GetTextHeight
());
aSize
.
Width
()
+=
20
;
aSize
.
Height
()
+=
6
;
SetSizePixel
(
aSize
);
...
...
@@ -297,7 +297,7 @@ void SvxMetricField::Modify()
aLineWidthItem
.
QueryValue
(
a
);
aArgs
[
0
].
Value
=
a
;
SfxToolBoxControl
::
Dispatch
(
Reference
<
XDispatchProvider
>
(
mxFrame
->
getController
(),
UNO_QUERY
),
OUString
(
".uno:LineWidth"
)
,
".uno:LineWidth"
,
aArgs
);
}
...
...
svx/source/tbxctrls/lboxctrl.cxx
Dosyayı görüntüle @
2f88f0ad
...
...
@@ -270,9 +270,9 @@ VclPtr<SfxPopupWindow> SvxUndoRedoControl::CreatePopupWindow()
DBG_ASSERT
((
SID_UNDO
==
GetSlotId
()
||
SID_REDO
==
GetSlotId
()
),
"mismatching ids"
);
if
(
m_aCommandURL
==
".uno:Undo"
)
updateStatus
(
OUString
(
".uno:GetUndoStrings"
)
);
updateStatus
(
".uno:GetUndoStrings"
);
else
updateStatus
(
OUString
(
".uno:GetRedoStrings"
)
);
updateStatus
(
".uno:GetRedoStrings"
);
ToolBox
&
rBox
=
GetToolBox
();
...
...
svx/source/tbxctrls/linectrl.cxx
Dosyayı görüntüle @
2f88f0ad
...
...
@@ -58,8 +58,8 @@ SvxLineStyleToolBoxControl::SvxLineStyleToolBoxControl( sal_uInt16 nSlotId,
pDashItem
(
NULL
),
bUpdate
(
false
)
{
addStatusListener
(
OUString
(
".uno:LineDash"
)
);
addStatusListener
(
OUString
(
".uno:DashListState"
)
);
addStatusListener
(
".uno:LineDash"
);
addStatusListener
(
".uno:DashListState"
);
}
...
...
@@ -192,7 +192,7 @@ SvxLineWidthToolBoxControl::SvxLineWidthToolBoxControl(
sal_uInt16
nSlotId
,
sal_uInt16
nId
,
ToolBox
&
rTbx
)
:
SfxToolBoxControl
(
nSlotId
,
nId
,
rTbx
)
{
addStatusListener
(
OUString
(
".uno:MetricUnit"
)
);
addStatusListener
(
".uno:MetricUnit"
);
}
...
...
@@ -314,7 +314,7 @@ void SvxLineEndWindow::implInit()
// ValueSet fill with entries of LineEndList
FillValueSet
();