diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-07-25 16:24:31 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-07-25 16:24:31 -0400 |
commit | 3824ec8ea57db309f00b79337c81b7401dc19c58 (patch) | |
tree | 20dd4976b4339190429c7cda0dca463518db6834 /sfx2 | |
parent | 73bc1c8b7a43ce74540556ef458212c1873d9160 (diff) |
Fix the dbgutil build.
Change-Id: Ic6142550a7e76b2b1cd8ff6d53d503d771c32b7c
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/doc/objstor.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/doc/objstor.cxx b/sfx2/source/doc/objstor.cxx index c5645fdfe1f1..ed80ba2a1c64 100644 --- a/sfx2/source/doc/objstor.cxx +++ b/sfx2/source/doc/objstor.cxx @@ -1643,7 +1643,7 @@ sal_Bool SfxObjectShell::SaveTo_Impl else if (!pMedium->GetName().isEmpty() || ( pMedium->HasStorage_Impl() && pMedium->WillDisposeStorageOnClose_Impl() ) ) { - OSL_ENSURE( pMedium->GetName().Len(), "Fallback is used, the medium without name should not dispose the storage!\n" ); + OSL_ENSURE(!pMedium->GetName().isEmpty(), "Fallback is used, the medium without name should not dispose the storage!\n"); // copy storage of old medium to new temporary storage and take this over if( !ConnectTmpStorage_Impl( pMedium->GetStorage(), pMedium ) ) { |