summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-10-01 20:12:42 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-10-02 11:43:04 +0100
commitf7f421670206d265024a99da6bc1ad8781c30c99 (patch)
tree24e990a0d03a5cde3febad7fc10292a0236acc36 /sfx2
parentb95a901089ac096131bb6a4fe9c1f1346ffdde6f (diff)
remove some UniString::GetBuffer
Change-Id: I808026a6f593b0251ee107d27e7ca12d55b2d0a0
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/bastyp/progress.cxx2
-rw-r--r--sfx2/source/doc/docfile.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/bastyp/progress.cxx b/sfx2/source/bastyp/progress.cxx
index d3a25698ceb2..06661d95f6fc 100644
--- a/sfx2/source/bastyp/progress.cxx
+++ b/sfx2/source/bastyp/progress.cxx
@@ -149,7 +149,7 @@ SfxProgress::SfxProgress
pImp->nCreate = Get10ThSec();
pImp->nNextReschedule = pImp->nCreate;
DBG( DbgOutf( "SfxProgress: created for '%s' at %luds",
- rText.GetBuffer(), pImp->nCreate ) );
+ rText.getStr(), pImp->nCreate ) );
pImp->bAllDocs = bAll;
pImp->pWorkWin = 0;
pImp->pView = 0;
diff --git a/sfx2/source/doc/docfile.cxx b/sfx2/source/doc/docfile.cxx
index 49cb292f50ef..63bbb437ab25 100644
--- a/sfx2/source/doc/docfile.cxx
+++ b/sfx2/source/doc/docfile.cxx
@@ -1049,7 +1049,7 @@ bool SfxMedium::LockOrigFileOnDemand( sal_Bool bLoading, sal_Bool bNoUI )
OUString aPhysPath;
if ( ::utl::LocalFileHelper::ConvertURLToPhysicalName( GetURLObject().GetMainURL( INetURLObject::NO_DECODE ), aPhysPath ) )
- bContentReadonly = IsReadonlyAccordingACL( aPhysPath.GetBuffer() );
+ bContentReadonly = IsReadonlyAccordingACL( aPhysPath.getStr() );
}
#endif