summaryrefslogtreecommitdiff
path: root/sd/source
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-08-16 08:33:33 +0200
committerStephan Bergmann <sbergman@redhat.com>2012-08-16 09:47:01 +0200
commit4e05ae6a6b90f8e840186a00010c5e6ca1580548 (patch)
treeed94b6f7c6f75fc1f409810cdeb97a23138b3580 /sd/source
parenta71e7b108c7041ebc7cb99d1d2d53358140d8e30 (diff)
-Werror,-Wunused-private-field (Clang towards 3.2)
Change-Id: I7162523a26488b8528a91ec7abd587f55647acbb
Diffstat (limited to 'sd/source')
-rw-r--r--sd/source/ui/view/GraphicViewShellBase.cxx3
-rw-r--r--sd/source/ui/view/ImpressViewShellBase.cxx3
-rw-r--r--sd/source/ui/view/OutlineViewShellBase.cxx3
-rw-r--r--sd/source/ui/view/PresentationViewShellBase.cxx2
-rw-r--r--sd/source/ui/view/SlideSorterViewShellBase.cxx3
-rw-r--r--sd/source/ui/view/ViewShellBase.cxx2
6 files changed, 6 insertions, 10 deletions
diff --git a/sd/source/ui/view/GraphicViewShellBase.cxx b/sd/source/ui/view/GraphicViewShellBase.cxx
index 0db7a04f82d5..0327f27fe486 100644
--- a/sd/source/ui/view/GraphicViewShellBase.cxx
+++ b/sd/source/ui/view/GraphicViewShellBase.cxx
@@ -54,8 +54,7 @@ SfxViewShell* GraphicViewShellBase::CreateInstance (
}
void GraphicViewShellBase::RegisterFactory( sal_uInt16 nPrio )
{
- pFactory = new SfxViewFactory(
- &CreateInstance,&InitFactory,nPrio,"Default");
+ pFactory = new SfxViewFactory(&CreateInstance,nPrio,"Default");
InitFactory();
}
void GraphicViewShellBase::InitFactory()
diff --git a/sd/source/ui/view/ImpressViewShellBase.cxx b/sd/source/ui/view/ImpressViewShellBase.cxx
index eebc01af9c28..e9f570bdc03c 100644
--- a/sd/source/ui/view/ImpressViewShellBase.cxx
+++ b/sd/source/ui/view/ImpressViewShellBase.cxx
@@ -55,8 +55,7 @@ SfxViewShell* ImpressViewShellBase::CreateInstance (
}
void ImpressViewShellBase::RegisterFactory( sal_uInt16 nPrio )
{
- pFactory = new SfxViewFactory(
- &CreateInstance,&InitFactory,nPrio,"Default");
+ pFactory = new SfxViewFactory(&CreateInstance,nPrio,"Default");
InitFactory();
}
void ImpressViewShellBase::InitFactory()
diff --git a/sd/source/ui/view/OutlineViewShellBase.cxx b/sd/source/ui/view/OutlineViewShellBase.cxx
index 4783b45f30fc..8e74361432df 100644
--- a/sd/source/ui/view/OutlineViewShellBase.cxx
+++ b/sd/source/ui/view/OutlineViewShellBase.cxx
@@ -52,8 +52,7 @@ SfxViewShell* OutlineViewShellBase::CreateInstance (
}
void OutlineViewShellBase::RegisterFactory( sal_uInt16 nPrio )
{
- pFactory = new SfxViewFactory(
- &CreateInstance,&InitFactory,nPrio,"Outline");
+ pFactory = new SfxViewFactory(&CreateInstance,nPrio,"Outline");
InitFactory();
}
void OutlineViewShellBase::InitFactory()
diff --git a/sd/source/ui/view/PresentationViewShellBase.cxx b/sd/source/ui/view/PresentationViewShellBase.cxx
index bd431606101a..d15bec7a85b5 100644
--- a/sd/source/ui/view/PresentationViewShellBase.cxx
+++ b/sd/source/ui/view/PresentationViewShellBase.cxx
@@ -61,7 +61,7 @@ SfxViewShell* PresentationViewShellBase::CreateInstance (
void PresentationViewShellBase::RegisterFactory( sal_uInt16 nPrio )
{
pFactory = new SfxViewFactory(
- &CreateInstance,&InitFactory,nPrio,"FullScreenPresentation");
+ &CreateInstance,nPrio,"FullScreenPresentation");
InitFactory();
}
void PresentationViewShellBase::InitFactory()
diff --git a/sd/source/ui/view/SlideSorterViewShellBase.cxx b/sd/source/ui/view/SlideSorterViewShellBase.cxx
index a52b4d4ff2db..fb3133e4df53 100644
--- a/sd/source/ui/view/SlideSorterViewShellBase.cxx
+++ b/sd/source/ui/view/SlideSorterViewShellBase.cxx
@@ -56,8 +56,7 @@ SfxViewShell* SlideSorterViewShellBase::CreateInstance (
void SlideSorterViewShellBase::RegisterFactory( sal_uInt16 nPrio )
{
- pFactory = new SfxViewFactory(
- &CreateInstance,&InitFactory,nPrio,"SlideSorter");
+ pFactory = new SfxViewFactory(&CreateInstance,nPrio,"SlideSorter");
InitFactory();
}
diff --git a/sd/source/ui/view/ViewShellBase.cxx b/sd/source/ui/view/ViewShellBase.cxx
index aa7cbbc5ef6a..3b4114e411b5 100644
--- a/sd/source/ui/view/ViewShellBase.cxx
+++ b/sd/source/ui/view/ViewShellBase.cxx
@@ -240,7 +240,7 @@ SfxViewShell* ViewShellBase::CreateInstance (
}
void ViewShellBase::RegisterFactory( sal_uInt16 nPrio )
{
- pFactory = new SfxViewFactory( &CreateInstance,&InitFactory,nPrio,"Default" );
+ pFactory = new SfxViewFactory( &CreateInstance,nPrio,"Default" );
InitFactory();
}
void ViewShellBase::InitFactory()