diff options
author | Tor Lillqvist <tml@collabora.com> | 2015-04-28 23:09:13 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2015-04-30 07:27:52 +0300 |
commit | d883c12556a71c5d3719454b1f95809a505f0ace (patch) | |
tree | 6f0c1cc518a3727db95b72d609ec9db793041b20 /drawinglayer | |
parent | d1ca0f4ed0e30394ce6759a20d4896651dd43051 (diff) |
Get rid of the initial :: for the vcl namespace
We used it all over the place without leading :: already anyway, even
in many files in include. So let's be consistent. In the majority of
cases, prefer the easier-on-the-eyes choice, not the "safe" one.
In those files in include where *all* existing uses of ::vcl:: indeed
used the :: prefix, there let's keep it for consistency.
Change-Id: If99cb41d3bf290d38c601d91125c3c8d935e61d0
Diffstat (limited to 'drawinglayer')
-rw-r--r-- | drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx | 4 | ||||
-rw-r--r-- | drawinglayer/source/tools/converters.cxx | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx b/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx index 4c8df82cf393..fb4402b4a7cd 100644 --- a/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx +++ b/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx @@ -728,7 +728,7 @@ namespace drawinglayer Adding support... OOps, the necessary helper stuff is in svx/source/form/formpdxexport.cxx in namespace svxform. Have to talk to FS if this has to be like that. Especially since - ::vcl::PDFWriter::AnyWidget is filled out, which is already part of vcl. + vcl::PDFWriter::AnyWidget is filled out, which is already part of vcl. Wrote an eMail to FS, he is on vacation currently. I see no reason why not to move that stuff to somewhere else, maybe tools or svtools ?!? We will see... Moved to toolkit, so i have to link against it. I tried VCL first, but it did @@ -901,7 +901,7 @@ namespace drawinglayer // PDF export. Emulate data handling from UnoControlPDFExportContact // I have now moved describePDFControl to toolkit, thus i can implement the PDF // form control support now as follows - ::std::unique_ptr< ::vcl::PDFWriter::AnyWidget > pPDFControl( + ::std::unique_ptr< vcl::PDFWriter::AnyWidget > pPDFControl( ::toolkitform::describePDFControl( rXControl, *mpPDFExtOutDevData ) ); if(pPDFControl.get()) diff --git a/drawinglayer/source/tools/converters.cxx b/drawinglayer/source/tools/converters.cxx index 2dd3d9d8d2ee..7f0af9ed3bc3 100644 --- a/drawinglayer/source/tools/converters.cxx +++ b/drawinglayer/source/tools/converters.cxx @@ -103,7 +103,7 @@ namespace drawinglayer if(bDoSaveForVisualControl) { SvFileStream aNew(OUString("c:\\test_content.png"), StreamMode::WRITE|StreamMode::TRUNC); - ::vcl::PNGWriter aPNGWriter(aContent); + vcl::PNGWriter aPNGWriter(aContent); aPNGWriter.Write(aNew); } #endif @@ -133,7 +133,7 @@ namespace drawinglayer if(bDoSaveForVisualControl) { SvFileStream aNew(OUString("c:\\test_alpha.png"), StreamMode::WRITE|StreamMode::TRUNC); - ::vcl::PNGWriter aPNGWriter(aAlpha); + vcl::PNGWriter aPNGWriter(aAlpha); aPNGWriter.Write(aNew); } #endif @@ -144,7 +144,7 @@ namespace drawinglayer if(bDoSaveForVisualControl) { SvFileStream aNew(OUString("c:\\test_combined.png"), StreamMode::WRITE|StreamMode::TRUNC); - ::vcl::PNGWriter aPNGWriter(aRetval); + vcl::PNGWriter aPNGWriter(aRetval); aPNGWriter.Write(aNew); } #endif |