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
1c347666
Kaydet (Commit)
1c347666
authored
Mar 24, 2015
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
loplugin:constantfunction: reportdesign
Change-Id: Ic94359c544034b9e6f09bd02a377d906a5b820e6
üst
4d4022fe
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
1 addition
and
36 deletions
+1
-36
ReportController.hxx
reportdesign/source/ui/inc/ReportController.hxx
+0
-1
ReportWindow.hxx
reportdesign/source/ui/inc/ReportWindow.hxx
+0
-3
ViewsWindow.hxx
reportdesign/source/ui/inc/ViewsWindow.hxx
+0
-4
ReportController.cxx
reportdesign/source/ui/report/ReportController.cxx
+1
-17
ReportWindow.cxx
reportdesign/source/ui/report/ReportWindow.cxx
+0
-5
ScrollHelper.cxx
reportdesign/source/ui/report/ScrollHelper.cxx
+0
-2
ViewsWindow.cxx
reportdesign/source/ui/report/ViewsWindow.cxx
+0
-4
No files found.
reportdesign/source/ui/inc/ReportController.hxx
Dosyayı görüntüle @
1c347666
...
@@ -318,7 +318,6 @@ namespace rptui
...
@@ -318,7 +318,6 @@ namespace rptui
DECL_LINK
(
OnClipboardChanged
,
void
*
);
DECL_LINK
(
OnClipboardChanged
,
void
*
);
DECL_LINK
(
OnExecuteReport
,
void
*
);
DECL_LINK
(
OnExecuteReport
,
void
*
);
DECL_LINK
(
OnOpenHelpAgent
,
void
*
);
DECL_LINK
(
OnOpenHelpAgent
,
void
*
);
short
saveModified
();
// all the features which should be handled by this class
// all the features which should be handled by this class
virtual
void
describeSupportedFeatures
()
SAL_OVERRIDE
;
virtual
void
describeSupportedFeatures
()
SAL_OVERRIDE
;
// state of a feature. 'feature' may be the handle of a ::com::sun::star::util::URL somebody requested a dispatch interface for OR a toolbar slot.
// state of a feature. 'feature' may be the handle of a ::com::sun::star::util::URL somebody requested a dispatch interface for OR a toolbar slot.
...
...
reportdesign/source/ui/inc/ReportWindow.hxx
Dosyayı görüntüle @
1c347666
...
@@ -68,9 +68,6 @@ namespace rptui
...
@@ -68,9 +68,6 @@ namespace rptui
OReportWindow
(
OScrollWindowHelper
*
_pParent
,
ODesignView
*
_pView
);
OReportWindow
(
OScrollWindowHelper
*
_pParent
,
ODesignView
*
_pView
);
virtual
~
OReportWindow
();
virtual
~
OReportWindow
();
/** late ctor
*/
void
initialize
();
// Window overrides
// Window overrides
virtual
void
Resize
()
SAL_OVERRIDE
;
virtual
void
Resize
()
SAL_OVERRIDE
;
...
...
reportdesign/source/ui/inc/ViewsWindow.hxx
Dosyayı görüntüle @
1c347666
...
@@ -159,10 +159,6 @@ namespace rptui
...
@@ -159,10 +159,6 @@ namespace rptui
void
resize
(
const
OSectionWindow
&
_rSectionWindow
);
void
resize
(
const
OSectionWindow
&
_rSectionWindow
);
/** late ctor
*/
void
initialize
();
inline
OReportWindow
*
getView
()
const
{
return
m_pParent
;
}
inline
OReportWindow
*
getView
()
const
{
return
m_pParent
;
}
/** removes the section at the given position.
/** removes the section at the given position.
...
...
reportdesign/source/ui/report/ReportController.cxx
Dosyayı görüntüle @
1c347666
...
@@ -1608,17 +1608,7 @@ void OReportController::Execute(sal_uInt16 _nId, const Sequence< PropertyValue >
...
@@ -1608,17 +1608,7 @@ void OReportController::Execute(sal_uInt16 _nId, const Sequence< PropertyValue >
case
SID_EDITDOC
:
case
SID_EDITDOC
:
if
(
isEditable
())
if
(
isEditable
())
{
// the state should be changed to not editable
{
// the state should be changed to not editable
switch
(
saveModified
())
setModified
(
sal_False
);
// and we are not modified yet
{
case
RET_CANCEL
:
// don't change anything here so return
return
;
case
RET_NO
:
setModified
(
sal_False
);
// and we are not modified yet
break
;
default
:
break
;
}
}
}
setEditable
(
!
isEditable
());
setEditable
(
!
isEditable
());
InvalidateAll
();
InvalidateAll
();
...
@@ -1655,12 +1645,6 @@ void OReportController::Execute(sal_uInt16 _nId, const Sequence< PropertyValue >
...
@@ -1655,12 +1645,6 @@ void OReportController::Execute(sal_uInt16 _nId, const Sequence< PropertyValue >
InvalidateFeature
(
_nId
,
Reference
<
XStatusListener
>
(),
bForceBroadcast
);
InvalidateFeature
(
_nId
,
Reference
<
XStatusListener
>
(),
bForceBroadcast
);
}
}
short
OReportController
::
saveModified
()
{
return
RET_NO
;
}
void
OReportController
::
impl_initialize
(
)
void
OReportController
::
impl_initialize
(
)
{
{
OReportController_BASE
::
impl_initialize
();
OReportController_BASE
::
impl_initialize
();
...
...
reportdesign/source/ui/report/ReportWindow.cxx
Dosyayı görüntüle @
1c347666
...
@@ -89,11 +89,6 @@ OReportWindow::~OReportWindow()
...
@@ -89,11 +89,6 @@ OReportWindow::~OReportWindow()
m_pReportListener
->
dispose
();
m_pReportListener
->
dispose
();
}
}
void
OReportWindow
::
initialize
()
{
m_aViewsWindow
.
initialize
();
}
void
OReportWindow
::
SetInsertObj
(
sal_uInt16
eObj
,
const
OUString
&
_sShapeType
)
void
OReportWindow
::
SetInsertObj
(
sal_uInt16
eObj
,
const
OUString
&
_sShapeType
)
{
{
m_aViewsWindow
.
SetInsertObj
(
eObj
,
_sShapeType
);
m_aViewsWindow
.
SetInsertObj
(
eObj
,
_sShapeType
);
...
...
reportdesign/source/ui/report/ScrollHelper.cxx
Dosyayı görüntüle @
1c347666
...
@@ -91,8 +91,6 @@ void OScrollWindowHelper::initialize()
...
@@ -91,8 +91,6 @@ void OScrollWindowHelper::initialize()
{
{
uno
::
Reference
<
report
::
XReportDefinition
>
xReportDefinition
=
m_pParent
->
getController
().
getReportDefinition
();
uno
::
Reference
<
report
::
XReportDefinition
>
xReportDefinition
=
m_pParent
->
getController
().
getReportDefinition
();
m_pReportDefintionMultiPlexer
=
addStyleListener
(
xReportDefinition
,
this
);
m_pReportDefintionMultiPlexer
=
addStyleListener
(
xReportDefinition
,
this
);
m_aReportWindow
.
initialize
();
}
}
void
OScrollWindowHelper
::
setTotalSize
(
sal_Int32
_nWidth
,
sal_Int32
_nHeight
)
void
OScrollWindowHelper
::
setTotalSize
(
sal_Int32
_nWidth
,
sal_Int32
_nHeight
)
...
...
reportdesign/source/ui/report/ViewsWindow.cxx
Dosyayı görüntüle @
1c347666
...
@@ -189,10 +189,6 @@ OViewsWindow::~OViewsWindow()
...
@@ -189,10 +189,6 @@ OViewsWindow::~OViewsWindow()
m_aSections
.
clear
();
m_aSections
.
clear
();
}
}
void
OViewsWindow
::
initialize
()
{
}
void
OViewsWindow
::
impl_resizeSectionWindow
(
OSectionWindow
&
_rSectionWindow
,
Point
&
_rStartPoint
,
bool
_bSet
)
void
OViewsWindow
::
impl_resizeSectionWindow
(
OSectionWindow
&
_rSectionWindow
,
Point
&
_rStartPoint
,
bool
_bSet
)
{
{
const
uno
::
Reference
<
report
::
XSection
>
xSection
=
_rSectionWindow
.
getReportSection
().
getSection
();
const
uno
::
Reference
<
report
::
XSection
>
xSection
=
_rSectionWindow
.
getReportSection
().
getSection
();
...
...
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