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
38b9fe82
Kaydet (Commit)
38b9fe82
authored
Nis 25, 2014
tarafından
Miklos Vajna
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
chart2: use constructor feature for WizardDialog
Change-Id: Ifcaae6401f1ad5069248111b568a1cf5c033f5ab
üst
f7731b73
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
57 deletions
+10
-57
Library_chartcontroller.mk
chart2/Library_chartcontroller.mk
+0
-1
chartcontroller.component
chart2/source/controller/chartcontroller.component
+3
-2
dlg_CreationWizard_UNO.cxx
chart2/source/controller/dialogs/dlg_CreationWizard_UNO.cxx
+7
-0
_serviceregistration_controller.cxx
...ource/controller/main/_serviceregistration_controller.cxx
+0
-54
No files found.
chart2/Library_chartcontroller.mk
Dosyayı görüntüle @
38b9fe82
...
@@ -182,7 +182,6 @@ $(eval $(call gb_Library_add_exception_objects,chartcontroller,\
...
@@ -182,7 +182,6 @@ $(eval $(call gb_Library_add_exception_objects,chartcontroller,\
chart2/source/controller/main/ObjectHierarchy \
chart2/source/controller/main/ObjectHierarchy \
chart2/source/controller/main/PositionAndSizeHelper \
chart2/source/controller/main/PositionAndSizeHelper \
chart2/source/controller/main/SelectionHelper \
chart2/source/controller/main/SelectionHelper \
chart2/source/controller/main/_serviceregistration_controller \
chart2/source/controller/main/ShapeController \
chart2/source/controller/main/ShapeController \
chart2/source/controller/main/ShapeToolbarController \
chart2/source/controller/main/ShapeToolbarController \
chart2/source/controller/main/StatusBarCommandDispatch \
chart2/source/controller/main/StatusBarCommandDispatch \
...
...
chart2/source/controller/chartcontroller.component
Dosyayı görüntüle @
38b9fe82
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
-->
-->
<component
loader=
"com.sun.star.loader.SharedLibrary"
environment=
"@CPPU_ENV@"
<component
loader=
"com.sun.star.loader.SharedLibrary"
environment=
"@CPPU_ENV@"
prefix=
"chartcontroller"
xmlns=
"http://openoffice.org/2010/uno-components"
>
xmlns=
"http://openoffice.org/2010/uno-components"
>
<implementation
name=
"com.sun.star.comp.chart.ElementSelectorToolbarController"
<implementation
name=
"com.sun.star.comp.chart.ElementSelectorToolbarController"
constructor=
"com_sun_star_comp_chart_ElementSelectorToolbarController_get_implementation"
>
constructor=
"com_sun_star_comp_chart_ElementSelectorToolbarController_get_implementation"
>
<service
name=
"com.sun.star.frame.ToolbarController"
/>
<service
name=
"com.sun.star.frame.ToolbarController"
/>
...
@@ -47,7 +47,8 @@
...
@@ -47,7 +47,8 @@
constructor=
"com_sun_star_comp_chart2_ShapeToolbarController_get_implementation"
>
constructor=
"com_sun_star_comp_chart2_ShapeToolbarController_get_implementation"
>
<service
name=
"com.sun.star.chart2.ShapeToolbarController"
/>
<service
name=
"com.sun.star.chart2.ShapeToolbarController"
/>
</implementation>
</implementation>
<implementation
name=
"com.sun.star.comp.chart2.WizardDialog"
>
<implementation
name=
"com.sun.star.comp.chart2.WizardDialog"
constructor=
"com_sun_star_comp_chart2_WizardDialog_get_implementation"
>
<service
name=
"com.sun.star.chart2.WizardDialog"
/>
<service
name=
"com.sun.star.chart2.WizardDialog"
/>
</implementation>
</implementation>
</component>
</component>
chart2/source/controller/dialogs/dlg_CreationWizard_UNO.cxx
Dosyayı görüntüle @
38b9fe82
...
@@ -382,4 +382,11 @@ void SAL_CALL CreationWizardUnoDlg::removeVetoableChangeListener( const OUString
...
@@ -382,4 +382,11 @@ void SAL_CALL CreationWizardUnoDlg::removeVetoableChangeListener( const OUString
}
//namespace chart
}
//namespace chart
extern
"C"
SAL_DLLPUBLIC_EXPORT
css
::
uno
::
XInterface
*
SAL_CALL
com_sun_star_comp_chart2_WizardDialog_get_implementation
(
css
::
uno
::
XComponentContext
*
context
,
css
::
uno
::
Sequence
<
css
::
uno
::
Any
>
const
&
)
{
return
cppu
::
acquire
(
new
chart
::
CreationWizardUnoDlg
(
context
));
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
chart2/source/controller/main/_serviceregistration_controller.cxx
deleted
100644 → 0
Dosyayı görüntüle @
f7731b73
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#include "ChartController.hxx"
#include "ChartFrameloader.hxx"
#include "dlg_CreationWizard_UNO.hxx"
#include "dlg_ChartType_UNO.hxx"
#include "ChartDocumentWrapper.hxx"
#include "AccessibleChartView.hxx"
#include "ElementSelector.hxx"
#include "ShapeToolbarController.hxx"
#include <cppuhelper/implementationentry.hxx>
static
const
struct
::
cppu
::
ImplementationEntry
g_entries_chart2_controller
[]
=
{
{
::
chart
::
CreationWizardUnoDlg
::
create
,
::
chart
::
CreationWizardUnoDlg
::
getImplementationName_Static
,
::
chart
::
CreationWizardUnoDlg
::
getSupportedServiceNames_Static
,
::
cppu
::
createSingleComponentFactory
,
0
,
0
}
,{
0
,
0
,
0
,
0
,
0
,
0
}
};
// component exports
extern
"C"
{
SAL_DLLPUBLIC_EXPORT
void
*
SAL_CALL
chartcontroller_component_getFactory
(
const
sal_Char
*
pImplName
,
void
*
pServiceManager
,
void
*
pRegistryKey
)
{
return
::
cppu
::
component_getFactoryHelper
(
pImplName
,
pServiceManager
,
pRegistryKey
,
g_entries_chart2_controller
);
}
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
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