[Libreoffice-commits] core.git: include/sfx2 sfx2/source
Stephan Bergmann
sbergman at redhat.com
Tue Oct 22 04:51:53 PDT 2013
include/sfx2/objsh.hxx | 3 +--
sfx2/source/doc/objmisc.cxx | 1 -
sfx2/source/doc/objstor.cxx | 1 -
3 files changed, 1 insertion(+), 4 deletions(-)
New commits:
commit ab1b996afac5dcaa222598dd29628b52a5e1903d
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Tue Oct 22 13:51:26 2013 +0200
Remove unused SfxObjectShell::bIsTmp
Change-Id: I14b495067e25e9a80c08b08ff2034b7bfe1e6759
diff --git a/include/sfx2/objsh.hxx b/include/sfx2/objsh.hxx
index ee2ff12..e2f2c6e 100644
--- a/include/sfx2/objsh.hxx
+++ b/include/sfx2/objsh.hxx
@@ -196,9 +196,8 @@ private:
// storage that contains the object
SfxStyleSheetBasePool* pStyleSheetPool; // StyleSheets
SfxObjectCreateMode eCreateMode; // Purpose of the object
- sal_Bool bHasName :1, // sal_True := existing object,
+ sal_Bool bHasName :1; // sal_True := existing object,
// sal_False := new object
- bIsTmp :1; // temporary Storage
sal_Bool bIsInGenerateThumbnail; //optimize thumbnail generate and store procedure to improve odt saving performance, i120030
private:
diff --git a/sfx2/source/doc/objmisc.cxx b/sfx2/source/doc/objmisc.cxx
index 4cc674e..7b13438 100644
--- a/sfx2/source/doc/objmisc.cxx
+++ b/sfx2/source/doc/objmisc.cxx
@@ -977,7 +977,6 @@ void SfxObjectShell::SetNamedVisibility_Impl()
void SfxObjectShell::SetNoName()
{
bHasName = 0;
- bIsTmp = sal_True;
GetModel()->attachResource( OUString(), GetModel()->getArgs() );
}
diff --git a/sfx2/source/doc/objstor.cxx b/sfx2/source/doc/objstor.cxx
index 165c680..67da658 100644
--- a/sfx2/source/doc/objstor.cxx
+++ b/sfx2/source/doc/objstor.cxx
@@ -511,7 +511,6 @@ sal_Bool SfxObjectShell::DoInitNew( SfxMedium* pMed )
pMedium = pMed;
if ( !pMedium )
{
- bIsTmp = sal_True;
pMedium = new SfxMedium;
}
More information about the Libreoffice-commits
mailing list