summaryrefslogtreecommitdiff
path: root/forms/source/inc/urltransformer.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'forms/source/inc/urltransformer.hxx')
-rw-r--r--forms/source/inc/urltransformer.hxx9
1 files changed, 3 insertions, 6 deletions
diff --git a/forms/source/inc/urltransformer.hxx b/forms/source/inc/urltransformer.hxx
index 3db4d79ca560..3cfe225945bb 100644
--- a/forms/source/inc/urltransformer.hxx
+++ b/forms/source/inc/urltransformer.hxx
@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-#ifndef INCLUDED_FORMS_SOURCE_INC_URLTRANSFORMER_HXX
-#define INCLUDED_FORMS_SOURCE_INC_URLTRANSFORMER_HXX
+#pragma once
#include <com/sun/star/util/XURLTransformer.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
@@ -50,10 +49,10 @@ namespace frm
css::util::URL
getStrictURLFromAscii( const char* _pAsciiURL ) const;
- /** parses a given URL smartly, with a protocol given by ASCII string
+ /** parses a given URL smartly, with a given protocol
*/
void
- parseSmartWithAsciiProtocol( css::util::URL& _rURL, const char* _pAsciiURL ) const;
+ parseSmartWithProtocol( css::util::URL& _rURL, const OUString& _rProtocol ) const;
private:
/** ensures that we have a URLTransformer instance in <member>m_xTransformer</member>
@@ -68,6 +67,4 @@ namespace frm
} // namespace frm
-#endif // INCLUDED_FORMS_SOURCE_INC_URLTRANSFORMER_HXX
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */