Kaydet (Commit) b3d0987e authored tarafından Kai Ahrens's avatar Kai Ahrens

#89545#: GetMainURL changes (no default parameter anymore)

üst c379f690
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
* *
* $RCSfile: xtabbtmp.cxx,v $ * $RCSfile: xtabbtmp.cxx,v $
* *
* $Revision: 1.7 $ * $Revision: 1.8 $
* *
* last change: $Author: ka $ $Date: 2001-07-30 14:55:06 $ * last change: $Author: ka $ $Date: 2001-07-30 15:03:31 $
* *
* The Contents of this file are made available subject to the terms of * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
...@@ -347,7 +347,7 @@ BOOL XBitmapList::Load() ...@@ -347,7 +347,7 @@ BOOL XBitmapList::Load()
// check if file exists, SfxMedium shows an errorbox else // check if file exists, SfxMedium shows an errorbox else
{ {
com::sun::star::uno::Reference < com::sun::star::task::XInteractionHandler > xHandler; com::sun::star::uno::Reference < com::sun::star::task::XInteractionHandler > xHandler;
SvStream* pIStm = ::utl::UcbStreamHelper::CreateStream( aURL.GetMainURL(), STREAM_READ, xHandler ); SvStream* pIStm = ::utl::UcbStreamHelper::CreateStream( aURL.GetMainURL( INetURLObject::NO_DECODE ), STREAM_READ, xHandler );
sal_Bool bOk = pIStm && ( pIStm->GetError() == 0); sal_Bool bOk = pIStm && ( pIStm->GetError() == 0);
......
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
* *
* $RCSfile: xtabcolr.cxx,v $ * $RCSfile: xtabcolr.cxx,v $
* *
* $Revision: 1.8 $ * $Revision: 1.9 $
* *
* last change: $Author: ka $ $Date: 2001-07-30 14:55:06 $ * last change: $Author: ka $ $Date: 2001-07-30 15:03:31 $
* *
* The Contents of this file are made available subject to the terms of * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
...@@ -168,7 +168,7 @@ BOOL XColorTable::Load() ...@@ -168,7 +168,7 @@ BOOL XColorTable::Load()
// check if file exists, SfxMedium shows an errorbox else // check if file exists, SfxMedium shows an errorbox else
{ {
com::sun::star::uno::Reference < com::sun::star::task::XInteractionHandler > xHandler; com::sun::star::uno::Reference < com::sun::star::task::XInteractionHandler > xHandler;
SvStream* pIStm = ::utl::UcbStreamHelper::CreateStream( aURL.GetMainURL(), STREAM_READ, xHandler ); SvStream* pIStm = ::utl::UcbStreamHelper::CreateStream( aURL.GetMainURL( INetURLObject::NO_DECODE ), STREAM_READ, xHandler );
sal_Bool bOk = pIStm && ( pIStm->GetError() == 0); sal_Bool bOk = pIStm && ( pIStm->GetError() == 0);
......
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
* *
* $RCSfile: xtabdash.cxx,v $ * $RCSfile: xtabdash.cxx,v $
* *
* $Revision: 1.9 $ * $Revision: 1.10 $
* *
* last change: $Author: ka $ $Date: 2001-07-30 14:55:06 $ * last change: $Author: ka $ $Date: 2001-07-30 15:03:31 $
* *
* The Contents of this file are made available subject to the terms of * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
...@@ -361,7 +361,7 @@ BOOL XDashList::Load() ...@@ -361,7 +361,7 @@ BOOL XDashList::Load()
// check if file exists, SfxMedium shows an errorbox else // check if file exists, SfxMedium shows an errorbox else
{ {
com::sun::star::uno::Reference < com::sun::star::task::XInteractionHandler > xHandler; com::sun::star::uno::Reference < com::sun::star::task::XInteractionHandler > xHandler;
SvStream* pIStm = ::utl::UcbStreamHelper::CreateStream( aURL.GetMainURL(), STREAM_READ, xHandler ); SvStream* pIStm = ::utl::UcbStreamHelper::CreateStream( aURL.GetMainURL( INetURLObject::NO_DECODE ), STREAM_READ, xHandler );
sal_Bool bOk = pIStm && ( pIStm->GetError() == 0); sal_Bool bOk = pIStm && ( pIStm->GetError() == 0);
......
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
* *
* $RCSfile: xtabgrdt.cxx,v $ * $RCSfile: xtabgrdt.cxx,v $
* *
* $Revision: 1.9 $ * $Revision: 1.10 $
* *
* last change: $Author: ka $ $Date: 2001-07-30 14:56:00 $ * last change: $Author: ka $ $Date: 2001-07-30 15:04:07 $
* *
* The Contents of this file are made available subject to the terms of * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
...@@ -383,7 +383,7 @@ BOOL XGradientList::Load() ...@@ -383,7 +383,7 @@ BOOL XGradientList::Load()
// check if file exists, SfxMedium shows an errorbox else // check if file exists, SfxMedium shows an errorbox else
{ {
com::sun::star::uno::Reference < com::sun::star::task::XInteractionHandler > xHandler; com::sun::star::uno::Reference < com::sun::star::task::XInteractionHandler > xHandler;
SvStream* pIStm = ::utl::UcbStreamHelper::CreateStream( aURL.GetMainURL(), STREAM_READ, xHandler ); SvStream* pIStm = ::utl::UcbStreamHelper::CreateStream( aURL.GetMainURL( INetURLObject::NO_DECODE ), STREAM_READ, xHandler );
sal_Bool bOk = pIStm && ( pIStm->GetError() == 0); sal_Bool bOk = pIStm && ( pIStm->GetError() == 0);
......
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
* *
* $RCSfile: xtabhtch.cxx,v $ * $RCSfile: xtabhtch.cxx,v $
* *
* $Revision: 1.8 $ * $Revision: 1.9 $
* *
* last change: $Author: ka $ $Date: 2001-07-30 14:56:00 $ * last change: $Author: ka $ $Date: 2001-07-30 15:04:07 $
* *
* The Contents of this file are made available subject to the terms of * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
...@@ -356,7 +356,7 @@ BOOL XHatchList::Load() ...@@ -356,7 +356,7 @@ BOOL XHatchList::Load()
// check if file exists, SfxMedium shows an errorbox else // check if file exists, SfxMedium shows an errorbox else
{ {
com::sun::star::uno::Reference < com::sun::star::task::XInteractionHandler > xHandler; com::sun::star::uno::Reference < com::sun::star::task::XInteractionHandler > xHandler;
SvStream* pIStm = ::utl::UcbStreamHelper::CreateStream( aURL.GetMainURL(), STREAM_READ, xHandler ); SvStream* pIStm = ::utl::UcbStreamHelper::CreateStream( aURL.GetMainURL( INetURLObject::NO_DECODE ), STREAM_READ, xHandler );
sal_Bool bOk = pIStm && ( pIStm->GetError() == 0); sal_Bool bOk = pIStm && ( pIStm->GetError() == 0);
......
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
* *
* $RCSfile: xtablend.cxx,v $ * $RCSfile: xtablend.cxx,v $
* *
* $Revision: 1.8 $ * $Revision: 1.9 $
* *
* last change: $Author: ka $ $Date: 2001-07-30 14:56:00 $ * last change: $Author: ka $ $Date: 2001-07-30 15:04:07 $
* *
* The Contents of this file are made available subject to the terms of * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
...@@ -421,7 +421,7 @@ BOOL XLineEndList::Load() ...@@ -421,7 +421,7 @@ BOOL XLineEndList::Load()
// check if file exists, SfxMedium shows an errorbox else // check if file exists, SfxMedium shows an errorbox else
{ {
com::sun::star::uno::Reference < com::sun::star::task::XInteractionHandler > xHandler; com::sun::star::uno::Reference < com::sun::star::task::XInteractionHandler > xHandler;
SvStream* pIStm = ::utl::UcbStreamHelper::CreateStream( aURL.GetMainURL(), STREAM_READ, xHandler ); SvStream* pIStm = ::utl::UcbStreamHelper::CreateStream( aURL.GetMainURL( INetURLObject::NO_DECODE ), STREAM_READ, xHandler );
sal_Bool bOk = pIStm && ( pIStm->GetError() == 0); sal_Bool bOk = pIStm && ( pIStm->GetError() == 0);
......
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