Kaydet (Commit) ab1b996a authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Remove unused SfxObjectShell::bIsTmp

Change-Id: I14b495067e25e9a80c08b08ff2034b7bfe1e6759
üst b37e2dd0
...@@ -196,9 +196,8 @@ private: ...@@ -196,9 +196,8 @@ private:
// storage that contains the object // storage that contains the object
SfxStyleSheetBasePool* pStyleSheetPool; // StyleSheets SfxStyleSheetBasePool* pStyleSheetPool; // StyleSheets
SfxObjectCreateMode eCreateMode; // Purpose of the object 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 // sal_False := new object
bIsTmp :1; // temporary Storage
sal_Bool bIsInGenerateThumbnail; //optimize thumbnail generate and store procedure to improve odt saving performance, i120030 sal_Bool bIsInGenerateThumbnail; //optimize thumbnail generate and store procedure to improve odt saving performance, i120030
private: private:
......
...@@ -977,7 +977,6 @@ void SfxObjectShell::SetNamedVisibility_Impl() ...@@ -977,7 +977,6 @@ void SfxObjectShell::SetNamedVisibility_Impl()
void SfxObjectShell::SetNoName() void SfxObjectShell::SetNoName()
{ {
bHasName = 0; bHasName = 0;
bIsTmp = sal_True;
GetModel()->attachResource( OUString(), GetModel()->getArgs() ); GetModel()->attachResource( OUString(), GetModel()->getArgs() );
} }
......
...@@ -511,7 +511,6 @@ sal_Bool SfxObjectShell::DoInitNew( SfxMedium* pMed ) ...@@ -511,7 +511,6 @@ sal_Bool SfxObjectShell::DoInitNew( SfxMedium* pMed )
pMedium = pMed; pMedium = pMed;
if ( !pMedium ) if ( !pMedium )
{ {
bIsTmp = sal_True;
pMedium = new SfxMedium; pMedium = new SfxMedium;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment